I put it into "StarterGui" but then realised the time would not be exactly the same. I would like it to be exactly the same. Suggestions?
Script 1 in Workspace
1 | local time = Instance.new( "IntValue" , workspace) |
2 | time.Name = "Timer" |
3 | wait(. 5 ) |
4 | for i = 5 , 0 , - 1 do --Wait 5 seconds, end at 0 seconds, take away one second per second |
5 | wait( 1 ) |
6 | workspace.Timer.Value = i |
7 | end |
8 | --Chunk |
Script 2 in the Gui
1 | local textbox = script.Parent |
2 | local text = workspace.Timer |
3 | while wait() do |
4 | textbox.Text = "Round will begin in " ..text.Value.. " seconds." |
5 | end |
Locked by EzraNehemiah_TF2, Redbullusa, and BlueTaslem
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?