Asked by Tommy

I am trying to figure out how to loop a group of lines. Help?

Answers

Answered by Ness
while true do
(code here)
end
Answered by Tommy
Thanks. Im assuming if i use wait(integar) it would make a wait between looping? yes?
Answered by Ness
That is correct, wait() is the smallest you can do, it is not recommended as it is poorly optimized and can cause crashes or bugs
Answered by Jeff Crowns
Depends on what ur programming, u can use different methods for looping code such as while wait do
well if you want full optimization do
while wait do
wait()
end
end
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions