local function N(N)local U=math.max(0,N)local F=math.floor(U/60)local J=math.floor(U)%60 Timer.Text=string.format("\037\048\050\100\058\037\048\050\100",F,J)end local function U(N,U)Timer.Intermission.Visible=N Timer.WaitingForPlayers.Visible=U end
-- Local Functions
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
