Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Military Clock Converter (but better)
- seconds = 72 -- seconds is now the ONLY input (for a music gui I'm making)
- minutes = 0
- while seconds >= 60 do
- minutes = minutes + 1
- seconds = seconds - 60
- end
- --Line of strings
- if seconds < 10 then
- seconds = "0"..tostring(seconds)
- end
- print(minutes..":"..seconds)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement