Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Which loop/function should I use to make this soccer game timer work a certain way?

for i = 0,60,1 do
    wait(.25)
    script.Parent.Text = tostring(i)
end

I'm trying to make this move as the seconds in a soccer timer. Every 15 seconds another script will go up by 1 (minutes)

I want this to be the seconds, but I want it to also restart after reaching 60.

1 answer

✓ Accepted answer
while true do
for i = 0,60,1 do
    wait(1)
    script.Parent.Text = tostring(i)
end
end

3 comments

0

click accept if it helped

0

You don't need to use tostring()

0

dont put that on my answer, put it on his question /:

This discussion is preserved as it was. New answers, comments, and votes are closed.