So basically I'm making a timer script and it seems to be working, but the problem is when I press play the timer doesn't go down. But when I go to the "current server" thing the timers going down and everything works, and when I got to "current client" it doesn't go down. Can someone help me? This is my code(its 2 scripts)
local Timer = game.StarterGui.ScreenGui.TextLabel
local TimerNumber = game.ServerStorage.Value
local TimerSwitch = game.ServerStorage.TimerSwitch
repeat
wait(1.1)
Timer.Text = TimerNumber.Value
until
TimerSwitch == true
local Timer = game.StarterGui.ScreenGui.TextLabel
local TimerNumber = game.ServerStorage.Value
local function Timer1()
repeat
wait(1)
TimerNumber.Value -= 1
until
TimerNumber.Value <= 0
Timer.Visible = false
end
Timer1()

1 comment
use a remoteevent, more specifically ,the :FireAllClients() command