function TimeManager.StartTimer(c,B)StartTime=tick()Duration=B spawn(function()repeat Time.Value=Duration-(tick()-StartTime)wait()until Time.Value<=0 Time.Value=0 end)end function TimeManager.TimerDone(B)return tick()-StartTime>=Duration end return TimeManager
-- Functions

function TimeManager:StartTimer(duration)
	StartTime = tick()
	Duration = duration
	spawn(function()
		repeat
			Time.Value = Duration - (tick() - StartTime)
			wait()
		until Time.Value <= 0
		Time.Value = 0
	end)
end

function TimeManager:TimerDone()
	return tick() - StartTime >= Duration
end

return TimeManager
