Guest User

Untitled

a guest
Apr 12th, 2020
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. local ClockText = script.Parent:WaitForChild("Clock")
  2.  
  3. local TimeInMinutes = 10
  4. local IntervalTime = 2
  5.  
  6. while wait(IntervalTime) do
  7.     for Time = (TimeInMinutes*60),0,-1 do
  8.         ClockText.Value = ("%02d:%02d"):format(math.floor(Time/60), Time%60)
  9.     wait(1) end
  10.     print("Restarting...")
  11. end
Advertisement
Add Comment
Please, Sign In to add comment