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

How do i make this script to change a color of a trail repeat?

Asked by 6 years ago

I need help, how to repeat the script when it ends?

1game.Workspace.Trail.Color = "Bright blue"
2wait(1)
3game.Workspace.Trail.Color = "Bright red"
4wait(1)
5game.Workpace.Trail.Color = "Yellow"
6--Starts over when it get here.
0
while true do? Nickelz 37 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago
1while true do
2    game.Workspace.Trail.Color = "Bright blue"
3    wait(1)
4    game.Workspace.Trail.Color = "Bright red"
5    wait(1)
6    game.Workpace.Trail.Color = "Yellow"
7    --Starts over when it get here.
8end

while true do Is a "While" Loop function which repeats everything inside the function

0
Why am i so dumb :P AnotherPerson_999 28 — 6y
Ad

Answer this question