1 | for i = 60 , 0 ,- 1 do |
2 | script.Parent.Text = "Time remaining: 3:" ..i |
I'm trying to make it a countdown of 3 minutes, but how do I change the minutes too when the seconds hit 0 and the seconds keep going? For example; 3:00 minutes, 2:59, 2:58, etc. When it hits 2:00, how will I change that? Please help!
Hey, dude!
01 | for i = 60 , 0 ,- 1 do |
02 | script.Parent.Text = "Time remaining: 2:" ..i |
03 | wait( 1 ) |
04 | end |
05 | for i = 60 , 0 ,- 1 do |
06 | script.Parent.Text = "Time remaining: 1:" ..i |
07 | wait( 1 ) |
08 | end |
09 | for i = 60 , 0 ,- 1 do |
10 | script.Parent.Text = "Time remaining: :" ..i |
11 | wait( 1 ) |
12 | end |
There, edited.