Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ClockText = script.Parent:WaitForChild("Clock")
- local TimeInMinutes = 10
- local IntervalTime = 2
- while wait(IntervalTime) do
- for Time = (TimeInMinutes*60),0,-1 do
- ClockText.Value = ("%02d:%02d"):format(math.floor(Time/60), Time%60)
- wait(1) end
- print("Restarting...")
- end
Advertisement
Add Comment
Please, Sign In to add comment