Soulv3
|
  |
| Joined: 26 Apr 2014 |
| Total Posts: 63 |
|
|
| 26 Jun 2014 12:30 PM |
I want it so I can have 2 zeros on the Seconds, Minutes, and Hours variable, but it didn't work for me, I tried different ways.
hint = Instance.new("Hint", Workspace) s = 0 m = 0 h = 0
repeat hint.Text = "Server Time: " .. h .. ":" .. m .. ":" ..s wait(1) s = s +1 if s == 60 then s = 0 m = 1 end if m == 60 then m = 0 h = 1 end until false
*I Put 2 0's in my variables but didn't work either* |
|
|
| Report Abuse |
|
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
| |
|
|
| 26 Jun 2014 12:32 PM |
Just make another varible that stays as 0.
"Server Time: " .. h ..otherVariable.. ":" .. m ..otherVariable.. ":" ..s..otherVariable |
|
|
| Report Abuse |
|
|
Soulv3
|
  |
| Joined: 26 Apr 2014 |
| Total Posts: 63 |
|
|
| 26 Jun 2014 12:42 PM |
^^^^ how would that work? When it reaches to 60 and there is another variable, i'd have to change it to if s2 == 0 then but evert 10 seconds is a zero |
|
|
| Report Abuse |
|
|