how do I make a successful repeat and until loop? what did i do wrong in my code? I did
repeat
move forward()
until(tick{2}
)
I tried
repeat
move forward()
until{2}
)
here's the actual result: the character moved sideways only 1 space once not one space every 2 seconds. here's what i was expecting: the character moved sideways every 2 seconds
Lua
repeathas a simple SyntaxOutput of above
OK - Simpliest is to have a Function to repeat that returns either
trueorfalsethan...Or