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

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

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.

6 comments

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?

0

LocalScript located in a frame

0

You there?

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

0

Threres already a repeat wait line and no it's not disabled until then

0

You spelled "Local[[PL]]yer | The error is marked in Square Brackets

1 answer

✓ Accepted answer

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

1 comment

0

OMG I DID THANK YOU SO MUCH!!!!

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