function DisplayManager.trackTimer(S)local e=coroutine.create(function()while S:isRunning()do timeLeft.Value=math.floor(S:getTimeLeft()+1)wait(1)end end)coroutine.resume(e)end return DisplayManager

function DisplayManager.trackTimer(myTimer)
	local thread = coroutine.create(function()
		while myTimer:isRunning() do
			-- Reminder: Adding +1 makes sure the timer display ends at 1 instead of 0. 
			timeLeft.Value = (math.floor(myTimer:getTimeLeft() + 1))
			wait(1)
		end
	end)
	coroutine.resume(thread)
end

return DisplayManager
