StarterPlayerScripts is not a valid member of StarterPlayer?

I get this error:
StarterPlayerScripts is not a valid member of StarterPlayer

Heres the code:

local script = game.StarterPlayer.StarterPlayerScripts.SetCoreOff

and heres the directory:
image

local scripts inside of StarterPlayerScripts automatically go to the players PlayerScript directory, editing the starterplayerscripts in a server wont do anything

I have no Idea what your talking about. Can you explain.

you should do some research into starterplayer, StarterPlayer | Roblox Creator Documentation

1 Like

It means when the player joins, the script goes into the PlayerScripts folder under the player, similar to StarterGui

1 Like