Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Repeat script help?

Asked by 10 years ago

Whenever I die, my while true do statement restarts. I don't want it to restart, help?

0
What is the script you are using? If you could post it I can provide you with more information about your situation. lomo0987 250 — 10y

2 answers

Log in to vote
0
Answered by 10 years ago

Well if it restarts, when it has found what it needs before you could use break then end

Whats the condition?

Or you want it to continue then insert the script inside the Player. Only insert it in the character if you plan for it to erase when they die.

Ad
Log in to vote
-1
Answered by 10 years ago
while true do
--Script goes here
end

this will let it repeat unlimited times

Answer this question