Hi, I have recently started creating a racing game in Roblox. In said racing game, there is a short intermission before the race starts. I want to make it so that the text in a GUI changes every five seconds to tell the players when the race is starting. I have already started typing a script, but it doesn't work? Here it is:
game.StarterGui.ScreenGui.TextLabel.Text = "The race is starting soon."
wait(5)
game.StarterGui.ScreenGui.TextLabel.Text = "Get to your cars!"
wait(5)
game.StarterGui.ScreenGui.TextLabel.Text = "The race is starting!"
I don't really understand why it doesn't work.

1 comment
I actually tried to put the script in serverscriptservice, because right after the stop light needs to change colors.