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

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

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.

1 comment

0

while true do?

1 answer

✓ Accepted answer
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

1 comment

0

Why am i so dumb :P

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