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

How to make Script that when it ends it restarts ?

How to make a script that restarts after it reaches the end ?

1 comment

0

That would be a Loop, I believe.

2 answers

The answer is you need you make a "while true do" and second we help people with their scripts not give scripts.

While true do
Print("please learn the basics")
End

3 comments

0

can you give me an example ?

0

Sure I'll edit

0

Do not use the Caps in script(unless it is a Variable)

Using the Loops

In this case, you would use a Loop. There are many loops, here is one For example:

while true do--this is a While true do Loop
	wait()--do add a Wait() in this loop
	print("Hi")
end

This will keep looping until it becomes false.

2 comments

0

thanks

0

Just accept answer if this helped.

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