I deleted this post character limit

I deleted this post character limit

2 Likes

I mean, Tick does that but if you really wanted to, just make a variable and run a loop every second that adds to that variable.

1 Like

I deleted this post character limit

1 Like

I think it will just count one , am I wrong or true ?

1 Like

No, while loops stop with break

1 Like

The risk of using wait() that is occasionally inaccurate, this happens with my stopwatch when it says 30 seconds have passed while actually 32 seconds have already passed. This accumulating makes it much less accurate, but you can still use it if you like. But you shouldn’t use it to compare with other players timer because the wait() will be different.

It’s safer to use tick or some method that lets you measure the time between when timer started and current time.

On phone so excuse bad format:

local currentTime = tick()
while true do
currentTime = tick()
wait()
end

This is the most efficient and accurate way of doing this I believe.