Hello there, (omg what is that title)
For the past couple of months I wanted to make a while wait() do loop that would stop itself using the break() function.
I obviously know that if I do this script:
while wait(0.5) do
print("hello")
end
wait(5)
break()
It wouldn't work, so I want to learn how to use that function CORRECTLY, and learn how to break loops after a certain amount of time.
Help would be appreciated!
-Fragmentation123

1 comment
breakis a keyword, not a function. It is used similarly toreturn.