Hello, Im making loops and my studio its lagging, my questions its Should i use:
while true do end
or
while wait(0) do
...Thank you very much
Hello, Im making loops and my studio its lagging, my questions its Should i use:
while true do end
or
while wait(0) do
...Thank you very much
while true do
end
while wait() do
end
Loops can lag your game. Just a few loop wont unless you're doing something stressful in the loop
Good Luck!
If "while true do" loops don't work, you can always revert back to the good ol' "if then else" loop. Hope this helps!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
What? If then else are parts of a conditional statement, not a loop.