I've been working on this game for 1 week. And now I have a problem with repeat until. My code is like this:
1 | while true do |
2 |
3 | wait( 10 ) |
4 |
5 | *** |
1 | repeat wait() until game.Workspace.Events.END.Event |
2 |
3 | end |
And it just ignored the loop. What happened!?
Because it's already exists.
Repeat loops until the condition is truthy. Your condition was truthy, so it "skipped" the loop.