I couldn’t find the one I was talking about but this seems like it should work just as well:
local TimeToStop = 86400 --Amount of seconds in one day (So it would be for daily)
function Format(Int)
return string.format("%02i", Int)
end
function convertToHMS(Seconds)
local Minutes = (Seconds - Seconds%60)/60
Seconds = Seconds - Minutes*60
local Hours = (Minutes - Minutes%60)/60
Minutes = Minutes - Hours*60
return Format(Hours)..":".. Format(Minutes)..":"..Format(Seconds)
end
Now all thats left to do is set the text to Format(TimeToStop)
Link to post: