What would be the best way to go about synchronizing a timer with every player and having a local gui display the time?
So far I have a timer that 'works', but each player's timer is thrown off depending on when they joined the game.
Script in StarterGUI
local TextLabel = script.Parent
local seconds = game.Workspace.seconds.Value
local minutes = game.Workspace.minutes.Value
while true do
if seconds == 60 then
minutes = minutes + 1
seconds = 0
else
seconds = seconds + 1
end
print(minutes .. " minutes " .. seconds .. " seconds")
TextLabel.Text = string.format("%.2d:%.2d", minute, ticks)
wait(1)
end

1 comment
Handle the time on the server and not the client, ez solution.