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.

0
Put the whole script block that contains that line here. That line, on its own, should *always* work in a LocalScript. adark 5487 — 10y
0
I think it was that i wasnt putting it into backpack. It works fine now. Zerio920 285 — 10y

1 answer

Log in to vote
1
Answered by
adark 5487 Badge of Merit Moderation Voter Community Moderator
10 years ago

Are you using that line in a LocalScript?

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

0
Yeah it's in a localscript. Doesn't work most of the time. Zerio920 285 — 10y
Ad

Answer this question