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

Theres a problem that keeps happening to me could someone help me fast I really wanna get this done?

Asked by 6 years ago

I'm trying to add in SpookHD's Intro Gui into my game but the error message "LocalPLayer is not a valid member of Players" keeps showing up I've rewritten it about 3 or 4 times now and it's getting frustrating.

0
I was wondering what your script looked like? It's probably trying to locate something that isn't there. Is it a local script? is it located in a player? deputychicken 226 — 6y
0
LocalScript located in a frame hottiypottie -8 — 6y
0
You there? hottiypottie -8 — 6y
0
Is the script disabled until the gui is in the player? OR you can add a line like " repeat wait() until game.Players.LocalPlayer" but that will make the script cause lag in StarterGui Bellyrium 310 — 6y
View all comments (2 more)
0
Threres already a repeat wait line and no it's not disabled until then hottiypottie -8 — 6y
0
You spelled "Local[[PL]]yer | The error is marked in Square Brackets VenomiZeD_VamqireXz 111 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

It seems that you typed LocalPLayer and check spell, because the LocalPLayer must be LocalPlayer because thats an "Object", if you type LocalPLayer then it is not in the properties of the Player you were looking for, instead its looking for a player named LocalPLayer and that makes a lot of sense

game.Players.LocalPlayer --Note too spell right
0
OMG I DID THANK YOU SO MUCH!!!! hottiypottie -8 — 6y
Ad

Answer this question