How to achieve the maximum speed the Roblox engine could get without loss of performance?

task.wait() is very slow, is there a way to even get faster than that?

You can connec to the RunService.Stepped event for server events and physics, and the RenderStepped event for framerate based events such as GUIs.

I thought that is equivalent to task.wait()?

task.wait() sleeps the current thread until the next execution tick which is similar but Stepped and Heartbeat let you control whether that happens before or after physics are calculated.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.