Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Repeat script help?

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

1 comment

0

What is the script you are using? If you could post it I can provide you with more information about your situation.

2 answers

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.

while true do
--Script goes here
end

this will let it repeat unlimited times

This discussion is preserved as it was. New answers, comments, and votes are closed.