Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My Timer Works until intermission is over?

Asked by 4 years ago
Edited 4 years ago

**My Timer Works until intermission is over, then it goes into negatives and doesn't restart to set number. it resets from 2 minutes, when it gets to 1 minute it racks up to 3 minutes then 2 minutes then 6 minutes etc... **

Output has no error related to timer

01local timer = script.Parent
02local minutes = 0
03local seconds = 9
04local timerQuota = 10
05 
06while true do
07 
08    repeat
09    if seconds <= 0 then
10        minutes = minutes - 1
11        seconds = 59
12    else
13        seconds = seconds - 1
14    end
15    if seconds <= 9  then
View all 34 lines...

Answer this question