Hi, I've been having trouble with having my game timer show up on every player's screen. Can anyone help me with all the players seeing the same time? Here's my script that didn't work:
local timertag = Instance.new("NumberValue",workspace)
timertag.Value = 200
timertag.Name = "TimerTag"
function tag()
timertag.Value = timertag.Value - 1
end
repeat wait() until game:WaitForChild("Players")
for _, player in pairs(game.Players:GetChildren()) do
while timertag.Value > 0 do
tag() player.PlayerGui.ScreenGui.TextLabel.Text = "Time left: "..timertag.Value
wait(1)
end
end

1 comment
Thank you so much <3