- Memory category
- Instances
- Own members
- 202
- Inherited members
- 75
- Subclasses
- 0
- Siblings
- 608
Properties96
Property categoryBehavior
- Determines if an
Instanceand its descendants can be cloned usingInstance:Clone(), and can be saved/published. - Deprecated: This deprecated property is a variant of
Instance.Archivablewhich should be used instead.Use Archivable instead.
Property categoryData
Property categoryPermissions
- The set of capabilities allowed to be used for scripts inside this container.
- Indicates whether the instance is inside a sandboxed container.
- When enabled, the instance can only access abilities in its
Capabilitieslist.
Property categoryBehavior
Property categoryCamera
Player.CameraMaxZoomDistance: number The maximum distance the player's camera is allowed to zoom out.Player.CameraMinZoomDistance: number The minimum distance the player's camera is allowed to zoom in.Player.CameraMode: Enum.CameraMode Changes the camera's mode to either first or third person.Player.DevCameraOcclusionMode: Enum.DevCameraOcclusionMode Sets how the default camera handles objects between the camera and the player.Player.DevComputerCameraMode: Enum.DevComputerCameraMovementMode Determines player's camera movement mode when using a device with a mouse and keyboard.Player.DevEnableMouseLock: boolean Determines if the player can toggle mouse lock.Player.DevTouchCameraMode: Enum.DevTouchCameraMovementMode Determines player's camera movement mode when using a touch-enabled device.Player.HealthDisplayDistance: number Sets the distance at which this player will see other players' health bars.Player.NameDisplayDistance: number Sets the distance at which this player will see other players' names.
Property categoryControl
Player.DevComputerMovementMode: Enum.DevComputerMovementMode Determines player's character movement mode when using a device with a mouse and keyboard.Player.DevTouchMovementMode: Enum.DevTouchMovementMode Determines player's character movement mode when using a touch-enabled device.
Property categoryData
Player.AccountAge: number Describes the player's account age in days.Player.AccountAgeReplicate: number Player.AgeChecked: Enum.AgeCheckStatus Indicates whether the player has completed an age verification check.Player.AutoJumpEnabled: boolean Determines whether the character of a player using a mobile device will automatically jump upon hitting an obstacle.Player.CameraFieldOfView: number Player.CameraFrustumRequested: boolean Player.CameraViewportSize: Vector2 Player.Character: Model Player.CharacterAppearanceId: number Determines the user ID of the account whose character appearance is used for a player'sCharacter.Player.ChararacterRegionId: Vector3 Player.ChatAvailabilityStatus: string Player.ChatMode: Enum.ChatMode Player.ChatPrivacyMode: Enum.ChatPrivacyMode Player.CloudEditCameraCoordinateFrame: CFrame Player.CloudEditPlayerActive: boolean Player.CountryRegionCodeReplicate: string Player.DisplayName: string The display name of the authenticated user associated with thePlayer.Player.FollowUserId: number Describes the user ID of the player who was followed into an experience by a player.Player.FollowUserIdReplicated: number Player.FrustumStreaming: Enum.FrustumStreamingMode Controls the engine's instance streaming behavior for the player's camera view.Player.Guest: boolean Player.HasRobloxSubscription: boolean Indicates whether the player has an active Roblox subscription.Player.HasVerifiedBadge: boolean Indicates if a player has a Verified badge.Player.InputLatency: number Latency used by the Server Authority netcode system.Player.InternalCharacterAppearanceLoaded: boolean Player.LocaleId: string This property shows the locale ID that the local player has set for their Roblox account.Player.MaximumSimulationRadius: number Player.MaxSimulationRadius: number Player.MembershipType: Enum.MembershipType Describes the account's membership type.Player.MembershipTypeReplicate: Enum.MembershipType Player.NeedRegionalFallback: boolean Player.OsPlatform: string Player.PartyId: string A unique identifier of the party aPlayerbelongs to.Player.PendingRequestedTool: Instance Player.PlatformName: string Player.RawJoinData: string Player.ReplicationFocus: Instance Sets the part to focus replication around.Player.RespawnLocation: SpawnLocation If set, the player will respawn at the givenSpawnLocation.Player.SimulationRadius: number Player.StepIdOffset: number Offset between client and server used by the Server Authority system.Player.SuperSafeChatReplicate: boolean Player.Teleported: boolean Player.TeleportedIn: boolean Player.ThirdPartyTextChatRestrictionStatus: Enum.ChatRestrictionStatus A read-only value reflecting the player's text-chat restriction status as reported by a third-party platform.Player.UnfilteredChat: boolean Player.User: User TheUserrepresenting this player's domain-scoped identity within the current experience.Player.UserId: number A unique identifying integer assigned to all user accounts.Player.UserIdModeReplicate: Enum.UserIdMode Player.VoiceChatVolume: number Player.VRDevice: string Player.VREnabled: boolean Player.AppearanceDidLoad: boolean Player.CharacterAppearance: string Deprecated: This item is deprecated. Do not use it for new work.
The URL of the asset containing the character's appearance, clothing, and gear.Use CharacterAppearanceId instead.
Player.DataComplexity: number Deprecated: This item is deprecated, as it may have been used for a now obsolete data persistence method. Please save and load player data usingDataStoreServicefor new work.
The total amount of data currently being stored in the player's cache on the current place.Player.DataComplexityLimit: number Player.DataReady: boolean Deprecated: This item is deprecated, as it may have been used for a now obsolete data persistence method. Please save and load player data usingDataStoreServicefor new work.
Indicates when the player's data is available to load.Player.userId: number Deprecated: This property is a deprecated variant ofPlayer.UserIdwhich should be used instead.Use UserId instead.
Property categoryTeam
Player.Neutral: boolean Determines whether the player is on a specific team.Player.Team: Team Determines theTeamwith which the player is associated.Player.TeamColor: BrickColor Determines theTeamwith which the player is associated with according to that team'sTeam.TeamColor.
No properties match the filters.
Methods134
Object:GetPropertyChangedSignal( property: string): RBXScriptSignal Get an event that fires when a given property of the object changes.Parameters Parameter Description property: stringThe property to connect to.Returns Type Description RBXScriptSignalA signal that fires whenever the property changes.- Returns true if an object's class matches or inherits from a given class.
Parameters Parameter Description className: stringThe class against which the Object's class will be checked. Case-sensitive.Returns Type Description booleanDescribes whether the Object's class matched or is a subclass of the given class. - Deprecated: This deprecated function is a variant of
Object:IsA()which should be used instead.Parameters Parameter className: stringReturns Type booleanUse IsA instead.
- Applies a tag to the instance.
Parameters Parameter Description tag: stringThe tag to apply to the instance. - This method destroys all of an instance's children.
- Create a copy of an instance and all its descendants, ignoring instances that are not
Archivable.Returns Type Description InstanceA copy of the instance, ornilif the instance is notArchivable. - Sets the
Instance.Parentproperty tonil, locks theInstance.Parentproperty, disconnects all connections, and callsDestroy()on all children. Instance:FindFirstAncestor( name: string): Instance Returns the first ancestor of theInstancewhoseInstance.Nameis equal to the given name.Parameters Parameter Description name: stringTheInstance.Nameto be looked for.Instance:FindFirstAncestorOfClass( className: string): Instance Returns the first ancestor of theInstancewhoseObject.ClassNameis equal to the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstAncestorWhichIsA( className: string): Instance Returns the first ancestor of theInstancefor whomObject:IsA()returns true for the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstChild( name: string, recursive: boolean? = false): Instance Returns the first child of theInstancefound with the given name.Parameters Parameter Description name: stringTheInstance.Nameto be searched for.recursive: boolean? = falseWhether or not the search should be conducted recursively.Instance:FindFirstChildOfClass( className: string): Instance Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstChildWhichIsA(className: string,recursive: boolean? = false,): Instance Returns the first child of theInstancefor whomObject:IsA()returns true for the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be searched for.recursive: boolean? = falseWhether or not the search should be conducted recursively.Instance:FindFirstDescendant( name: string): Instance Returns the first descendant found with the givenInstance.Name.Parameters Parameter Description name: stringTheInstance.Nameto search for.- Returns the
Actorassociated with the Instance, if any. Instance:GetAttribute( attribute: string): any Returns the value which has been assigned to the given attribute name.Parameters Parameter Description attribute: stringThe name of the attribute being retrieved.Returns Type Description anyThe value which has been assigned to the given attribute name. If no attribute has been assigned,nilis returned.Instance:GetAttributeChangedSignal( attribute: string): RBXScriptSignal Returns an event that fires when the given attribute changes.Parameters Parameter Description attribute: stringThe name of the specified attribute for which the change signal is being returned.Returns Type Description RBXScriptSignalAn event that fires when the given attribute changes.- Returns a dictionary of the instance's attributes.
Returns Type Description { [string]: any }A dictionary of string → variant pairs for each attribute where the string is the name of the attribute and the variant is a non-nil value. - Returns an array containing all of the instance's children.
Returns Type Description { Instance }An array containing the instance's children. Instance:GetDebugId( scopeLength: number? = 4): string Returns a coded string of the debug ID used internally by Roblox.Parameters Parameter Description scopeLength: number? = 4The scope length.Returns Type Description stringThe Debug ID string.- Returns an array containing all of the descendants of the instance.
Returns Type Description { Instance }An array containing the instance's descendants. - Returns a string describing the instance's ancestry.
- Returns the styled or explicitly modified value of the specified property, or else the default property value if it hasn't been styled/modified.
Parameters Parameter Description name: stringName of the property to query.selector: string?Optional selector for the pseudo instance you are targeting on the instance.Returns Type Description anyThe styled or explicitly modified value of the specified property, or else the default property value if it hasn't been styled/modified. Instance:GetStyledPropertyChangedSignal( property: string): RBXScriptSignal Returns an event that fires when the given style property changes on the instance.Parameters Parameter Description property: stringName of the style property for which to listen for changes.Returns Type Description RBXScriptSignalEvent that fires when the given style property changes.- Gets an array of all tags applied to the instance.
Returns Type Description { any }An array of strings, each representing a tag applied to the instance. - Check whether the instance has a given tag.
Parameters Parameter Description tag: stringThe tag to check for on the instance.Returns Type Description booleantrueif the instance has the given tag,falseotherwise. Instance:IsAncestorOf( descendant: Instance): boolean Returns true if anInstanceis an ancestor of the given descendant.Instance:IsDescendantOf( ancestor: Instance): boolean Returnstrueif anInstanceis a descendant of the given ancestor.Instance:IsPropertyModified( property: string): boolean Returnstrueif the value stored in the specified property is not equal to the code-instantiated default.Parameters Parameter Description property: stringName of the property to query.Returns Type Description booleanBoolean indicating whether the property is modified from its code‑instantiated default.Instance:QueryDescendants( selector: string): { Instance } Returns an array containing all descendants of the instance that match theselectorstring.Parameters Parameter Description selector: stringSelector string used to filter elements.Returns Type Description { Instance }An array of instances (empty if nothing matched the selector).- Removes a tag from the instance.
Parameters Parameter Description tag: stringThe tag to remove from the instance. Instance:ResetPropertyToDefault( property: string) Resets a property to its default value.Parameters Parameter Description property: stringName of the property to reset.Instance:SetAttribute( attribute: string, value: any) Sets the attribute with the given name to the given value.Instance:WaitForChild( childName: string, timeOut: number): Instance Returns the child of theInstancewith the given name. If the child does not exist, it will yield the current thread until it does.Parameters Parameter Description childName: stringTheInstance.Nameto be looked for.timeOut: numberAn optional time out parameter.- Deprecated: This item is deprecated in favor of
Instance:Destroy()andInstance:ClearAllChildren(). If you must remove an object from the game, and wish to use the object later, set itsParentproperty tonilinstead of using this method.
Sets the object'sParenttonil, and does the same for all its descendants. - Deprecated: This item has been superseded by
Instance:GetChildren()which should be used in all new work.
Returns an array of the object's children.Returns Type Description { Instance }Array of child objects/instances.Use GetChildren instead.
- Deprecated: This deprecated function is a variant of
Instance:Clone()which should be used instead.Returns Type InstanceUse Clone instead.
- Deprecated: This deprecated function is a variant of
Instance:Destroy()which should be used instead.Use Destroy instead.
Instance:findFirstChild( name: string, recursive: boolean? = false): Instance Deprecated: This deprecated function is a variant ofInstance:FindFirstChild()which should be used instead.Returns Type InstanceUse FindFirstChild instead.
- Deprecated: This deprecated function is a variant of
Instance:GetChildren()which should be used instead.Returns Type { Instance }Use GetChildren instead.
Instance:isDescendantOf( ancestor: Instance): boolean Deprecated: This deprecated function is a variant ofInstance:IsDescendantOf()which should be used instead.Parameters Parameter ancestor: InstanceReturns Type booleanUse IsDescendantOf instead.
- Deprecated: This deprecated function is a variant of
Instance:Remove()which has also been deprecated. Neither function should be used in new work.Use Remove instead.
Player:AddReplicationFocus( part: BasePart) Adds an additional replication focus for the player.Player:AddToBlockList( userIds: { any }) Parameters Parameter userIds: { any }- Clears the cached avatar appearance for the player, forcing a fresh fetch from the backend on the next respawn.
- Removes all accessories and other character appearance objects from a player's
Character. - Returns the distance between the character's head and the given
Vector3, or0if the player has no character.Parameters Parameter Description point: Vector3The location from which player's distance to is being measured.Returns Type Description numberThe distance in studs between the player and the location. Player:GetBlockListInitialized( ): boolean Returns Type booleanPlayer:GetCameraState( ): { [string]: any } Returns a dictionary containing the player's current camera state.Returns Type Description { [string]: any }Player:GetCanManageAsync( ): boolean Returns Type booleanPlayer:GetData( ): PlayerData Returns Type PlayerDataPlayer:GetFriendsInServerAsync( ): { any } Returns Type { any }Player:GetFriendsInUniverseAsync( ): { any } Returns Type { any }- Returns a dictionary of online friends.
Parameters Parameter Description maxFriends: number? = 200The maximum number of online friends to return.Returns Type Description { any }A dictionary of online friends (see the table above). Player:GetFriendStatus( player: Player): Enum.FriendStatus Parameters Parameter player: PlayerReturns Type Enum.FriendStatusPlayer:GetFriendsWhoPlayedAsync( ): { any } Returns the user IDs of friends who have previously joined this experience.Returns Type Description { any }An array of user IDs.Player:GetGameSessionID( ): string Returns Type stringPlayer:GetGlobalUserId( ): number Returns Type numberPlayer:GetJoinData( ): { [string]: any } Returns a dictionary containing information describing how the player joins the experience.Returns Type Description { [string]: any }A dictionary containing PlaceId and UserId values (see table in description).Player:GetMouse( ): Mouse Returns the mouse being used by the client.Player:GetNetworkPing( ): number Returns the round-trip, isolated network latency in seconds.Returns Type Description numberThe round-trip network latency of the player in seconds.Player:GetSeatRequested( ): Instance Returns Type InstancePlayer:GetToolRequested( ): Instance Returns Type InstancePlayer:GetUnder13( ): boolean Returns Type booleanPlayer:HasAppearanceLoaded( ): boolean Returns whether or not the appearance of the player's character has loaded.Returns Type Description booleanA boolean indicating whether or not the appearance of the player's character has loaded.Parameters Parameter fromPlayer: numberReturns Type boolean- Checks whether a player is a friend of the user with the given
Player.UserId.Parameters Parameter Description userId: UserThePlayer.UserIdof the specified player.Returns Type Description booleanA boolean indicating whether a player is a friend of the specified user. - Checks whether a player is a member of a group with the given ID.
Parameters Parameter Description groupId: numberThe group ID of the specified group.Returns Type Description booleanA boolean indicating whether the player is in the specified group. Player:IsVerified( level: Enum.VerifiedLevel? = Enum.VerifiedLevel.Low): boolean Returns whether the player meets the specified verification level.Parameters Parameter Description level: Enum.VerifiedLevel? = Enum.VerifiedLevel.LowThe verification level to check. Defaults toVerifiedLevel.Low.Returns Type Description booleanA boolean indicating whether the player meets the specified verification level.Player:Kick( message: string? = "") Forcibly disconnect a player from the experience, optionally providing a message.Parameters Parameter Description message: string? = ""The message to show the user upon kicking.Player:LoadCharacterWithAvatarRulesAsync( avatarRules: any) Parameters Parameter avatarRules: anyPlayer:LoadCharacterWithHumanoidDescriptionAsync(humanoidDescription: HumanoidDescription,assetTypeVerification: Enum.AssetTypeVerification? = Enum.AssetTypeVerification.Default,) Spawns a player character with everything equipped in the passed inHumanoidDescription.Parameters Parameter Description humanoidDescription: HumanoidDescriptionAHumanoidDescriptioncontaining traits like body parts/colors, body scaling, accessories, clothing, and animations that will be equipped to the loaded character.assetTypeVerification: Enum.AssetTypeVerification? = Enum.AssetTypeVerification.DefaultThe asset type verification mode.- Causes the player's character to walk in the given direction until stopped, or interrupted by the player (by using their controls).
- Prompts the player to complete age verification.
Player:PromptSecurityChallengeAsync( ): boolean Returns Type booleanPlayer:RemoveReplicationFocus( part: BasePart) Removes a previously added replication focus.Player:RequestFriendship( player: Player) Parameters Parameter player: PlayerPlayer:RequestSeat( instance: Instance) Parameters Parameter instance: Instance- Requests that the server stream to the player around the specified location.
Parameters Parameter Description position: Vector3World location where streaming is requested.timeOut: number? = 0Optional timeout for the request, the maximum duration that the engine attempts to stream regions around thepositionparameter before abandoning the request. If you don't specify a value, the timeout is effectively infinite. However, if the client is low on memory, the engine abandons all streaming requests, even those that are still within the timeout duration. Player:RequestTool( instance: Instance) Parameters Parameter instance: InstancePlayer:RevokeFriendship( player: Player) Parameters Parameter player: PlayerPlayer:SetAccountAge( accountAge: number) Sets theAccountAgeof the player.Parameters Parameter Description accountAge: numberThe age of the account in days.Player:SetCharacterAppearanceJson( jsonBlob: string) Parameters Parameter jsonBlob: stringPlayer:SetChatTranslationSettingsLocaleId( locale: string) Parameters Parameter locale: stringPlayer:SetExperienceSettingsLocaleId( locale: string) Parameters Parameter locale: stringPlayer:SetHasRobloxSubscription( hasRobloxSubscription: boolean) Parameters Parameter hasRobloxSubscription: booleanPlayer:SetMembershipType( membershipType: Enum.MembershipType) Parameters Parameter membershipType: Enum.MembershipTypePlayer:SetModerationAccessKey( moderationAccessKey: string) Parameters Parameter moderationAccessKey: stringPlayer:SetSuperSafeChat( value: boolean) Sets whether or not the player sees filtered chats, rather than normal chats.Parameters Parameter Description value: booleanA boolean indicating whether or not the player sees filtered chat.- Deprecated: This method has been superseded by
GetFriendsOnlineAsync().
Returns a dictionary of online friends.Parameters Parameter Description maxFriends: number? = 200The maximum number of online friends to return.Returns Type Description { any }A dictionary of online friends (see the table above).Use GetFriendsOnlineAsync instead.
- Deprecated: This method has been superseded by
GetRankInGroupAsync().
Returns the player's rank in the group as an integer.Parameters Parameter Description groupId: numberThegroupIdof the specified group.Returns Type Description numberThe player's rank in the group.Use GetRankInGroupAsync instead.
- Deprecated: This method returns only the rank value of the member's highest public role. Use
GroupService:GetRolesInGroupAsync()instead, which returns all public roles.
Returns the player's rank in the group as an integer.Parameters Parameter Description groupId: numberThegroupIdof the specified group.Returns Type Description numberThe player's rank in the group.Use GetRolesInGroupAsync instead.
- Deprecated: This method has been superseded by
GetRoleInGroup().
Returns the player's role in the group as a string, orGuestif the player isn't part of the group.Parameters Parameter Description groupId: numberThe group ID of the specified group.Returns Type Description stringThe player's role in the specified group, orGuestif the player is not a member.Use GetRoleInGroupAsync instead.
- Deprecated: This method returns only the member's highest public role. Use
GroupService:GetRolesInGroupAsync()instead, which returns all public roles.
Returns the player's role in the group as a string, orGuestif the player isn't part of the group.Parameters Parameter Description groupId: numberThe group ID of the specified group.Returns Type Description stringThe player's role in the specified group, orGuestif the player is not a member.Use GetRolesInGroupAsync instead.
- Deprecated: This function is obsolete because the "best friends" feature was removed. Use
Player:IsFriendsWithAsync()instead.
Returns whether a player is friends with the specified user.Parameters Parameter Description userId: UserThePlayer.UserIdof the user to check friendship with.Returns Type Description booleanA boolean indicating whether the player is friends with the specified user. - Deprecated: This method has been superseded by the
Player:IsFriendsWithAsync()method which should be used for new work.
Checks whether a player is a friend of the user with the givenParameters Parameter Description userId: UserThePlayer.UserIdof the specified player.Returns Type Description booleanA boolean indicating whether a player is a friend of the specified user.Use IsFriendsWithAsync instead.
- Deprecated: This method has been superseded by
IsInGroupAsync().
Checks whether a player is a member of a group with the given ID.Parameters Parameter Description groupId: numberThe group ID of the specified group.Returns Type Description booleanA boolean indicating whether the player is in the specified group.Use IsInGroupAsync instead.
- Deprecated: This item is deprecated, as it may have been used for a now obsolete data persistence method. Please save and load player data using
DataStoreServicefor new work.
Returns a boolean value that was previously saved to the player withPlayer:SaveBoolean()with the same key.Parameters Parameter Description key: stringThe string key under which the boolean was previously saved.Returns Type Description booleanThe saved boolean value, orfalseif the key does not exist. - Deprecated: This method has been superseded by
LoadCharacterAsync().
Creates a new character for the player, removing the old one. Also clears the player'sBackpackandPlayerGui.Use LoadCharacterAsync instead.
Player:LoadCharacterAppearance( assetInstance: Instance) Deprecated: This method is deprecated. Do not use it for new work.
Places the given instance either in the player's character, head, or StarterGear based on the instance's class.Parameters Parameter Description assetInstance: InstanceAn instance of the asset being loaded, which can be obtained using theInsertService:LoadAsset()function.Player:LoadCharacterWithHumanoidDescription(humanoidDescription: HumanoidDescription,assetTypeVerification: Enum.AssetTypeVerification? = Enum.AssetTypeVerification.Default,) Deprecated: This method has been superseded byLoadCharacterWithHumanoidDescriptionAsync().
Spawns a player character with everything equipped in the passed inHumanoidDescription.Parameters Parameter Description humanoidDescription: HumanoidDescriptionAHumanoidDescriptioncontaining traits like body parts/colors, body scaling, accessories, clothing, and animations that will be equipped to the loaded character.assetTypeVerification: Enum.AssetTypeVerification? = Enum.AssetTypeVerification.DefaultThe asset type verification mode.Use LoadCharacterWithHumanoidDescriptionAsync instead.
- Deprecated: This item is deprecated, as it may have been used for a now obsolete data persistence method. Please save and load player data using
DataStoreServicefor new work.
Returns an instance that was previously saved to the player withPlayer:SaveInstance()with the same key.Parameters Parameter Description key: stringThe string key under which the instance was previously saved. - Deprecated: This item is deprecated, as it may have been used for a now obsolete data persistence method. Please save and load player data using
DataStoreServicefor new work.
Returns a number value that was previously saved to the player.Parameters Parameter Description key: stringThe string key under which the number was previously saved.Returns Type Description numberThe saved number value, or0if the key does not exist. - Deprecated: This item is deprecated, as it may have been used for a now obsolete data persistence method. Please save and load player data using
DataStoreServicefor new work.
Returns a string value that was previously saved to the player.Parameters Parameter Description key: stringThe string key under which the string was previously saved.Returns Type Description stringThe saved string value, or an empty string if the key does not exist. - Deprecated: This item is deprecated, as it may have been used for a now obsolete data persistence method. Please save and load player data using
DataStoreServicefor new work.
Used to save a boolean value that can be loaded again at a later time usingPlayer:LoadBoolean(). - Deprecated: This item is deprecated, as it may have been used for a now obsolete data persistence method. Please save and load player data using
DataStoreServicefor new work.
Saves an instance which can be loaded again at a later time. - Deprecated: This item is deprecated, as it may have been used for a now obsolete data persistence method. Please save and load player data using
DataStoreServicefor new work.
Saves a number value that can be loaded again at a later time using. - Deprecated: This item is deprecated, as it may have been used for a now obsolete data persistence method. Please save and load player data using
DataStoreServicefor new work.
Saves a string value that can be loaded again at a later time. Player:SetUnder13( value: boolean) Parameters Parameter value: booleanPlayer:WaitForDataReady( ): boolean Deprecated: This item is deprecated, as it may have been used for a now obsolete data persistence method. Please save and load player data usingDataStoreServicefor new work.
Used to pause the script until the player's data is available to manipulate, or until a certain amount of time has elapsed without fetching the player's data.Returns Type Description booleanA boolean indicating whether the player's data loaded successfully.- Deprecated: This method has been superseded by the
Player:IsFriendsWithAsync()method which should be used for new work.Parameters Parameter userId: UserReturns Type booleanUse IsFriendsWith instead.
- Deprecated: This deprecated function is a variant of
Player:LoadBoolean()which has also been deprecated. Neither function should be used in new work.Parameters Parameter key: stringReturns Type booleanUse LoadBoolean instead.
- Deprecated: This deprecated function is a variant of
Player:LoadInstance()which has also been deprecated. Neither function should be used in new work.Parameters Parameter key: stringReturns Type InstanceUse LoadInstance instead.
- Deprecated: This deprecated function is a variant of
Player:LoadNumber()which has also been deprecated. Neither function should be used in new work.Parameters Parameter key: stringReturns Type numberUse LoadNumber instead.
- Deprecated: This function is a deprecated variant of
Player:LoadString()which has also been deprecated. Neither function should be used in new work.Parameters Parameter key: stringReturns Type stringUse LoadString instead.
- Deprecated: This function is a deprecated variant of
Player:SaveBoolean()which has also been deprecated. Neither function should be used in new work.Use SaveBoolean instead.
- Deprecated: This function is a deprecated variant of
Player:SaveInstance()which has also been deprecated. Neither function should be used in new work.Use SaveInstance instead.
- Deprecated: This function is a deprecated variant of
Player:SaveNumber()which has also been deprecated. Neither function should be used in new work.Use SaveNumber instead.
- Deprecated: This function is a deprecated variant of
Player:SaveString()which has also been deprecated. Neither function should be used in new work.Use SaveString instead.
Player:waitForDataReady( ): boolean Deprecated: This function is a deprecated variant ofPlayer:WaitForDataReady()which has also been deprecated. Neither function should be used in new work.Returns Type booleanUse WaitForDataReady instead.
No methods match the filters.
Events47
Object.Changed: RBXScriptSignal<( property: string)> Fires immediately after a property of the object changes, with some limitations.Parameters Parameter property: string
Instance.AncestryChanged: RBXScriptSignal<( child: Instance, parent: Instance)> Fires when theInstance.Parentproperty of this object or one of its ancestors is changed.Instance.AttributeChanged: RBXScriptSignal<( attribute: string)> Fires whenever an attribute is changed on theInstance.Parameters Parameter attribute: stringInstance.ChildAdded: RBXScriptSignal<( child: Instance)> Fires after an object is parented to thisInstance.Parameters Parameter child: InstanceInstance.ChildRemoved: RBXScriptSignal<( child: Instance)> Fires after a child is removed from thisInstance.Parameters Parameter child: InstanceInstance.DescendantAdded: RBXScriptSignal<( descendant: Instance)> Fires after a descendant is added to theInstance.Parameters Parameter descendant: InstanceInstance.DescendantRemoving: RBXScriptSignal<( descendant: Instance)> Fires immediately before a descendant of theInstanceis removed.Parameters Parameter descendant: Instance- Fires immediately before (or is deferred until after) the instance is destroyed via
Instance:Destroy(). - Fires whenever any style property is changed on the instance, including when a property is set to
nil. Instance.childAdded: RBXScriptSignal<( child: Instance)> Deprecated: This deprecated event is a variant ofInstance.ChildAddedwhich should be used instead.Parameters Parameter child: InstanceUse ChildAdded instead.
Player.BlockListChanged: RBXScriptSignal<( )> Player.CharacterAdded: RBXScriptSignal<( character: Model)> Fires when a player's character spawns or respawns.Parameters Parameter character: ModelPlayer.CharacterAppearanceLoaded: RBXScriptSignal<( character: Model)> Fires when the full appearance of aCharacterhas been inserted.Parameters Parameter character: ModelPlayer.CharacterRemoving: RBXScriptSignal<( character: Model)> Fires right before a player's character is removed.Parameters Parameter character: ModelPlayer.Chatted: RBXScriptSignal<( message: string, recipient: Player)> Fires when a player chats in experience using Roblox's provided chat bar.Player.CloudEditSelectionChanged: RBXScriptSignal<( newSelection: { any })> Parameters Parameter newSelection: { any }Player.EmotesLoaded: RBXScriptSignal<( )> Player.FriendStatusChanged: RBXScriptSignal<(player: Player,friendStatus: Enum.FriendStatus,)> Parameters Parameter player: PlayerfriendStatus: Enum.FriendStatusPlayer.Idled: RBXScriptSignal<( time: number)> This event fires approximately two minutes after the engine classifies the player as idle. Time is the number of seconds that have elapsed since that point.Parameters Parameter time: numberPlayer.InstancePinned: RBXScriptSignal<( uniqueIdString: string, depth: number)> Player.InstanceUnpinned: RBXScriptSignal<(uniqueIdString: string,depth: number,)> Player.Kill: RBXScriptSignal<( )> Player.NotifyAgeCheckPassedReplicated: RBXScriptSignal<( )> Player.NotifyStreamingUnpinned: RBXScriptSignal<(instance: Instance,depth: number,)> Player.OnTeleport: RBXScriptSignal<(teleportState: Enum.TeleportState,placeId: number,spawnName: string,)> Fires when the teleport state of a player changes.Parameters Parameter teleportState: Enum.TeleportStateplaceId: numberspawnName: stringPlayer.OnTeleportInternal: RBXScriptSignal<(teleportState: Enum.TeleportState,teleportInfo: { [string]: any },customLoadingScreen: Instance,)> Parameters Parameter teleportState: Enum.TeleportStateteleportInfo: { [string]: any }customLoadingScreen: InstancePlayer.OverrideStreamRadii: RBXScriptSignal<(minRadius: number,targetRadius: number,)> Player.PauseTeleports: RBXScriptSignal<( )> Player.PlayerCharacterLoaded: RBXScriptSignal<( metrics: { [string]: any })> Parameters Parameter metrics: { [string]: any }Player.PlayerChatTranslationSettingsLocaleSetFromLua: RBXScriptSignal<( newLocaleId: string)> Parameters Parameter newLocaleId: stringPlayer.PlayerExperienceSettingsLocaleSetFromLua: RBXScriptSignal<( newLocaleId: string)> Parameters Parameter newLocaleId: stringPlayer.RemoteFriendRequestSignal: RBXScriptSignal<(otherUserId: number,eventType: Enum.FriendRequestEvent,)> Parameters Parameter otherUserId: numbereventType: Enum.FriendRequestEventPlayer.RemoteInsert: RBXScriptSignal<( url: string, position: Vector3)> Player.RequestStreamingPin: RBXScriptSignal<( instance: Instance, depth: number)> Player.RequestStreamingPinByUniqueId: RBXScriptSignal<(uniqueIdString: string,depth: number,)> Player.ScopeCheckInitiated: RBXScriptSignal<(guid: string,serializedScopes: { any },metadata: { [string]: any },)> Parameters Parameter guid: stringserializedScopes: { any }metadata: { [string]: any }Player.ScriptSecurityError: RBXScriptSignal<(hash: string,error: string,stack: string,)> Player.SendCameraFrustum: RBXScriptSignal<( pv: ReplicationPV)> Parameters Parameter pv: ReplicationPVPlayer.SendMaxClientBandwidthBps: RBXScriptSignal<( bandwidthBps: number)> Parameters Parameter bandwidthBps: numberPlayer.ServerToClientUnfilteredChatReplicate: RBXScriptSignal<( value: boolean)> Parameters Parameter value: booleanPlayer.ServerUpdatedHead: RBXScriptSignal<(assetType: Enum.AssetType,assetId: number,)> Parameters Parameter assetType: Enum.AssetTypeassetId: numberPlayer.SetShutdownMessage: RBXScriptSignal<(message: string,metadata: { [string]: any },)> Parameters Parameter message: stringmetadata: { [string]: any }Player.SimulationRadiusChanged: RBXScriptSignal<( radius: number)> Parameters Parameter radius: numberPlayer.StatsAvailable: RBXScriptSignal<( info: string)> Parameters Parameter info: stringPlayer.StreamingPinComplete: RBXScriptSignal<( instance: Instance)> Parameters Parameter instance: InstancePlayer.UnpinStreaming: RBXScriptSignal<( instance: Instance, depth: number)> Player.iradDebugServerReceivedIradRequest: RBXScriptSignal<(minRadius: number,targetRadius: number,interfaceExists: boolean,)>
No events match the filters.