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

Whats the smallest wait besides using RenderStepped?

Asked by
R_alatch 394 Moderation Voter
6 years ago

I would use RenderStepped, but it requires a LocalScript, and I don't wanna use that.

0
If you need to wait smaller then every frame, then I think your game would have a lot of lag. hiimgoodpack 2009 — 6y

2 answers

Log in to vote
0
Answered by
lukeb50 631 Moderation Voter
6 years ago
Edited 6 years ago

Short answer is wait(), Long answer is don't do it.

there is an article on the blog that talks about the usage of wait() in many games and how this is unnecessary and creates a huge amount of unneeded lag. I would highly recommend you read it before doing anything.

blog.roblox.com/2012/05/using-wait-wisely/

0
Use those link blocks correctly. hiimgoodpack 2009 — 6y
0
I tried. Its not responding to any formating lukeb50 631 — 6y
0
Do [Click here](blog.roblox.com/2012/05/using-wait-wisely/) hiimgoodpack 2009 — 6y
Ad
Log in to vote
0
Answered by 6 years ago

You could try:

game:GetService("RunService").Heartbeat:wait()

Answer this question