--minutes.Changed:Connect(function(int)
--	if seconds > 9 then
--		script.Parent.Text = tostring(minutes.Value)..":"tostring(seconds)
--	else
--		script.Parent.Text = tostring(minutes.Value)..":0"tostring(seconds)
--	end
--end)


seconds.Changed:Connect(function(int)
	if seconds.Value <= 0 and minutes.Value <= 0 then
		return
	end
	if seconds.Value > 9 then
		script.Parent.Text = tostring(minutes.Value)..":"..tostring(seconds.Value)
	else
		script.Parent.Text = tostring(minutes.Value)..":0"..tostring(seconds.Value)
	end
end)

while wait(1) do
	if minutes.Value > 0 and seconds.Value == 0 then
		minutes.Value -= 1
		seconds.Value = 59
		continue
	end
	if seconds.Value > 0 then
		seconds.Value -= 1
	end
end
