Using this for a timer I'm making.
So say for example, I have a script read a number from a value object, holding an amount of seconds. Then the script would print in the output the amount of minutes:seconds that would equal. I'm having trouble thinking of something that can do that. Help is appreciated.

4 comments
Thanks! Really saved a lot of time ;)
You could make this better by using 'string.format("%.2d", seconds)' - that way you turn your 'timerDisplayText' into something like this:
Whoops. Forgot comments can only be one line. Like I was saying, you could turn it into: local timerDisplayText = string.format("%.2d:%.2d", math.floor(time/60), time%60)
String patterns are beyond me in all honesty.