Skip to content

StarterPlayerScripts

Supported Class Scripting & Networking NotCreatable

A container for objects to be copied to a Player's PlayerScripts when they join a game.

Description

StarterPlayerScripts is a container object located within the StarterPlayer service. It can contain LocalScripts and other objects to be copied to the PlayerScripts container once when a Player joins the game. For example, if you want to create special effects on the client when certain conditions are met, you can place a LocalScript within this container to do that.

When an experience is run, this object will also house the default multi-platform Roblox control scripts for the camera and character. If LocalScripts named CameraScript or ControlScript are placed within this container, they will replace the Roblox defaults for those scripts respectively. If desired, you can add empty LocalScripts for each of these to disable them altogether; this is useful for experiences that do not follow the typical control paradigms of a Roblox experience.

Inheritance

Object → Instance → StarterPlayerScripts

Nova inheritance: Instance → StarterPlayerScripts

Known subclasses: StarterCharacterScripts

Inherited members

Inherited from Instance: 8 properties, 36 methods, 7 events. They are documented on the base class page.

Roblox reference: StarterPlayerScripts

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.