#Is there any way to make a timer with no delay at all?

1 messages · Page 1 of 1 (latest)

naive fjord
#
    local timer = 1
    local startTime = tick()
    while tick() - startTime < timer do
        task.wait()
    end
``` is a code that just have a one frame delay i believe, but i dont like the thought of making your fps lower to make it slower, specially when i use a really short timer that repeats often.
dense holly
#

:3

fallow warren
#

💀

naive fjord
#

oh, wow. Can you explain it though?

dense holly
#

Oh wait mb

dense holly
#

I suck at explaining

fallow warren
#

which waits for at least one frame

naive fjord
dense holly
#

Yes what he said

#

Also

#

How do i take my thingy down

fallow warren
#

so a better way is to use task.wait(timer)

dense holly
#

💀

fallow warren
#

hold shift over ur text 😭

naive fjord
dense holly
#

there

fallow warren
#

all good?

naive fjord
#

Yeah

#

Thank you

#

:)