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

How to make Script that when it ends it restarts ?

Asked by 9 years ago

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

0
That would be a Loop, I believe. woodengop 1134 — 9y

2 answers

Log in to vote
0
Answered by 9 years ago

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
0
can you give me an example ? alaingomez100 0 — 9y
0
Sure I'll edit Ewarr1011 0 — 9y
0
Do not use the Caps in script(unless it is a Variable) woodengop 1134 — 9y
Ad
Log in to vote
0
Answered by
woodengop 1134 Moderation Voter
9 years ago

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.

0
thanks alaingomez100 0 — 9y
0
Just accept answer if this helped. woodengop 1134 — 9y

Answer this question