Hi…
I’ve been trying to achieve a system where I convert a raw integer countdown into a minutes:seconds system. It works fine, but when the timer’s seconds reaches below 10, I don’t know how to add a zero before the number.
while true do
local ms = workspace.Time.Value
local seconds = (ms % 60) < 10 and "0"..(ms%60) or (ms%60)
script.Parent.Text = math.floor(ms / 60)..":" ..seconds
wait()
end