It’s all in the title, what is the difference between StarterPlayerScripts and StarterCharacterScripts?
The difference is that scripts inside StarterPlayerScripts
are cloned inside Player.PlayerScripts
when a player joins. For StarterCharacterScripts
script are parented to character model when a player character is added.
Serverscripts inside StarterPlayerScripts
doesn’t work because Player.PlayerScripts
folder doesn’t exist on server because it doesn’t replicate.
Scripts inside StarterCharacterScripts
are cloned and run from start again every time character respawns.
I believe StarterPlayerScripts can only run local scripts while StarterCharacterScripts can run server scripts
In StarterPlayerScripts
everything you put inside will be cloned inside the Player
in the game.Players
.
In StarterCharacterScripts
everything you put inside will be closed inside the Player's Character
in game.Workspace