Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rep = game:GetService("ReplicatedStorage")
- local players = game:GetService("Players")
- local minutesvalue = rep:WaitForChild("Minutes")
- local secondsvalue = rep:WaitForChild("Seconds")
- local minutes = 0 --minutes
- local seconds = 19 --seconds
- while true do
- minutesvalue.Value = minutes
- secondsvalue.Value = seconds
- repeat
- if secondsvalue.Value <= 0 then
- minutesvalue.Value = minutesvalue.Value - 1
- secondsvalue.Value = 59
- else
- secondsvalue.Value = secondsvalue.Value - 1
- end
- wait(1)
- until secondsvalue.Value <= 0 and minutesvalue.Value <= 0
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement