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

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.

2 comments

0

Put the whole script block that contains that line here. That line, on its own, should always work in a LocalScript.

0

I think it was that i wasnt putting it into backpack. It works fine now.

1 answer

✓ Accepted answer

Are you using that line in a LocalScript?

Trying to use it from a script won't work, you have to use a LocalScript.

1 comment

0

Yeah it's in a localscript. Doesn't work most of the time.

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