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

Which is more efficient? RenderStepped or While Wait() Do?

Asked by 6 years ago

Which would be more efficient to use? RenderStepped or While Wait() Do? Since they both look like they do the same thing.

0
RenderStepped fires every time each frame of the clients FPS has ran, so in this case it would be good, but what if the client was lagging? On the other hand, `wait` runs when the server's "FPS"(?) has ran/gets an opening. TheeDeathCaster 2368 — 6y
0
RenderStepped should only be used when the code should do something with visuals, such as Guis or Camera movement. For part movement, you can use Stepped or Heartbeat instead. RubenKan 3615 — 6y

Answer this question