for i = 30,1,-1 do
for i,v in pairs(game.Players:GetPlayers))) do
v.PlayerGui.Intermission.Countdown.Text = "Intermission: " ..i
end
wait(1)
end
This is the script i create to make the countdown go from 30 to 1, but what if instead of having the number 30 i wanted the format to be like 0:30, or maybe i even wanted 2 whole minutes, how could i make it in the format of 2:00, rather than 120? I have tried almost everything and still could not succeed, could anyone help, show, and explain to me how to do this?

1 comment
If you want to do more than a minute, you'd have to store minutes and seconds in seperate variables. Other than that, you'd have to format the string like ("Intermission: 0:" .. i) or ("Intermission: " .. min .. ":" .. sec).