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

Why does renderstepped only work sometimes?

Asked by
Zerio920 285 Moderation Voter
10 years ago

I use this

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

As a wait but it only seems to work some of the time.

It's in a localscript btw so I don't think that's the problem. I keep getting the error that it can only be used in a localscript for some reason. The localscript is inside a server script that copies the script into every new player if that info helps.

1 answer

Log in to vote
0
Answered by 10 years ago

the event RenderStepped only works in localscripts so if it is in a server-sided script then it will not work.

0
It is in a localscript though, but inside a server script. Zerio920 285 — 10y
0
oh btw localscripts only work in the playgui, and tools or aka backpack DragonSkyye 517 — 10y
Ad

Answer this question