local Inter = game.StarterGui.ScreenGui.TextLabel.Intermission
Inter.Value = 15
while true do
Inter.Parent.Text = Inter.Value
wait(1)
Inter.Value = Inter.Value -1
end
scripts are in server storage
local Inter = game.StarterGui.ScreenGui.TextLabel.Intermission
Inter.Value = 15
while true do
Inter.Parent.Text = Inter.Value
wait(1)
Inter.Value = Inter.Value -1
end
scripts are in server storage
You put a script inside ServerStorage which would not run. Instead, put the script inside the TextLabel.
local inter = script.Parent.Intermission
inter.Value = 15
while true do
inter.Value = inter.Value - 1
inter.Parent.Text = tostring(inter.Value)
wait(1)
end
Also, you have to use the tostring() function as the script would error because gui text is string-only, and you used a number.
This discussion is preserved as it was. New answers, comments, and votes are closed.