Ad
Log in to vote
0

How to make Script that when it ends it restarts ?

Asked by 7 years ago

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

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

2 answers

Log in to vote
0
Answered by 7 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 — 7y
0
Sure I'll edit Ewarr1011 0 — 7y
0
Do not use the Caps in script(unless it is a Variable) woodengop 1134 — 7y
Ad
Log in to vote
0
Answered by
woodengop 1134 Moderation Voter
7 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 — 7y
0
Just accept answer if this helped. woodengop 1134 — 7y

Answer this question