Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why does renderstepped only work sometimes?

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

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

2 comments

0

It is in a localscript though, but inside a server script.

0

oh btw localscripts only work in the playgui, and tools or aka backpack

This discussion is preserved as it was. New answers, comments, and votes are closed.