I'm trying to figure out how to make a intermission for my game. Like on my gui I want it to say "Intermission: (time)". But i'm not sure how to do that.
Help?
I'm trying to figure out how to make a intermission for my game. Like on my gui I want it to say "Intermission: (time)". But i'm not sure how to do that.
Help?
local time = game.Workspace.Timer.Value
script.Parent.Text = = "Intermission: ("..time..")"
This would be in the text label.
You would need another script to change the Timer value.
local i = 60
wait(1)
while i > 0 do
wait(1)
script.Parent.Value = script.Parent.Value -1
i = i + 1
end
Gui.Text = "Intermission: (time)"
This isn't what i'm asking for.
Yes it is. Like on my gui I want it to say "Intermission: (time)". But i'm not sure how to do that. Help?
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
You don't need another script. You could also use coroutines in case you want to keep it in one script.