Something
public lua v1 · immutable--First make a variable collide=false--Now our functionfunction collision() if x1 + (half of the width) == x2 then collide=true endend--What the main loop should look likeWhile true do collision() if collide==true then score = score +1 endend