I need help, how to repeat the script when it ends?
game.Workspace.Trail.Color = "Bright blue"
wait(1)
game.Workspace.Trail.Color = "Bright red"
wait(1)
game.Workpace.Trail.Color = "Yellow"
--Starts over when it get here.
I need help, how to repeat the script when it ends?
game.Workspace.Trail.Color = "Bright blue"
wait(1)
game.Workspace.Trail.Color = "Bright red"
wait(1)
game.Workpace.Trail.Color = "Yellow"
--Starts over when it get here.
while true do
game.Workspace.Trail.Color = "Bright blue"
wait(1)
game.Workspace.Trail.Color = "Bright red"
wait(1)
game.Workpace.Trail.Color = "Yellow"
--Starts over when it get here.
end
while true do Is a "While" Loop function which repeats everything inside the function
Why am i so dumb :P
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
while true do?