Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

What is faster than wait() in a regular script?

Asked by 4 years ago
Edited 4 years ago

I need it for a game i am making. I can't use

runservice = game:GetService("RunService")
runservice.Renderstepped:Wait()

because it cannot be used in scripts, only localscripts.

2 answers

Log in to vote
0
Answered by 4 years ago

In a script, RunService.Stepped is the fastest.

0
As said above, this is only privy to the local machine, as the FPS and system clock are affiliated to it. Ziffixture 6913 — 4y
Ad
Log in to vote
0
Answered by 4 years ago

Hello. game:GetService("RunService").Heartbeat is faster than wait().

Answer this question