Title says it all, is there anything that is smaller than wait()?
Uhh im not kinda sure of this one but i think that RunService and to be more precise the Heartbeat function offers less delay than the wait() function
game:GetService("RunService").Heartbeat:Wait()
If you are looking for a function with similar functionality to wait()
I’d probably say task.wait()
. It is a more accurate version of it.
However if you want something to be used as a loop
I’d recommend looking into HeartBeat
and RenderStepped
.
1 Like
An alternative to what @Bad_Scripterr said, you can use task.wait(0)
(the 0 is optional, and when no argument is provided it will default to 0). This is equivalent to the behavior achieved from the long handed Heartbeat:Wait()
method.
1 Like