I'd recommend using the "for i = #, # +1 do" loop. You can pretty much use any loop you want but that would be the most efficent, in my opinion.
for i = 1, 10 +1 do -- i is the number you start with & 10 is the number the timer will stop at
wait(1) -- wait one second before repeating the loop
print(i) -- i = the amount of times the loop has been repeated
end
So if you want to make a 60 second timer you can replace the top line with:
for i=1, 60 +1 do
And of course you can replace "print(i)" with any chunk of code you want. |