Class
StarterPlayerScripts
NotCreatable
A container for objects to be copied to a Player's PlayerScripts when they join a game.
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.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild