georgeba
|
  |
| Joined: 29 Oct 2011 |
| Total Posts: 1092 |
|
|
| 03 Jan 2015 11:17 PM |
for i = minutes, 1, -1 do for i = 1, (seconds+1) do CHECKSOMETHING() CHECKSOMETHING() if seconds < 10 then CHECKSOMETHING() h.Value = minutes..":0"..seconds.." Until Cure is Complete" else CHECKSOMETHING() h.Value = minutes..":"..seconds.." Until Cure is Complete " end seconds = seconds - timercountdown.Value wait(1) end seconds = 59 minutes = minutes - 1 end
So in workspace there is a IntValue called timercountdown but my problem is that if the number is > 1 it messes up. This is what it does (say it's 3)
1:11 1:08 1:05 1:02 1:02-5
Or something around those lines.
|
|
|
| Report Abuse |
|
|
georgeba
|
  |
| Joined: 29 Oct 2011 |
| Total Posts: 1092 |
|
| |
|
georgeba
|
  |
| Joined: 29 Oct 2011 |
| Total Posts: 1092 |
|
|
| 04 Jan 2015 12:30 AM |
| Help, REALLY need to fix this. |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Jan 2015 12:42 AM |
| Tell me again, so is the problem that it goes into negative numbers instead of stopping or looping back around, or what? |
|
|
| Report Abuse |
|
|
|
| 04 Jan 2015 12:43 AM |
| Also explain what your script is suppose to do, so I know what I'm going for. |
|
|
| Report Abuse |
|
|
georgeba
|
  |
| Joined: 29 Oct 2011 |
| Total Posts: 1092 |
|
|
| 04 Jan 2015 01:34 AM |
| It goes into negative numbers instead of keeping going down. The script is also like a timer. How much time is left in-game |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|