hi there, I had a timer script that will output a timer like this screenshot.
here is the code.
for i = GameLength, 0, -1 do
local minutes = math.floor(i / 60)
local seconds = i - (minutes * 60)
Status.Value = (minutes..":"..seconds)
wait(1)
end
so my question is how to make the timer more intuitive by adding a 0 after counting down from 10. like this screenshot.
thanks

1 comment
thanks for the answer. it works.