Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local CurrentY = 62
- function moveUp()
- print("true")
- CurrentY = CurrentY + 1
- end
- function moveDown()
- print("false")
- CurrentY = CurrentY - 1
- end
- if (CurrentY ~= Y1) then
- while (CurrentY ~= Y1) do
- a = (CurrentY < Y1) and moveUp() or moveDown()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment