PlayerScripts
PlayerScripts : Instance
Overview
PlayerScripts are client-only containers that are automatically created when a player joins the game. They are located under the Player instance within the Players service and serve as the location for running client-side scripts.
When a player joins the game, all LocalScripts in StarterPlayerScripts under the StarterPlayer service are copied into PlayerScripts once and only once.
The LocalScripts inside this container run on the client associated with that player, and the server cannot access this container directly. Therefore, server-side scripts placed here will not run.
Properties
Methods
Events
Last updated