How do I make a digital clock-like countdown system?

I am working on a game where I will need to countdown time, and I have a time value which does this! I need to know how it is possible to present it like a digital clock. E.g. Input is 67, the integer and output is 1:07. Thank you so much!

1 Like

You can do this:

local timeFormat = os.date("%M:%S", 67)
warn(timeFormat )
3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.