local function N(N)local T=math.max(0,N)local g=math.floor(T/60)local r=math.floor(T)%60 Timer.Text=string.format("\037\048\050\100\058\037\048\050\100",g,r)end local function T(N,T)Timer.Intermission.Visible=N Timer.WaitingForPlayers.Visible=T end

local function OnTimeChanged(newValue)
	local currentTime = math.max(0, newValue)
	local minutes = math.floor(currentTime / 60)-- % 60
	local seconds = math.floor(currentTime) % 60
	Timer.Text = string.format("%02d:%02d", minutes, seconds)
end

local function OnDisplayTimerInfo(intermission, waitingForPlayers)
	Timer.Intermission.Visible = intermission
	Timer.WaitingForPlayers.Visible = waitingForPlayers
end
