Player
An object that represents a presently connected client to the experience.
Memory category | Instances |
---|
Member index 155
Removed member index 19
History | Member | |
---|---|---|
180 | ClanTag: string | |
273 | HasBuildTools: bool | |
273 | PersonalServerRank: int | |
335 | PlayerJoinData: PlayerJoinData | |
310 | BlockUser(player: Instance): string | |
273 | GetWebPersonalServerRank(): string | |
52 | HasBuildPermission(role: BuildPermission): bool | |
535 | IsUserAvailableForExperiment(): bool | |
338 | JumpCharacter(): void | |
338 | MoveCharacter(walkDirection: Vector2, maxWalkDelta: float): void | |
258 | SaveLeaderboardData(): void | |
180 | SetClanTag(newClanTag: string): void | |
273 | SetWebPersonalServerRank(rank: int): bool | |
310 | UnblockUser(player: Instance): string | |
90 | HoverOnPlayerChanged(playerHoveredOn: Instance) | |
90 | MouseDownOnPlayer(playerMouseDownOn: Instance) |
Description
A Player
object is a client that is currently connected. These objects are
added to the Players service when a new player connects, then removed
when they eventually disconnect from the server.
The Instance.Name property reflects the player's username. When saving information about a player, you should use their UserId since it is possible that a player can change their username.
There are several similar methods in the Players service for working with Player objects. Use these over their respective Instance methods:
- You can get a table of current
Player
objects using Players:GetPlayers(); again, use this instead of Instance:GetChildren(). - To detect the addition of
Player
objects, it is recommended to use the Players.PlayerAdded event (instead of Instance.ChildAdded on the Players service). - Similarly, you can detect the removal of
Player
objects using Players.PlayerRemoving, which fires just before thePlayer
is removed (instead of Instance.ChildRemoved which fires after). This is important if you are saving information about the player that might be removed or cleaned up on removal.
History 594
- 678 Change Tags of CloudEditSelectionChanged from [Hidden] to []
- 678 Change Security of CloudEditSelectionChanged from RobloxSecurity to RobloxScriptSecurity
- 675 Add
- 675 Add StreamingPinComplete
- 675 Add
- 675 Add
- 675 Add UnpinStreamingForInstance
- 675 Add PinStreamingForInstance
- 672 Add LoadCharacterWithAvatarRules
- 669 Change WriteSecurity of from WritePlayerSecurity to RobloxSecurity
- 666 Add
- 666 Add OverrideStreamingRadii
- 664 Add GetData
- 664 Add
- 663 Add ThirdPartyTextChatRestrictionStatus
- 663 Add StepIdOffset
- 662 Add RemoveReplicationFocusPosition
- 662 Add AddReplicationFocusPosition
- 660 Add RemoveReplicationFocus
- 660 Add AddReplicationFocus
- 624 Change Tags of GetJoinData from [] to [CustomLuaState]
- 623 Remove
- 622 Add
- 611 Add
- 611 Add SetChatTranslationSettingsLocaleId
- 597 Add
- 593 Add SetBlockListInitialized
- 578 Change Tags of DevEnableMouseLock from [Deprecated] to []
- 576 Change Tags of DevEnableMouseLock from [] to [Deprecated]
- 574 Remove
- 574 Remove
- 573 Change ReturnType of saveString from void to null
- 573 Change ReturnType of saveNumber from void to null
- 573 Change ReturnType of saveInstance from void to null
- 573 Change ReturnType of saveBoolean from void to null
- 573 Change ReturnType of UpdatePlayerBlocked from void to null
- 573 Change ReturnType of SetUnder13 from void to null
- 573 Change ReturnType of SetSuperSafeChat from void to null
- 573 Change ReturnType of SetModerationAccessKey from void to null
- 573 Change ReturnType of SetMembershipType from void to null
- 573 Change ReturnType of SetExperienceSettingsLocaleId from void to null
- 573 Change ReturnType of SetCharacterAppearanceJson from void to null
- 573 Change ReturnType of SetAccountAge from void to null
- 573 Change ReturnType of SaveString from void to null
- 573 Change ReturnType of SaveNumber from void to null
- 573 Change ReturnType of SaveInstance from void to null
- 573 Change ReturnType of SaveData from void to null
- 573 Change ReturnType of SaveBoolean from void to null
- 573 Change ReturnType of RevokeFriendship from void to null
- 573 Change ReturnType of RequestStreamAroundAsync from void to null
- 573 Change ReturnType of RequestFriendship from void to null
- 573 Change ReturnType of RemoveCharacter from void to null
- 573 Change ReturnType of Move from void to null
- 573 Change ReturnType of LoadData from void to null
- 573 Change ReturnType of LoadCharacterWithHumanoidDescription from void to null
- 573 Change ReturnType of LoadCharacterBlocking from void to null
- 573 Change ReturnType of LoadCharacterAppearance from void to null
- 573 Change ReturnType of LoadCharacter from void to null
- 573 Change ReturnType of Kick from void to null
- 573 Add IsVerified
- 573 Change ReturnType of ClearCharacterAppearance from void to null
- 573 Change ReturnType of AddToBlockList from void to null
- 562 Change ThreadSafety of GetNetworkPing from Unsafe to Safe
- 557 Add
- 554 Change Default of userId from 0 to
- 554 Change Default of from to
- 554 Change Default of UserId from 0 to
- 554 Change Default of from false to
- 554 Change Default of from false to
- 554 Change Default of from false to
- 554 Change Default of TeamColor from to
- 554 Change Default of Team from to
- 554 Change Default of from false to
- 554 Change Default of from 10 to
- 554 Change Default of RespawnLocation from to
- 554 Change Default of ReplicationFocus from to
- 554 Change Default of from to
- 554 Change Default of from to
- 554 Change Default of from to
- 554 Change Default of from to
- 554 Change Default of from to
- 554 Change Default of Neutral from true to
- 554 Change Default of NameDisplayDistance from 100 to
- 554 Change Default of from None to
- 554 Change Default of MembershipType from None to
- 554 Change Default of from 1000 to
- 554 Change Default of from 0 to
- 554 Change Default of from to
- 554 Change Default of from false to
- 554 Change Default of HealthDisplayDistance from 100 to
- 554 Add HasVerifiedBadge
- 554 Change Default of from false to
- 554 Change Default of GameplayPaused from false to
- 554 Change Default of from 0 to
- 554 Change Default of FollowUserId from 0 to
- 554 Change Default of DisplayName from to
- 554 Change Default of DevTouchMovementMode from UserChoice to
- 554 Change Default of DevTouchCameraMode from UserChoice to
- 554 Change Default of DevEnableMouseLock from true to
- 554 Change Default of DevComputerMovementMode from UserChoice to
- 554 Change Default of DevComputerCameraMode from UserChoice to
- 554 Change Default of DevCameraOcclusionMode from Zoom to
- 554 Change Default of from false to
- 554 Change Default of from 45000 to
- 554 Change Default of from 0 to
- 554 Change Default of from to
- 554 Change Default of from true to
- 554 Change Default of from to
- 554 Change Default of from NoOne to
- 554 Change Default of from TextAndMenu to
- 554 Change Default of from Vector3(NAN, NAN, NAN) to
- 554 Change Default of CharacterAppearanceId from 0 to
- 554 Change Default of CharacterAppearance from to
- 554 Change Default of Character from to
- 554 Change Default of CanLoadCharacterAppearance from true to
- 554 Change Default of CameraMode from Classic to
- 554 Change Default of CameraMinZoomDistance from 0.5 to
- 554 Change Default of CameraMaxZoomDistance from 400 to
- 554 Change Default of AutoJumpEnabled from true to
- 554 Change Default of from false to
- 554 Change Default of from 0 to
- 554 Change Default of AccountAge from 0 to
- 553 Add
- 553 Add
- 553 Add
- 553 Add
- 553 Add
- 553 Add
- 553 Add
- 553 Add
- 553 Add
- 553 Add
- 553 Add
- 553 Add
- 553 Add CloudEditSelectionChanged
- 553 Change PreferredDescriptor of waitForDataReady from to WaitForDataReady
- 553 Change PreferredDescriptor of saveString from to SaveString
- 553 Change PreferredDescriptor of saveNumber from to SaveNumber
- 553 Change PreferredDescriptor of saveInstance from to SaveInstance
- 553 Change PreferredDescriptor of saveBoolean from to SaveBoolean
- 553 Change PreferredDescriptor of loadString from to LoadString
- 553 Change PreferredDescriptor of loadNumber from to LoadNumber
- 553 Change PreferredDescriptor of loadInstance from to LoadInstance
- 553 Change PreferredDescriptor of loadBoolean from to LoadBoolean
- 553 Change PreferredDescriptor of isFriendsWith from to IsFriendsWith
- 553 Change Default of userId from to 0
- 553 Change PreferredDescriptor of userId from to UserId
- 553 Change Default of UserId from to 0
- 553 Change Default of from to false
- 553 Change Default of from to false
- 553 Change Default of from to false
- 553 Change Default of TeamColor from to
- 553 Change Default of Team from to
- 553 Add
- 553 Change Default of from to 10
- 553 Change Default of RespawnLocation from to
- 553 Change Default of ReplicationFocus from to
- 553 Add
- 553 Add
- 553 Add
- 553 Change Default of Neutral from to true
- 553 Change Default of NameDisplayDistance from to 100
- 553 Add
- 553 Change Default of MembershipType from to None
- 553 Change Default of from to 1000
- 553 Add
- 553 Add
- 553 Change Default of HealthDisplayDistance from to 100
- 553 Change Default of from to false
- 553 Change Default of GameplayPaused from to false
- 553 Add
- 553 Change Default of FollowUserId from to 0
- 553 Change Default of DevTouchMovementMode from to UserChoice
- 553 Change Default of DevTouchCameraMode from to UserChoice
- 553 Change Default of DevEnableMouseLock from to true
- 553 Change Default of DevComputerMovementMode from to UserChoice
- 553 Change Default of DevComputerCameraMode from to UserChoice
- 553 Change Default of DevCameraOcclusionMode from to Zoom
- 553 Change Default of from to false
- 553 Change Default of from to 45000
- 553 Change Default of from to 0
- 553 Add
- 553 Add
- 553 Add
- 553 Add
- 553 Change Default of from to TextAndMenu
- 553 Add
- 553 Change Default of CharacterAppearanceId from to 0
- 553 Change PreferredDescriptor of CharacterAppearance from to CharacterAppearanceId
- 553 Change Default of Character from to
- 553 Change Default of CanLoadCharacterAppearance from to true
- 553 Change Default of CameraMode from to Classic
- 553 Change Default of CameraMinZoomDistance from to 0.5
- 553 Change Default of CameraMaxZoomDistance from to 400
- 553 Change Default of AutoJumpEnabled from to true
- 553 Change Default of from to false
- 553 Add
- 553 Change Default of AccountAge from to 0
- 547 Add
- 546 Add SetExperienceSettingsLocaleId
- 538 Add SetModerationAccessKey
- 535 Remove IsUserAvailableForExperiment
- 488 Change ReturnType of GetNetworkPing from int to float
- 486 Change ThreadSafety of userId from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of UserId from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of TeamColor from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Team from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of RespawnLocation from ReadOnly to ReadSafe
- 486 Change ThreadSafety of ReplicationFocus from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Neutral from ReadOnly to ReadSafe
- 486 Change ThreadSafety of NameDisplayDistance from ReadOnly to ReadSafe
- 486 Change ThreadSafety of MembershipType from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of HealthDisplayDistance from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of GameplayPaused from ReadOnly to ReadSafe
- 486 Change ThreadSafety of FollowUserId from ReadOnly to ReadSafe
- 486 Change ThreadSafety of DisplayName from ReadOnly to ReadSafe
- 486 Change ThreadSafety of DevTouchMovementMode from ReadOnly to ReadSafe
- 486 Change ThreadSafety of DevTouchCameraMode from ReadOnly to ReadSafe
- 486 Change ThreadSafety of DevEnableMouseLock from ReadOnly to ReadSafe
- 486 Change ThreadSafety of DevComputerMovementMode from ReadOnly to ReadSafe
- 486 Change ThreadSafety of DevComputerCameraMode from ReadOnly to ReadSafe
- 486 Change ThreadSafety of DevCameraOcclusionMode from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of CharacterAppearanceId from ReadOnly to ReadSafe
- 486 Change ThreadSafety of CharacterAppearance from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Character from ReadOnly to ReadSafe
- 486 Change ThreadSafety of CanLoadCharacterAppearance from ReadOnly to ReadSafe
- 486 Change ThreadSafety of CameraMode from ReadOnly to ReadSafe
- 486 Change ThreadSafety of CameraMinZoomDistance from ReadOnly to ReadSafe
- 486 Change ThreadSafety of CameraMaxZoomDistance from ReadOnly to ReadSafe
- 486 Change ThreadSafety of AutoJumpEnabled from ReadOnly to ReadSafe
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 486 Change ThreadSafety of AccountAge from ReadOnly to ReadSafe
- 483 Change Parameters of FriendStatusChanged from (player: Instance, friendStatus: FriendStatus) to (player: Player, friendStatus: FriendStatus)
- 483 Change Parameters of Chatted from (message: string, recipient: Instance) to (message: string, recipient: Player)
- 483 Change Parameters of CharacterRemoving from (character: Instance) to (character: Model)
- 483 Change Parameters of CharacterAppearanceLoaded from (character: Instance) to (character: Model)
- 483 Change Parameters of CharacterAdded from (character: Instance) to (character: Model)
- 483 Change Parameters of RevokeFriendship from (player: Instance) to (player: Player)
- 483 Change Parameters of RequestFriendship from (player: Instance) to (player: Player)
- 483 Change Parameters of LoadCharacterWithHumanoidDescription from (humanoidDescription: Instance) to (humanoidDescription: HumanoidDescription)
- 483 Change ReturnType of GetMouse from Instance to Mouse
- 483 Change Parameters of GetFriendStatus from (player: Instance) to (player: Player)
- 481 Add GetNetworkPing
- 479 Add SetCharacterAppearanceJson
- 469 Change Tags of from [] to [Hidden]
- 469 Change Tags of from [] to [Hidden]
- 469 Change Tags of from [] to [Hidden]
- 469 Change Tags of from [] to [Hidden]
- 469 Change Tags of from [NotReplicated] to [Hidden, NotReplicated]
- 469 Change CanLoad of from true to false
- 469 Change Tags of from [NotReplicated] to [Hidden, NotReplicated]
- 469 Change CanLoad of from true to false
- 469 Change Tags of from [ReadOnly, NotReplicated] to [Hidden, ReadOnly, NotReplicated]
- 469 Change Tags of from [ReadOnly, NotReplicated, Deprecated] to [Hidden, ReadOnly, NotReplicated, Deprecated]
- 469 Change Tags of from [NotReplicated, Deprecated] to [Hidden, NotReplicated, Deprecated]
- 469 Change CanLoad of from true to false
- 469 Change Tags of from [ReadOnly, NotReplicated, Deprecated] to [Hidden, ReadOnly, NotReplicated, Deprecated]
- 469 Change Tags of from [ReadOnly, NotReplicated] to [Hidden, ReadOnly, NotReplicated]
- 469 Change Tags of from [ReadOnly, NotReplicated, Deprecated] to [Hidden, ReadOnly, NotReplicated, Deprecated]
- 462 Change ThreadSafety of SimulationRadiusChanged from to Unsafe
- 462 Change ThreadSafety of OnTeleport from to Unsafe
- 462 Change ThreadSafety of Idled from to Unsafe
- 462 Change ThreadSafety of FriendStatusChanged from to Unsafe
- 462 Change ThreadSafety of Chatted from to Unsafe
- 462 Change ThreadSafety of CharacterRemoving from to Unsafe
- 462 Change ThreadSafety of CharacterAppearanceLoaded from to Unsafe
- 462 Change ThreadSafety of CharacterAdded from to Unsafe
- 462 Change ThreadSafety of waitForDataReady from to Unsafe
- 462 Change ThreadSafety of saveString from to Unsafe
- 462 Change ThreadSafety of saveNumber from to Unsafe
- 462 Change ThreadSafety of saveInstance from to Unsafe
- 462 Change ThreadSafety of saveBoolean from to Unsafe
- 462 Change ThreadSafety of loadString from to Unsafe
- 462 Change ThreadSafety of loadNumber from to Unsafe
- 462 Change ThreadSafety of loadInstance from to Unsafe
- 462 Change ThreadSafety of loadBoolean from to Unsafe
- 462 Change ThreadSafety of isFriendsWith from to Unsafe
- 462 Change ThreadSafety of WaitForDataReady from to Unsafe
- 462 Change ThreadSafety of UpdatePlayerBlocked from to Unsafe
- 462 Change ThreadSafety of SetUnder13 from to Unsafe
- 462 Change ThreadSafety of SetSuperSafeChat from to Unsafe
- 462 Change ThreadSafety of SetMembershipType from to Unsafe
- 462 Change ThreadSafety of SetAccountAge from to Unsafe
- 462 Change ThreadSafety of SaveString from to Unsafe
- 462 Change ThreadSafety of SaveNumber from to Unsafe
- 462 Change ThreadSafety of SaveInstance from to Unsafe
- 462 Change ThreadSafety of SaveData from to Unsafe
- 462 Change ThreadSafety of SaveBoolean from to Unsafe
- 462 Change ThreadSafety of RevokeFriendship from to Unsafe
- 462 Change ThreadSafety of RequestStreamAroundAsync from to Unsafe
- 462 Change ThreadSafety of RequestFriendship from to Unsafe
- 462 Change ThreadSafety of RemoveCharacter from to Unsafe
- 462 Change ThreadSafety of Move from to Unsafe
- 462 Change ThreadSafety of LoadString from to Unsafe
- 462 Change ThreadSafety of LoadNumber from to Unsafe
- 462 Change ThreadSafety of LoadInstance from to Unsafe
- 462 Change ThreadSafety of LoadData from to Unsafe
- 462 Change ThreadSafety of LoadCharacterWithHumanoidDescription from to Unsafe
- 462 Change ThreadSafety of LoadCharacterBlocking from to Unsafe
- 462 Change ThreadSafety of LoadCharacterAppearance from to Unsafe
- 462 Change ThreadSafety of LoadCharacter from to Unsafe
- 462 Change ThreadSafety of LoadBoolean from to Unsafe
- 462 Change ThreadSafety of Kick from to Unsafe
- 462 Change ThreadSafety of IsUserAvailableForExperiment from to Unsafe
- 462 Change ThreadSafety of IsInGroup from to Unsafe
- 462 Change ThreadSafety of IsFriendsWith from to Unsafe
- 462 Change ThreadSafety of IsBestFriendsWith from to Unsafe
- 462 Change ThreadSafety of HasAppearanceLoaded from to Unsafe
- 462 Change ThreadSafety of GetUnder13 from to Unsafe
- 462 Change ThreadSafety of GetRoleInGroup from to Unsafe
- 462 Change ThreadSafety of GetRankInGroup from to Unsafe
- 462 Change ThreadSafety of GetMouse from to Unsafe
- 462 Change ThreadSafety of GetJoinData from to Unsafe
- 462 Change ThreadSafety of GetGameSessionID from to Unsafe
- 462 Change ThreadSafety of GetFriendsOnline from to Unsafe
- 462 Change ThreadSafety of GetFriendStatus from to Unsafe
- 462 Change ThreadSafety of DistanceFromCharacter from to Unsafe
- 462 Change ThreadSafety of ClearCharacterAppearance from to Unsafe
- 462 Change ThreadSafety of AddToBlockList from to Unsafe
- 462 Change ThreadSafety of userId from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of UserId from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of TeamColor from to ReadOnly
- 462 Change ThreadSafety of Team from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of RespawnLocation from to ReadOnly
- 462 Change ThreadSafety of ReplicationFocus from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of Neutral from to ReadOnly
- 462 Change ThreadSafety of NameDisplayDistance from to ReadOnly
- 462 Change ThreadSafety of MembershipType from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of HealthDisplayDistance from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of GameplayPaused from to ReadOnly
- 462 Change ThreadSafety of FollowUserId from to ReadOnly
- 462 Change ThreadSafety of DisplayName from to ReadOnly
- 462 Change ThreadSafety of DevTouchMovementMode from to ReadOnly
- 462 Change ThreadSafety of DevTouchCameraMode from to ReadOnly
- 462 Change ThreadSafety of DevEnableMouseLock from to ReadOnly
- 462 Change ThreadSafety of DevComputerMovementMode from to ReadOnly
- 462 Change ThreadSafety of DevComputerCameraMode from to ReadOnly
- 462 Change ThreadSafety of DevCameraOcclusionMode from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of CharacterAppearanceId from to ReadOnly
- 462 Change ThreadSafety of CharacterAppearance from to ReadOnly
- 462 Change ThreadSafety of Character from to ReadOnly
- 462 Change ThreadSafety of CanLoadCharacterAppearance from to ReadOnly
- 462 Change ThreadSafety of CameraMode from to ReadOnly
- 462 Change ThreadSafety of CameraMinZoomDistance from to ReadOnly
- 462 Change ThreadSafety of CameraMaxZoomDistance from to ReadOnly
- 462 Change ThreadSafety of AutoJumpEnabled from to ReadOnly
- 462 Change ThreadSafety of from to ReadOnly
- 462 Change ThreadSafety of AccountAge from to ReadOnly
- 451 Change CanLoad of from false to true
- 451 Change Tags of from [] to [NotReplicated]
- 429 Add RequestStreamAroundAsync
- 428 Remove RequestStreamAroundAsync
- 429 Add RequestStreamAroundAsync
- 428 Change WriteSecurity of DisplayName from RobloxScriptSecurity to None
- 428 Change ReadSecurity of DisplayName from RobloxScriptSecurity to None
- 423 Add
- 386 Change WriteSecurity of GameplayPaused from None to NotAccessibleSecurity
- 386 Change Tags of GameplayPaused from [ReadOnly, NotReplicated] to []
- 386 Change CanLoad of GameplayPaused from false to true
- 384 Add GameplayPaused
- 373 Change Tags of LoadCharacterAppearance from [] to [Deprecated]
- 363 Add LoadCharacterWithHumanoidDescription
- 344 Add UpdatePlayerBlocked
- 344 Add AddToBlockList
- 338 Remove MoveCharacter
- 338 Remove JumpCharacter
- 338 Add
- 335 Remove PlayerJoinData
- 333 Add GetJoinData
- 331 Add PlayerJoinData
- 329 Change ValueType of Team from Object to Team
- 329 Change ValueType of RespawnLocation from Object to SpawnLocation
- 329 Change ValueType of ReplicationFocus from Object to Instance
- 329 Change ValueType of Character from Object to Model
- 323 Change Parameters of isFriendsWith from (userId: int) to (userId: int64)
- 323 Change Parameters of IsInGroup from (groupId: int) to (groupId: int64)
- 323 Change Parameters of IsFriendsWith from (userId: int) to (userId: int64)
- 323 Change Parameters of IsBestFriendsWith from (userId: int) to (userId: int64)
- 323 Change Parameters of GetRoleInGroup from (groupId: int) to (groupId: int64)
- 323 Change Parameters of GetRankInGroup from (groupId: int) to (groupId: int64)
- 323 Change ValueType of userId from int to int64
- 323 Change ValueType of UserId from int to int64
- 323 Change ValueType of FollowUserId from int to int64
- 323 Change ValueType of CharacterAppearanceId from int to int64
- 322 Change Parameters of OnTeleport from (teleportState: TeleportState, placeId: int, spawnName: string) to (teleportState: TeleportState, placeId: int64, spawnName: string)
- 313 Add ReplicationFocus
- 310 Remove UnblockUser
- 310 Remove BlockUser
- 296 Add IsUserAvailableForExperiment
- 295 Change Tags of UnblockUser from [Yields] to [Yields, Deprecated]
- 295 Change Tags of BlockUser from [Yields] to [Yields, Deprecated]
- 293 Add
- 292 Change Tags of CharacterAppearance from [NotBrowsable] to [NotBrowsable, Deprecated]
- 291 Add DisplayName
- 290 Change Parameters of LoadCharacter from (inGame: bool = true) to ()
- 288 Add LoadCharacterBlocking
- 273 Remove SetWebPersonalServerRank
- 273 Remove GetWebPersonalServerRank
- 273 Remove PersonalServerRank
- 273 Remove HasBuildTools
- 272 Add SetWebPersonalServerRank
- 272 Add GetWebPersonalServerRank
- 272 Add PersonalServerRank
- 272 Add HasBuildTools
- 273 Remove SetWebPersonalServerRank
- 273 Remove GetWebPersonalServerRank
- 273 Remove PersonalServerRank
- 273 Remove HasBuildTools
- 270 Add UnblockUser
- 270 Add BlockUser
- 258 Remove SaveLeaderboardData
- 257 Add SaveLeaderboardData
- 258 Remove SaveLeaderboardData
- 252 Change Tags of WaitForDataReady from [Yields] to [Yields, Deprecated]
- 252 Change Tags of SaveString from [] to [Deprecated]
- 252 Change Tags of SaveNumber from [] to [Deprecated]
- 252 Change Tags of SaveLeaderboardData from [] to [Deprecated]
- 252 Change Tags of SaveInstance from [] to [Deprecated]
- 252 Change Tags of SaveData from [] to [Deprecated]
- 252 Change Tags of SaveBoolean from [] to [Deprecated]
- 252 Change Tags of LoadString from [] to [Deprecated]
- 252 Change Tags of LoadNumber from [] to [Deprecated]
- 252 Change Tags of LoadInstance from [] to [Deprecated]
- 252 Change Tags of LoadData from [] to [Deprecated]
- 252 Change Tags of LoadBoolean from [] to [Deprecated]
- 252 Change Tags of from [ReadOnly, NotReplicated] to [ReadOnly, NotReplicated, Deprecated]
- 252 Change Tags of from [NotReplicated] to [NotReplicated, Deprecated]
- 252 Change Tags of from [ReadOnly, NotReplicated] to [ReadOnly, NotReplicated, Deprecated]
- 250 Change Tags of LoadCharacter from [] to [Yields]
- 250 Add Team
- 250 Add CharacterAppearanceId
- 235 Add
- 218 Add HasAppearanceLoaded
- 218 Change Tags of from [ReadOnly, NotReplicated] to [ReadOnly, NotReplicated, Deprecated]
- 215 Add
- 213 Change Tags of userId from [] to [Deprecated]
- 210 Add CharacterAppearanceLoaded
- 210 Add UserId
- 206 Change Tags of IsBestFriendsWith from [Yields] to [Yields, Deprecated]
- 206 Add AutoJumpEnabled
- 205 Add
- 204 Change ReturnType of GetFriendsOnline from Dictionary to Array
- 204 Change Parameters of GetFriendsOnline from (maxFriends: int = 50) to (maxFriends: int = 200)
- 196 Change Parameters of Kick from () to (message: string = )
- 182 Add RespawnLocation
- 180 Remove SetClanTag
- 180 Remove ClanTag
- 177 Add DevTouchMovementMode
- 177 Add DevTouchCameraMode
- 177 Add DevEnableMouseLock
- 177 Add DevComputerMovementMode
- 177 Add DevComputerCameraMode
- 177 Add DevCameraOcclusionMode
- 176 Remove DevTouchMovementMode
- 176 Remove DevTouchCameraMode
- 176 Remove DevEnableMouseLock
- 176 Remove DevComputerMovementMode
- 176 Remove DevComputerCameraMode
- 176 Remove DevCameraOcclusionMode
- 177 Add DevTouchMovementMode
- 177 Add DevTouchCameraMode
- 177 Add DevEnableMouseLock
- 177 Add DevComputerMovementMode
- 177 Add DevComputerCameraMode
- 177 Add DevCameraOcclusionMode
- 169 Add FollowUserId
- 163 Add Move
- 151 Change Security of SetSuperSafeChat from LocalUserSecurity to PluginSecurity
- 151 Change Security of SetClanTag from LocalUserSecurity to PluginSecurity
- 151 Change Security of SetAccountAge from LocalUserSecurity to PluginSecurity
- 147 Add NameDisplayDistance
- 147 Add HealthDisplayDistance
- 147 Add ClanTag
- 147 Add CameraMinZoomDistance
- 147 Add CameraMaxZoomDistance
- 145 Add SetClanTag
- 138 Add SimulationRadiusChanged
- 133 Add GetGameSessionID
- 131 Add MoveCharacter
- 131 Add JumpCharacter
- 130 Add OnTeleport
- 125 Add
- 125 Remove
- 121 Add Kick
- 119 Add GetFriendsOnline
- 90 Remove MouseDownOnPlayer
- 90 Remove HoverOnPlayerChanged
- 83 Change Security of SetUnder13 from LocalUserSecurity to RobloxSecurity
- 83 Add GetUnder13
- 79 Change Tags of GetWebPersonalServerRank from [Yields] to [backend, Yields]
- 78 Change Tags of GetWebPersonalServerRank from [backend, Yields] to [Yields]
- 79 Change Tags of GetWebPersonalServerRank from [Yields] to [backend, Yields]
- 71 Change Parameters of SetWebPersonalServerRank from (Rank: int) to (rank: int)
- 71 Add GetMouse
- 69 Add GetRoleInGroup
- 69 Add GetRankInGroup
- 68 Add LoadCharacterAppearance
- 68 Add ClearCharacterAppearance
- 68 Add CanLoadCharacterAppearance
- 64 Add
- 61 Add saveString
- 61 Add saveNumber
- 61 Add saveInstance
- 61 Add saveBoolean
- 61 Add loadString
- 61 Add loadInstance
- 61 Add loadBoolean
- 61 Add isFriendsWith
- 61 Add
- 60 Change ReturnType of loadNumber from float to double
- 60 Change Parameters of SaveNumber from (key: string, value: float) to (key: string, value: double)
- 60 Change ReturnType of LoadNumber from float to double
- 55 Change Security of LoadCharacter from LocalUserSecurity to None
- 52 Remove HasBuildPermission
- 50 Add waitForDataReady
- 50 Add loadNumber
- 50 Add CameraMode
- 47 Add MouseDownOnPlayer
- 47 Add Idled
- 47 Add HoverOnPlayerChanged
- 47 Add FriendStatusChanged
- 47 Add Chatted
- 47 Add CharacterRemoving
- 47 Add CharacterAdded
- 47 Add WaitForDataReady
- 47 Add SetWebPersonalServerRank
- 47 Add SetUnder13
- 47 Add SetSuperSafeChat
- 47 Add SetMembershipType
- 47 Add SetAccountAge
- 47 Add SaveString
- 47 Add SaveNumber
- 47 Add SaveLeaderboardData
- 47 Add SaveInstance
- 47 Add SaveData
- 47 Add SaveBoolean
- 47 Add RevokeFriendship
- 47 Add RequestFriendship
- 47 Add RemoveCharacter
- 47 Add LoadString
- 47 Add LoadNumber
- 47 Add LoadInstance
- 47 Add LoadData
- 47 Add LoadCharacter
- 47 Add LoadBoolean
- 47 Add IsInGroup
- 47 Add IsFriendsWith
- 47 Add IsBestFriendsWith
- 47 Add HasBuildPermission
- 47 Add GetWebPersonalServerRank
- 47 Add GetFriendStatus
- 47 Add DistanceFromCharacter
- 47 Add userId
- 47 Add TeamColor
- 47 Add PersonalServerRank
- 47 Add Neutral
- 47 Add MembershipType
- 47 Add HasBuildTools
- 47 Add
- 47 Add
- 47 Add
- 47 Add
- 47 Add
- 47 Add CharacterAppearance
- 47 Add Character
- 47 Add
- 47 Add AccountAge
- 47 Add Player
Members 155
AccountAge
Type | Default | |
---|---|---|
int |
This property describes how long ago a player's account was registered in days. It is set using the SetAccountAge() method, which cannot be accessed by scripts.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | false |
History 5
- 554 Change Default of AccountAge from 0 to
- 553 Change Default of AccountAge from to 0
- 486 Change ThreadSafety of AccountAge from ReadOnly to ReadSafe
- 462 Change ThreadSafety of AccountAge from to ReadOnly
- 47 Add AccountAge
AddReplicationFocus
Parameters (1) | ||
---|---|---|
part | BasePart | |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
History 1
AddReplicationFocusPosition
Parameters (2) | ||
---|---|---|
center | Vector3 | |
radius | int | |
Returns (1) | ||
null |
Security | RobloxSecurity |
---|---|
Thread safety | Unsafe |
History 1
AddToBlockList
Parameters (1) | ||
---|---|---|
userIds | Array | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of AddToBlockList from void to null
- 462 Change ThreadSafety of AddToBlockList from to Unsafe
- 344 Add AddToBlockList
AutoJumpEnabled
Type | Default | |
---|---|---|
bool |
This property determines whether the Character of a Player using a mobile device will automatically jump when they hit an obstacle. This can make levels more navigable while on a mobile device.
When the player joins the experience, the StarterPlayer.AutoJumpEnabled value determines the initial state of this property. Then, this property determines the value of the Humanoid.AutoJumpEnabled property of the Character on spawn. In other words, it is possible to set the auto-jump behavior on a per-character, per-player, and per-experience basis using these three properties.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | true |
History 5
- 554 Change Default of AutoJumpEnabled from true to
- 553 Change Default of AutoJumpEnabled from to true
- 486 Change ThreadSafety of AutoJumpEnabled from ReadOnly to ReadSafe
- 462 Change ThreadSafety of AutoJumpEnabled from to ReadOnly
- 206 Add AutoJumpEnabled
CameraMaxZoomDistance
Type | Default | |
---|---|---|
float |
This property sets the maximum distance the player's camera is allowed to zoom out, in studs.
The default value of this property is set by StarterPlayer.CameraMaxZoomDistance. If this value is set to a lower value than CameraMinZoomDistance, it will be increased to CameraMinZoomDistance.
Thread safety | ReadSafe |
---|---|
Category | Camera |
Loaded/Saved | true |
History 5
- 554 Change Default of CameraMaxZoomDistance from 400 to
- 553 Change Default of CameraMaxZoomDistance from to 400
- 486 Change ThreadSafety of CameraMaxZoomDistance from ReadOnly to ReadSafe
- 462 Change ThreadSafety of CameraMaxZoomDistance from to ReadOnly
- 147 Add CameraMaxZoomDistance
CameraMinZoomDistance
Type | Default | |
---|---|---|
float |
This property sets the minimum distance the player's camera is allowed to zoom in, in studs.
The default value of this property is set by StarterPlayer.CameraMinZoomDistance. If this value is set to a higher value than CameraMaxZoomDistance, it will be decreased to CameraMaxZoomDistance.
Thread safety | ReadSafe |
---|---|
Category | Camera |
Loaded/Saved | true |
History 5
- 554 Change Default of CameraMinZoomDistance from 0.5 to
- 553 Change Default of CameraMinZoomDistance from to 0.5
- 486 Change ThreadSafety of CameraMinZoomDistance from ReadOnly to ReadSafe
- 462 Change ThreadSafety of CameraMinZoomDistance from to ReadOnly
- 147 Add CameraMinZoomDistance
CameraMode
Type | Default | |
---|---|---|
CameraMode |
This property sets the player's camera mode, defaulting to third person.
Third Person
In the default third person mode (CameraMode.Classic), the character can be seen in the camera. While in this mode, the default behavior is:
- Players can right-click and drag (mouse), tap and drag (mobile), use the secondary thumbstick (gamepad), or press the left/right arrows (keyboard) to rotate the camera around their character.
- When a player moves their character, it faces in the corresponding movement direction.
- Players can zoom in and out freely, even to first person on full zoom in.
First Person
In first person mode (CameraMode.LockFirstPerson), the player's
camera is zoomed all the way in. Unless there is a visible GUI present
with the GuiButton.Modal property set to true
, moving the mouse,
tap-dragging on mobile, or using the secondary thumbstick on a gamepad
will rotate the camera around the character.
Thread safety | ReadSafe |
---|---|
Category | Camera |
Loaded/Saved | true |
History 5
- 554 Change Default of CameraMode from Classic to
- 553 Change Default of CameraMode from to Classic
- 486 Change ThreadSafety of CameraMode from ReadOnly to ReadSafe
- 462 Change ThreadSafety of CameraMode from to ReadOnly
- 50 Add CameraMode
CanLoadCharacterAppearance
Type | Default | |
---|---|---|
bool |
This property determines whether the character's appearance will be loaded when the player spawns. The default value of this property is set by StarterPlayer.LoadPlayerAppearance.
If
true
, the character will load the appearance of the player corresponding to the player's CharacterAppearanceId.If
false
, the player will spawn with a default appearance.
Attempting to set the property after the character has spawned will not change the character; you must call LoadCharacter() to load the new appearance.
Thread safety | ReadSafe |
---|---|
Category | Behavior |
Loaded/Saved | false |
History 5
- 554 Change Default of CanLoadCharacterAppearance from true to
- 553 Change Default of CanLoadCharacterAppearance from to true
- 486 Change ThreadSafety of CanLoadCharacterAppearance from ReadOnly to ReadSafe
- 462 Change ThreadSafety of CanLoadCharacterAppearance from to ReadOnly
- 68 Add CanLoadCharacterAppearance
Character
Type | Default | |
---|---|---|
Model |
This property contains a reference to a Model containing a
Humanoid, body parts, scripts, and other objects required for
simulating the player's avatar in-experience. The model is parented to the
Workspace but it may be moved. It is automatically loaded when
Players.CharacterAutoLoads is true
and it can be manually loaded
otherwise using LoadCharacter().
Initially this property is nil
and it is set when the player's character
first spawns. Use the CharacterAdded event
to detect when a player's character properly loads, and the
CharacterRemoving event to detect when
the character is about to despawn. Avoid using
Object:GetPropertyChangedSignal() on this property.
Note that LocalScripts that are cloned from
StarterGui or StarterPack into a player's
PlayerGui or Backpack respectively are often run before
the old character model is replaced, so Player.Character may refer
to the old model whose Parent property is nil
.
Therefore, in a LocalScript under StarterGui or
StarterPack, it is advisable to make sure the parent of
Character
is not nil
before using it, for example:
1 2 3 4 5 6 7 |
|
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | true |
CharacterAdded
Parameters (1) | |
---|---|
character | Model |
This event fires when a player's character spawns or respawns. It fires
soon after setting Character to a non-nil
value
or calling LoadCharacter(), which is before
the character is parented to the Workspace.
This can be used alongside the CharacterRemoving event which fires right before a player's character is about to be removed, typically after death. As such, both of these events can potentially fire many times as players die then respawn in a place.
Note that the Humanoid and its default body parts (head, torso, and limbs) will exist when this event fires, but clothing items like Hats, Shirts, and Pants may take a few seconds to be added to the character. Connect Instance.ChildAdded on the added character to detect these, or wait for the CharacterAppearanceLoaded event to be sure the character has everything equipped.
If you instead need to track when a player joins/leaves the experience, use the events Players.PlayerAdded and Players.PlayerRemoving.
Thread safety | Unsafe |
---|
History 3
- 483 Change Parameters of CharacterAdded from (character: Instance) to (character: Model)
- 462 Change ThreadSafety of CharacterAdded from to Unsafe
- 47 Add CharacterAdded
CharacterAppearance
Type | Default | |
---|---|---|
string |
This property indicates the URL of the asset containing the character's appearance, clothing, and gear. It is automatically set by Roblox to load your avatar's appearance when you join an experience.
Attempting to set the property after the character has spawned will not change the character, you must call LoadCharacter() to load the new appearance.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | true |
History 6
- 554 Change Default of CharacterAppearance from to
- 553 Change PreferredDescriptor of CharacterAppearance from to CharacterAppearanceId
- 486 Change ThreadSafety of CharacterAppearance from ReadOnly to ReadSafe
- 462 Change ThreadSafety of CharacterAppearance from to ReadOnly
- 292 Change Tags of CharacterAppearance from [NotBrowsable] to [NotBrowsable, Deprecated]
- 47 Add CharacterAppearance
CharacterAppearanceId
Type | Default | |
---|---|---|
int64 |
This property determines the user ID of the account whose character appearance is used for a player's Character. By default, this property is the UserId, which uses the player's avatar as they have created it on Roblox.
Changing this property to the user ID of another account will cause the player to spawn with that account's appearance.
You can also toggle whether or not a player's character appearance is loaded in experience by changing the StarterPlayer.LoadCharacterAppearance property.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | true |
History 6
- 554 Change Default of CharacterAppearanceId from 0 to
- 553 Change Default of CharacterAppearanceId from to 0
- 486 Change ThreadSafety of CharacterAppearanceId from ReadOnly to ReadSafe
- 462 Change ThreadSafety of CharacterAppearanceId from to ReadOnly
- 323 Change ValueType of CharacterAppearanceId from int to int64
- 250 Add CharacterAppearanceId
CharacterAppearanceLoaded
Parameters (1) | |
---|---|
character | Model |
This event fires when the full appearance of a Character has been inserted. It only fires on the server.
A Character generally has a range of objects modifying its appearance, including Accoutrements, Shirts, Pants and CharacterMeshes. This event will fire when all such objects have been inserted into the character.
For custom character implementations, such as using a character model
named StarterCharacter
inside StarterPlayer, use
CharacterAdded and handle your own
accessories.
One use for this event is to ensure all accessories have loaded before destroying them. See below for an example of this.
Thread safety | Unsafe |
---|
History 3
- 483 Change Parameters of CharacterAppearanceLoaded from (character: Instance) to (character: Model)
- 462 Change ThreadSafety of CharacterAppearanceLoaded from to Unsafe
- 210 Add CharacterAppearanceLoaded
CharacterRemoving
Parameters (1) | |
---|---|
character | Model |
This event fires right before a player's Character is removed, such as when the player is respawning. This can be used alongside the CharacterAdded event which fires when a player's character spawns or respawns.
If you instead need to track when a player joins/leaves the experience, use the events Players.PlayerAdded and Players.PlayerRemoving.
Thread safety | Unsafe |
---|
History 3
- 483 Change Parameters of CharacterRemoving from (character: Instance) to (character: Model)
- 462 Change ThreadSafety of CharacterRemoving from to Unsafe
- 47 Add CharacterRemoving
Chatted
Parameters (2) | |
---|---|
recipient | Player |
This event fires when a Player types a message and presses
Enter in Roblox's provided chat bar. This is done using some
Luau bindings by the default chat script. You can prevent players from
chatting by using StarterGui:SetCoreGuiEnabled() and setting
CoreGuiType.Chat to false
.
Thread safety | Unsafe |
---|
ClearCharacterAppearance
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
This method removes all Accessory, Shirt, Pants, CharacterMesh, and BodyColors from the given player's Character. In addition, it also removes the T-Shirt Decal on the player's torso. The character's body part colors and face will remain unchanged. This method does nothing if the player does not have a Character.
Thread safety | Unsafe |
---|
History 3
- 573 Change ReturnType of ClearCharacterAppearance from void to null
- 462 Change ThreadSafety of ClearCharacterAppearance from to Unsafe
- 68 Add ClearCharacterAppearance
CloudEditSelectionChanged
Parameters (1) | |
---|---|
newSelection | Array |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 678 Change Tags of CloudEditSelectionChanged from [Hidden] to []
- 678 Change Security of CloudEditSelectionChanged from RobloxSecurity to RobloxScriptSecurity
- 553 Add CloudEditSelectionChanged
DevCameraOcclusionMode
Type | Default | |
---|---|---|
DevCameraOcclusionMode |
Defines how the default camera scripts handle objects between the camera and the camera subject. Set by StarterPlayer.DevCameraOcclusionMode and can't be changed for individual players.
The default value is Zoom. See DevCameraOcclusionMode for a list of available modes.
Thread safety | ReadSafe |
---|---|
Category | Camera |
Loaded/Saved | true |
History 7
- 554 Change Default of DevCameraOcclusionMode from Zoom to
- 553 Change Default of DevCameraOcclusionMode from to Zoom
- 486 Change ThreadSafety of DevCameraOcclusionMode from ReadOnly to ReadSafe
- 462 Change ThreadSafety of DevCameraOcclusionMode from to ReadOnly
- 177 Add DevCameraOcclusionMode
- 176 Remove DevCameraOcclusionMode
- 177 Add DevCameraOcclusionMode
DevComputerCameraMode
Type | Default | |
---|---|---|
DevComputerCameraMovementMode |
This property determines the manner in which a player moves their camera when using a device with a mouse and keyboard. This property cannot be set using a LocalScript (it must be set on the server using a Script).
The default value of this property is determined by StarterPlayer.DevComputerCameraMovementMode.
This property doesn't affect players using a TouchEnabled device. See DevTouchCameraMode instead.
Thread safety | ReadSafe |
---|---|
Category | Camera |
Loaded/Saved | true |
History 7
- 554 Change Default of DevComputerCameraMode from UserChoice to
- 553 Change Default of DevComputerCameraMode from to UserChoice
- 486 Change ThreadSafety of DevComputerCameraMode from ReadOnly to ReadSafe
- 462 Change ThreadSafety of DevComputerCameraMode from to ReadOnly
- 177 Add DevComputerCameraMode
- 176 Remove DevComputerCameraMode
- 177 Add DevComputerCameraMode
DevComputerMovementMode
Type | Default | |
---|---|---|
DevComputerMovementMode |
This property determines the manner in which a player moves their character when using a device with a mouse and keyboard. This property cannot be set using a LocalScript (it must be set on the server using a Script).
The default value of this property is determined by StarterPlayer.DevComputerMovementMode.
This property doesn't affect players using a TouchEnabled device. See DevTouchMovementMode instead.
Thread safety | ReadSafe |
---|---|
Category | Control |
Loaded/Saved | true |
History 7
- 554 Change Default of DevComputerMovementMode from UserChoice to
- 553 Change Default of DevComputerMovementMode from to UserChoice
- 486 Change ThreadSafety of DevComputerMovementMode from ReadOnly to ReadSafe
- 462 Change ThreadSafety of DevComputerMovementMode from to ReadOnly
- 177 Add DevComputerMovementMode
- 176 Remove DevComputerMovementMode
- 177 Add DevComputerMovementMode
DevEnableMouseLock
Type | Default | |
---|---|---|
bool |
This property determines if a player is able to toggle mouse lock by pressing Shift. A player can disable the mouse lock switch in the experience's settings during play. By default, this property is set to the value of StarterPlayer.EnableMouseLockOption. This can be set server-side during runtime by using a Script. It can not be set client-side.
When mouse lock is enabled, the player's cursor is locked to the center of the screen. Moving the mouse will orbit the camera around the player's Character, and the character will face the same direction as the Camera. It also offsets the camera view just over the right shoulder of the player's character.
Thread safety | ReadSafe |
---|---|
Category | Camera |
Loaded/Saved | true |
History 9
- 578 Change Tags of DevEnableMouseLock from [Deprecated] to []
- 576 Change Tags of DevEnableMouseLock from [] to [Deprecated]
- 554 Change Default of DevEnableMouseLock from true to
- 553 Change Default of DevEnableMouseLock from to true
- 486 Change ThreadSafety of DevEnableMouseLock from ReadOnly to ReadSafe
- 462 Change ThreadSafety of DevEnableMouseLock from to ReadOnly
- 177 Add DevEnableMouseLock
- 176 Remove DevEnableMouseLock
- 177 Add DevEnableMouseLock
DevTouchCameraMode
Type | Default | |
---|---|---|
DevTouchCameraMovementMode |
This property determines the manner in which a player moves their camera when using a TouchEnabled device. This property cannot be set using a LocalScript (it must be set on the server using a Script).
The default value of this property is determined by StarterPlayer.DevTouchCameraMovementMode.
This property doesn't affect players who aren't using a TouchEnabled device. See DevComputerCameraMode instead.
Thread safety | ReadSafe |
---|---|
Category | Camera |
Loaded/Saved | true |
History 7
- 554 Change Default of DevTouchCameraMode from UserChoice to
- 553 Change Default of DevTouchCameraMode from to UserChoice
- 486 Change ThreadSafety of DevTouchCameraMode from ReadOnly to ReadSafe
- 462 Change ThreadSafety of DevTouchCameraMode from to ReadOnly
- 177 Add DevTouchCameraMode
- 176 Remove DevTouchCameraMode
- 177 Add DevTouchCameraMode
DevTouchMovementMode
Type | Default | |
---|---|---|
DevTouchMovementMode |
This property determines the manner in which a player moves their character when using a TouchEnabled device. This property cannot be set using a LocalScript (it must be set on the server using a Script).
The default value of this property is determined by StarterPlayer.DevTouchMovementMode.
This property doesn't affect players who aren't using a TouchEnabled device. See DevComputerMovementMode instead.
Thread safety | ReadSafe |
---|---|
Category | Control |
Loaded/Saved | true |
History 7
- 554 Change Default of DevTouchMovementMode from UserChoice to
- 553 Change Default of DevTouchMovementMode from to UserChoice
- 486 Change ThreadSafety of DevTouchMovementMode from ReadOnly to ReadSafe
- 462 Change ThreadSafety of DevTouchMovementMode from to ReadOnly
- 177 Add DevTouchMovementMode
- 176 Remove DevTouchMovementMode
- 177 Add DevTouchMovementMode
DisplayName
Type | Default | |
---|---|---|
string |
This property contains the display name of the authenticated user associated with the Player object. Unlike UserId, display names are non-unique names a player displays to others.
Usage Notes
Since display names are non-unique, it's possible for two players in a single instance to have identical names. If you need a globally unique identifier for a player, use UserId instead.
Characters generated with LoadCharacter() or by the Roblox engine will have their Humanoid.DisplayName property assigned to the Player.DisplayName property.
Display names may have unicode characters in the string. See UTF-8 for more information on how to work with strings with unicode characters.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | false |
History 6
- 554 Change Default of DisplayName from to
- 486 Change ThreadSafety of DisplayName from ReadOnly to ReadSafe
- 462 Change ThreadSafety of DisplayName from to ReadOnly
- 428 Change WriteSecurity of DisplayName from RobloxScriptSecurity to None
- 428 Change ReadSecurity of DisplayName from RobloxScriptSecurity to None
- 291 Add DisplayName
DistanceFromCharacter
Parameters (1) | ||
---|---|---|
point | Vector3 | |
Returns (1) | ||
float |
This method returns the distance between the character's head and the
given Vector3 point, or 0
if the player has no
Character.
This is useful when determining the distance between a player and another object or location in experience.
If you would like to determine the distance between two non-player instances or positions, you can use the following:
1
|
|
Thread safety | Unsafe |
---|
History 2
- 462 Change ThreadSafety of DistanceFromCharacter from to Unsafe
- 47 Add DistanceFromCharacter
FollowUserId
Type | Default | |
---|---|---|
int64 |
This property contains the UserId of the user that a
player followed into the experience, or 0
if the player did not follow
anyone in. This property is useful for alerting players who have been
followed by another player into the experience.
You can get the name of the player followed using this user ID and the Players:GetNameFromUserIdAsync() method.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | false/true |
History 6
- 554 Change Default of FollowUserId from 0 to
- 553 Change Default of FollowUserId from to 0
- 486 Change ThreadSafety of FollowUserId from ReadOnly to ReadSafe
- 462 Change ThreadSafety of FollowUserId from to ReadOnly
- 323 Change ValueType of FollowUserId from int to int64
- 169 Add FollowUserId
FriendStatusChanged
Parameters (2) | |
---|---|
player | Player |
friendStatus | FriendStatus |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 483 Change Parameters of FriendStatusChanged from (player: Instance, friendStatus: FriendStatus) to (player: Player, friendStatus: FriendStatus)
- 462 Change ThreadSafety of FriendStatusChanged from to Unsafe
- 47 Add FriendStatusChanged
GameplayPaused
Type | Default | |
---|---|---|
bool |
This property indicates if the player is currently in a pause state in a place with StreamingEnabled activated. It is set on the client but replicated to the server.
See Also
- Workspace.StreamingEnabled which controls whether content streaming is enabled
- Workspace.StreamingIntegrityMode and StreamingIntegrityMode for more details on when gameplay is paused.
Write security | NotAccessibleSecurity |
---|---|
Thread safety | ReadSafe |
Category | Behavior |
Loaded/Saved | true |
History 8
- 554 Change Default of GameplayPaused from false to
- 553 Change Default of GameplayPaused from to false
- 486 Change ThreadSafety of GameplayPaused from ReadOnly to ReadSafe
- 462 Change ThreadSafety of GameplayPaused from to ReadOnly
- 386 Change WriteSecurity of GameplayPaused from None to NotAccessibleSecurity
- 386 Change Tags of GameplayPaused from [ReadOnly, NotReplicated] to []
- 386 Change CanLoad of GameplayPaused from false to true
- 384 Add GameplayPaused
GetData
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
PlayerData |
Thread safety | Unsafe |
---|
GetFriendStatus
Parameters (1) | ||
---|---|---|
player | Player | |
Returns (1) | ||
FriendStatus |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 483 Change Parameters of GetFriendStatus from (player: Instance) to (player: Player)
- 462 Change ThreadSafety of GetFriendStatus from to Unsafe
- 47 Add GetFriendStatus
GetFriendsOnline
Parameters (1) | Default | |
---|---|---|
maxFriends | int | 200 |
Returns (1) | ||
Array |
This function returns a dictionary array of online friends, using a 30
second cache. In the returned array, some fields are only present for
certain location types; for example, PlaceId
won't be present when
LocationType
is 0
(mobile website).
Name | Type | Description |
---|---|---|
VisitorId | number | The UserId of the friend. |
UserName | string | The username of the friend. |
DisplayName | string | The DisplayName of the friend. |
LastOnline | string | When the friend was last online. |
IsOnline | boolean | If the friend is currently online. |
LastLocation | string | The name of the friend's current location. |
PlaceId | number | The place ID of the friend's last location. |
GameId | string | The DataModel.JobId of the friend's last location. |
LocationType | number | The location type of the friend's last location. |
Thread safety | Unsafe |
---|
History 4
- 462 Change ThreadSafety of GetFriendsOnline from to Unsafe
- 204 Change ReturnType of GetFriendsOnline from Dictionary to Array
- 204 Change Parameters of GetFriendsOnline from (maxFriends: int = 50) to (maxFriends: int = 200)
- 119 Add GetFriendsOnline
GetGameSessionID
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
string |
Security | RobloxSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of GetGameSessionID from to Unsafe
- 133 Add GetGameSessionID
GetJoinData
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Dictionary |
Returns a dictionary containing information describing how the player joins the experience. The dictionary contains any of the following fields:
Key | Value Type | Description |
---|---|---|
SourceGameId | number | The DataModel.GameId of the experience the Player teleported from. Only present if the player teleports to the current experience and if a server calls the teleport function. |
SourcePlaceId | number | The DataModel.PlaceId of the place the Player teleported from. Only present if the player teleports to the current place and a server calls the teleport function. |
ReferredByPlayerId | number | The UserId of the player who invited the current player to the experience. Use this data to identify the referrer and trigger reward logic. |
Members | array | An array containing the UserId numbers of the users teleported alongside the player. Only present if the player teleported as part of a group. |
TeleportData | variant | Reflects the teleportData specified in the original teleport. Useful for sharing information between servers the player teleports to. Only present if teleportData was specified and a server calls the teleport function. |
LaunchData | string | A plain or JSON encoded string that contains launch data specified in a deep link URL or ExperienceInviteOptions.LaunchData. |
GameJoinContext | dictionary | A dictionary that includes relevant information based on the context of the join. It contains the following keys:
|
If a server initiates the player's teleport, the dictionary that this method returns includes the player's teleport data. The GetJoinData() method can only be used to fetch teleport data on the server. To fetch the data on the client, use TeleportService:GetLocalPlayerTeleportData().
Unlike TeleportService:GetLocalPlayerTeleportData(), GetJoinData() only provides teleport data that meets the following security criteria:
- It's guaranteed to have been sent by a Roblox server in the past 48 hours.
- It's guaranteed to have been sent with this Player.
- The
SourcePlaceId
andSourceGameId
are guaranteed to be the place and universe the data was sent from. This means you can verify the teleport data came from an approved place.
As this data is transmitted by the client, it can still potentially be abused by an exploiter. Sensitive data such as player currency should be transmitted via a secure solution like Memory Stores.
Thread safety | Unsafe |
---|
History 3
- 624 Change Tags of GetJoinData from [] to [CustomLuaState]
- 462 Change ThreadSafety of GetJoinData from to Unsafe
- 333 Add GetJoinData
GetMouse
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Mouse |
This method returns the Mouse being used by the client. The player's mouse instance can be used to track user mouse input including left and right mouse button clicks and movement and location.
Note that UserInputService provides additional methods, properties, and events to track user input, especially for devices that do not use a mouse.
Thread safety | Unsafe |
---|
GetNetworkPing
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
float |
Returns the isolated network latency of the player in seconds. "Ping" is a measurement of the time taken for data to be sent from the client to the server, then back again. It doesn't involve data deserialization or processing.
For client-side LocalScripts, this function can only be called on the Players.LocalPlayer. This function is useful in identifying and debugging issues that occur in high network latency scenarios. It's also useful for masking latency, such as adjusting the speed of throwing animations for projectiles.
Thread safety | Safe |
---|
History 3
- 562 Change ThreadSafety of GetNetworkPing from Unsafe to Safe
- 488 Change ReturnType of GetNetworkPing from int to float
- 481 Add GetNetworkPing
GetRankInGroup
Parameters (1) | ||
---|---|---|
groupId | int64 | |
Returns (1) | ||
int |
This method returns the player's rank in the group as an integer between
0
and 255
, where 0
is a non-member and 255
is the group's owner.
Using this in a Script, as opposed to a LocalScript, will
not get you the most up-to-date information. If a player leaves a group
while they are in the experience, GetRankInGroup()
will still think
they're in that group until they leave. However, this does not happen when
used with a LocalScript because the method caches results, so
multiple calls of GetRankInGroup()
on the same player with the same
group ID will yield the same result as when the method was first called
with the given group ID. The caching behavior is on a per-peer basis: a
server does not share the same cache as a client.
Thread safety | Unsafe |
---|
History 3
- 462 Change ThreadSafety of GetRankInGroup from to Unsafe
- 323 Change Parameters of GetRankInGroup from (groupId: int) to (groupId: int64)
- 69 Add GetRankInGroup
GetRoleInGroup
Parameters (1) | ||
---|---|---|
groupId | int64 | |
Returns (1) | ||
string |
This method returns the player's role in the group as a string, or Guest
if the player isn't part of the group.
Using this in a Script, as opposed to a LocalScript, will
not get you the most up-to-date information. If a player leaves a group
while they are in the experience, GetRoleInGroup()
will still think
they're in that group until they leave. However, this does not happen when
used with a LocalScript because the method caches results, so
multiple calls of GetRoleInGroup()
on the same player with the same
group ID will yield the same result as when the method was first called
with the given group ID. The caching behavior is on a per-peer basis: a
server does not share the same cache as a client.
Thread safety | Unsafe |
---|
History 3
- 462 Change ThreadSafety of GetRoleInGroup from to Unsafe
- 323 Change Parameters of GetRoleInGroup from (groupId: int) to (groupId: int64)
- 69 Add GetRoleInGroup
GetUnder13
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
bool |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of GetUnder13 from to Unsafe
- 83 Add GetUnder13
HasAppearanceLoaded
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
bool |
This method returns whether or not the appearance of the player's Character has loaded. Appearance includes items such as the player's Shirt, Pants, and Accessories.
This is useful when determining whether a player's appearance has loaded after they first join the experience, which can be tracked using the Players.PlayerAdded event.
Thread safety | Unsafe |
---|
History 2
- 462 Change ThreadSafety of HasAppearanceLoaded from to Unsafe
- 218 Add HasAppearanceLoaded
HasVerifiedBadge
Type | Default | |
---|---|---|
bool |
This property indicates if the player has a Verified badge.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | false |
History 1
- 554 Add HasVerifiedBadge
HealthDisplayDistance
Type | Default | |
---|---|---|
float |
This property sets the distance in studs at which this player will see
other Humanoid health bars. If set to 0
, the health bars will
not be displayed. This property is set to
StarterPlayer.HealthDisplayDistance by default.
If a humanoid's health bar is visible, you can set the display type using Humanoid.DisplayDistanceType.
Thread safety | ReadSafe |
---|---|
Category | Camera |
Loaded/Saved | true |
History 5
- 554 Change Default of HealthDisplayDistance from 100 to
- 553 Change Default of HealthDisplayDistance from to 100
- 486 Change ThreadSafety of HealthDisplayDistance from ReadOnly to ReadSafe
- 462 Change ThreadSafety of HealthDisplayDistance from to ReadOnly
- 147 Add HealthDisplayDistance
Idled
Parameters (1) | |
---|---|
time | double |
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. The event continues to fire every 30 seconds for as long as the player remains idle.
This event only fires in client scripts, not server scripts; use a RemoteEvent to notify the server of idle players.
Roblox automatically disconnects players that have been idle for at least 20 minutes, so this event is useful for warning players that they will be disconnected soon, disconnecting players prior to those 20 minutes, or other away from keyboard (AFK) features.
To track how often automatic disconnects occur, try correlating this event with occurrences of Players.PlayerRemoving.
Thread safety | Unsafe |
---|
IsBestFriendsWith
Parameters (1) | ||
---|---|---|
userId | int64 | |
Returns (1) | ||
bool |
This function was once used to return whether a player is best friends with the specified user, but the best friend feature has since been removed.
Thread safety | Unsafe |
---|
History 4
- 462 Change ThreadSafety of IsBestFriendsWith from to Unsafe
- 323 Change Parameters of IsBestFriendsWith from (userId: int) to (userId: int64)
- 206 Change Tags of IsBestFriendsWith from [Yields] to [Yields, Deprecated]
- 47 Add IsBestFriendsWith
IsFriendsWith
Parameters (1) | ||
---|---|---|
userId | int64 | |
Returns (1) | ||
bool |
This method sends a request to Roblox asking whether a player is a friend
of another user, given the UserId of that user. This
method caches results so multiple calls on the same player with the same
userId
may not yield the most up-to-date result.
Thread safety | Unsafe |
---|
History 3
- 462 Change ThreadSafety of IsFriendsWith from to Unsafe
- 323 Change Parameters of IsFriendsWith from (userId: int) to (userId: int64)
- 47 Add IsFriendsWith
IsInGroup
Parameters (1) | ||
---|---|---|
groupId | int64 | |
Returns (1) | ||
bool |
This method sends a request to Roblox asking whether a player is a member of a group, given the ID of that group.
Using this in a Script, as opposed to a LocalScript, will
not get you the most up-to-date information. If a player leaves a group
while they are in the experience, IsInGroup()
will still think they're
in that group until they leave. However, this does not happen when used
with a LocalScript because the method caches results, so multiple
calls of IsInGroup()
on the same player with the same group ID will
yield the same result as when the method was first called with the given
group ID. The caching behavior is on a per-peer basis: a server does not
share the same cache as a client.
Thread safety | Unsafe |
---|
IsVerified
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
bool |
Returns a boolean value indicating that player's verification status. When
true
, the player is verified. Verification includes, but isn't limited
to, non-VOIP phone number or government ID verification.
When implementing IsVerified
, exercise caution to ensure that the
implementation does not inadvertently block all unverified users.
Note that the method can only be called on the backend server. Calling it
client-side results in an error. Additionally, this method will always
return false
in Studio.
Thread safety | Unsafe |
---|
History 1
- 573 Add IsVerified
Kick
Parameters (1) | Default | |
---|---|---|
Returns (1) | ||
null |
This method allows an experience to gracefully disconnect a client and optionally provide a message to the disconnected user. This is useful for moderating abusive users. You should only allow specific users whom you trust to trigger this method on other users.
Calling this method on a Player with no arguments disconnects the user from the server and provides a default notice message. Calling this method on a Player along with a string as the first argument replaces the default message with the provided string.
When using this method from a LocalScript, only the local user's client can be kicked.
Thread safety | Unsafe |
---|
LoadBoolean
Parameters (1) | ||
---|---|---|
key | string | |
Returns (1) | ||
bool |
This function returns a boolean value that was previously saved to the
player with Player:SaveBoolean() with the same key. Returns false
if the key doesn't exist, not nil
.
Thread safety | Unsafe |
---|
History 3
- 462 Change ThreadSafety of LoadBoolean from to Unsafe
- 252 Change Tags of LoadBoolean from [] to [Deprecated]
- 47 Add LoadBoolean
LoadCharacter
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
This method creates a new character for the player, removing the old one. It also clears the player's Backpack and PlayerGui. This is useful in cases where you want to reload the character without killing the player, such as when you want to load a new character appearance after changing the player's CharacterAppearance.
After calling LoadCharacter()
for an individual player, it is not
recommended to call it again for the same player until after that player's
CharacterAppearanceLoaded event
has fired.
Character Loading Event Order
Calling the LoadCharacter()
method on any Player
fires events in the
following order:
- The character appearance initializes.
- The character rig builds and scales.
- The character moves to the spawn location.
- Player.Character sets.
- Object.Changed fires on the Player with a value of
Character
. - The character's Parent sets to the DataModel.
- Player.CharacterAdded fires.
- Player.CharacterAppearanceLoaded fires.
Thread safety | Unsafe |
---|
History 6
- 573 Change ReturnType of LoadCharacter from void to null
- 462 Change ThreadSafety of LoadCharacter from to Unsafe
- 290 Change Parameters of LoadCharacter from (inGame: bool = true) to ()
- 250 Change Tags of LoadCharacter from [] to [Yields]
- 55 Change Security of LoadCharacter from LocalUserSecurity to None
- 47 Add LoadCharacter
LoadCharacterAppearance
Parameters (1) | ||
---|---|---|
assetInstance | Instance | |
Returns (1) | ||
null |
The LoadCharacterAppearance Player function places the given instance either in the player's Player.Character, head, or StarterGear based on the instance's class.
This is useful when giving a player's character an asset from the Roblox catalog, such as a hat or piece of gear.
It is similar to Player:LoadCharacter(), except it does not reload the entire character instance, StarterGear, or PlayerGui.
Note:
- Accessory, Shirt, ShirtGraphic, CharacterMesh, BodyColors, and Accoutrement are parented to the player's character.
- Decal, FileMesh, SpecialMesh, BlockMesh, CylinderMesh, and Texture are parented to the character's head.
- Tool is parented to the player's StarterGear.
- All other classes are ignored.
Thread safety | Unsafe |
---|
History 4
- 573 Change ReturnType of LoadCharacterAppearance from void to null
- 462 Change ThreadSafety of LoadCharacterAppearance from to Unsafe
- 373 Change Tags of LoadCharacterAppearance from [] to [Deprecated]
- 68 Add LoadCharacterAppearance
LoadCharacterBlocking
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Security | LocalUserSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of LoadCharacterBlocking from void to null
- 462 Change ThreadSafety of LoadCharacterBlocking from to Unsafe
- 288 Add LoadCharacterBlocking
LoadCharacterWithAvatarRules
Parameters (1) | ||
---|---|---|
avatarRules | AvatarRules | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
LoadCharacterWithHumanoidDescription
Parameters (1) | ||
---|---|---|
humanoidDescription | HumanoidDescription | |
Returns (1) | ||
null |
This method spawns a player character with everything equipped in the passed in HumanoidDescription.
After calling this method for an individual player, it is not recommended to call it again for the same player until after that player's CharacterAppearanceLoaded event has fired.
See also HumanoidDescription System, an article which explains the humanoid description system in greater detail and provides several scripting examples.
Thread safety | Unsafe |
---|
History 4
- 573 Change ReturnType of LoadCharacterWithHumanoidDescription from void to null
- 483 Change Parameters of LoadCharacterWithHumanoidDescription from (humanoidDescription: Instance) to (humanoidDescription: HumanoidDescription)
- 462 Change ThreadSafety of LoadCharacterWithHumanoidDescription from to Unsafe
- 363 Add LoadCharacterWithHumanoidDescription
LoadData
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Security | LocalUserSecurity |
---|---|
Thread safety | Unsafe |
LoadInstance
Parameters (1) | ||
---|---|---|
key | string | |
Returns (1) | ||
Instance |
This function returns an instance that was previously saved to the player
with Player:SaveInstance() with the same key. Returns nil
if the
key doesn't exist.
Thread safety | Unsafe |
---|
History 3
- 462 Change ThreadSafety of LoadInstance from to Unsafe
- 252 Change Tags of LoadInstance from [] to [Deprecated]
- 47 Add LoadInstance
LoadNumber
Parameters (1) | ||
---|---|---|
key | string | |
Returns (1) | ||
double |
This function was once used by an ancient data persistence method to
return a number value that was previously saved to the player with
Player:SaveNumber() with the same key. Returns 0 if the key
doesn't exist, not nil
.
Thread safety | Unsafe |
---|
History 4
- 462 Change ThreadSafety of LoadNumber from to Unsafe
- 252 Change Tags of LoadNumber from [] to [Deprecated]
- 60 Change ReturnType of LoadNumber from float to double
- 47 Add LoadNumber
LoadString
Parameters (1) | ||
---|---|---|
key | string | |
Returns (1) | ||
string |
This function returns a string value that was previously saved to the
player with Player:SaveString() with the same key. Returns an
empty string ("") if the key doesn't exist, not nil
.
Thread safety | Unsafe |
---|
History 3
- 462 Change ThreadSafety of LoadString from to Unsafe
- 252 Change Tags of LoadString from [] to [Deprecated]
- 47 Add LoadString
MembershipType
Type | Default | |
---|---|---|
MembershipType |
This property can only be read from to determine membership (it cannot be set to another membership type). It holds a MembershipType enum of the account's membership type.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | false |
History 5
- 554 Change Default of MembershipType from None to
- 553 Change Default of MembershipType from to None
- 486 Change ThreadSafety of MembershipType from ReadOnly to ReadSafe
- 462 Change ThreadSafety of MembershipType from to ReadOnly
- 47 Add MembershipType
Move
Parameters (2) | Default | |
---|---|---|
walkDirection | Vector3 | |
relativeToCamera | bool | false |
Returns (1) | ||
null |
This method causes the player's character to walk in the given direction until stopped, or interrupted by the player (by using their controls).
This is useful when scripting NPC Humanoids that move around a map but are not controlled by an actual player's input.
Note that the function's second argument indicates whether the provided
Vector3 should move the player relative to world coordinates
(false
) or the player's Camera (true
).
Thread safety | Unsafe |
---|
NameDisplayDistance
Type | Default | |
---|---|---|
float |
This property sets the distance in studs at which this player will see
other Humanoid names. If the property is set to 0
, names are
hidden. This property is set to StarterPlayer.NameDisplayDistance
by default.
If a humanoid's name is visible, you can set the display type using Humanoid.DisplayDistanceType.
Thread safety | ReadSafe |
---|---|
Category | Camera |
Loaded/Saved | true |
History 5
- 554 Change Default of NameDisplayDistance from 100 to
- 553 Change Default of NameDisplayDistance from to 100
- 486 Change ThreadSafety of NameDisplayDistance from ReadOnly to ReadSafe
- 462 Change ThreadSafety of NameDisplayDistance from to ReadOnly
- 147 Add NameDisplayDistance
Neutral
Type | Default | |
---|---|---|
bool |
This property determines whether the player is on a specific team.
Thread safety | ReadSafe |
---|---|
Category | Team |
Loaded/Saved | true |
OnTeleport
Parameters (3) | |
---|---|
teleportState | TeleportState |
placeId | int64 |
spawnName | string |
This event fires when the TeleportState of a player changes. This event is useful for detecting whether a teleportation was successful.
Thread safety | Unsafe |
---|
History 3
- 462 Change ThreadSafety of OnTeleport from to Unsafe
- 322 Change Parameters of OnTeleport from (teleportState: TeleportState, placeId: int, spawnName: string) to (teleportState: TeleportState, placeId: int64, spawnName: string)
- 130 Add OnTeleport
OverrideStreamingRadii
Parameters (2) | ||
---|---|---|
minRadius | int | |
targetRadius | int | |
Returns (1) | ||
null |
Security | RobloxSecurity |
---|---|
Thread safety | Unsafe |
History 1
PinStreamingForInstance
Parameters (2) | ||
---|---|---|
instance | Instance | |
depth | int | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
RemoveCharacter
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Security | LocalUserSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of RemoveCharacter from void to null
- 462 Change ThreadSafety of RemoveCharacter from to Unsafe
- 47 Add RemoveCharacter
RemoveReplicationFocus
Parameters (1) | ||
---|---|---|
part | BasePart | |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
History 1
RemoveReplicationFocusPosition
Parameters (2) | ||
---|---|---|
center | Vector3 | |
radius | int | |
Returns (1) | ||
null |
Security | RobloxSecurity |
---|---|
Thread safety | Unsafe |
History 1
ReplicationFocus
Type | Default | |
---|---|---|
Instance |
This property sets the part to focus replication around a player. Different Roblox systems that communicate over the network (such as physics, streaming, etc.) replicate at different rates depending on how close objects are to the replication focus.
When this property is nil
, it reverts to its default behavior which is
to treat the local player's character's
PrimaryPart as the replication focus.
This property should only be set on the server with a Script, not a LocalScript. Note that this property does not change or update network ownership of parts.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | true |
History 6
- 554 Change Default of ReplicationFocus from to
- 553 Change Default of ReplicationFocus from to
- 486 Change ThreadSafety of ReplicationFocus from ReadOnly to ReadSafe
- 462 Change ThreadSafety of ReplicationFocus from to ReadOnly
- 329 Change ValueType of ReplicationFocus from Object to Instance
- 313 Add ReplicationFocus
RequestFriendship
Parameters (1) | ||
---|---|---|
player | Player | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 4
- 573 Change ReturnType of RequestFriendship from void to null
- 483 Change Parameters of RequestFriendship from (player: Instance) to (player: Player)
- 462 Change ThreadSafety of RequestFriendship from to Unsafe
- 47 Add RequestFriendship
RequestStreamAroundAsync
Parameters (2) | Default | |
---|---|---|
position | Vector3 | |
timeOut | double | 0 |
Returns (1) | ||
null |
For experiences where instance streaming is enabled, requests that the server stream to the player regions (parts and terrain) around the specified X, Y, Z location in the 3D world. It is useful if the experience knows that the player's CFrame will be set to the specified location in the near future. Without providing the location with this call, the player may not have streamed in content for the destination, resulting in a streaming pause or other undesirable behavior.
The effect of this call will be temporary and there are no guarantees of what will be streamed in around the specified location. Client memory limits and network conditions may impact what will be available on the client.
Usage Precaution
Requesting streaming around an area is not a guarantee that the content will be present when the request completes, as streaming is affected by the client's network bandwidth, memory limitations, and other factors.
Thread safety | Unsafe |
---|
History 5
- 573 Change ReturnType of RequestStreamAroundAsync from void to null
- 462 Change ThreadSafety of RequestStreamAroundAsync from to Unsafe
- 429 Add RequestStreamAroundAsync
- 428 Remove RequestStreamAroundAsync
- 429 Add RequestStreamAroundAsync
RespawnLocation
Type | Default | |
---|---|---|
SpawnLocation |
If set, the player will respawn at the given SpawnLocation which must meet the following criteria:
Descendant of Workspace.
The SpawnLocation.TeamColor property is set to the player's TeamColor or the SpawnLocation.Neutral property is set to
true
.
Alternatives
- A Player will spawn from SpawnLocations belonging to their team. In some cases it may be simpler to change the player's Team instead.
- Implement your own custom spawn logic using PVInstance:PivotTo() to manually move the Character.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | true |
History 6
- 554 Change Default of RespawnLocation from to
- 553 Change Default of RespawnLocation from to
- 486 Change ThreadSafety of RespawnLocation from ReadOnly to ReadSafe
- 462 Change ThreadSafety of RespawnLocation from to ReadOnly
- 329 Change ValueType of RespawnLocation from Object to SpawnLocation
- 182 Add RespawnLocation
RevokeFriendship
Parameters (1) | ||
---|---|---|
player | Player | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 4
- 573 Change ReturnType of RevokeFriendship from void to null
- 483 Change Parameters of RevokeFriendship from (player: Instance) to (player: Player)
- 462 Change ThreadSafety of RevokeFriendship from to Unsafe
- 47 Add RevokeFriendship
SaveBoolean
Parameters (2) | ||
---|---|---|
key | string | |
value | bool | |
Returns (1) | ||
null |
This function is used to save a boolean value that can be loaded again at a later time using Player:LoadBoolean().
Thread safety | Unsafe |
---|
History 4
- 573 Change ReturnType of SaveBoolean from void to null
- 462 Change ThreadSafety of SaveBoolean from to Unsafe
- 252 Change Tags of SaveBoolean from [] to [Deprecated]
- 47 Add SaveBoolean
SaveData
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Security | LocalUserSecurity |
---|---|
Thread safety | Unsafe |
SaveInstance
Parameters (2) | ||
---|---|---|
key | string | |
value | Instance | |
Returns (1) | ||
null |
This function was once used by an ancient data persistence method to save an instance which can be loaded again at a later time using Player:LoadInstance()..
Thread safety | Unsafe |
---|
History 4
- 573 Change ReturnType of SaveInstance from void to null
- 462 Change ThreadSafety of SaveInstance from to Unsafe
- 252 Change Tags of SaveInstance from [] to [Deprecated]
- 47 Add SaveInstance
SaveNumber
Parameters (2) | ||
---|---|---|
key | string | |
value | double | |
Returns (1) | ||
null |
This function was once used by an ancient data persistence method to save a number value that can be loaded again at a later time using Player:LoadNumber().
Thread safety | Unsafe |
---|
History 5
- 573 Change ReturnType of SaveNumber from void to null
- 462 Change ThreadSafety of SaveNumber from to Unsafe
- 252 Change Tags of SaveNumber from [] to [Deprecated]
- 60 Change Parameters of SaveNumber from (key: string, value: float) to (key: string, value: double)
- 47 Add SaveNumber
SaveString
Parameters (2) | ||
---|---|---|
key | string | |
value | string | |
Returns (1) | ||
null |
This function was once used by an ancient data persistence method to save a string value that can be loaded again at a later time using Player:LoadString().
Thread safety | Unsafe |
---|
History 4
- 573 Change ReturnType of SaveString from void to null
- 462 Change ThreadSafety of SaveString from to Unsafe
- 252 Change Tags of SaveString from [] to [Deprecated]
- 47 Add SaveString
SetAccountAge
Parameters (1) | ||
---|---|---|
accountAge | int | |
Returns (1) | ||
null |
This method sets the AccountAge of the player in days, meaning the age of the account itself relative to when it was first created.
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 4
- 573 Change ReturnType of SetAccountAge from void to null
- 462 Change ThreadSafety of SetAccountAge from to Unsafe
- 151 Change Security of SetAccountAge from LocalUserSecurity to PluginSecurity
- 47 Add SetAccountAge
SetBlockListInitialized
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
SetCharacterAppearanceJson
Parameters (1) | ||
---|---|---|
jsonBlob | string | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 573 Change ReturnType of SetCharacterAppearanceJson from void to null
- 479 Add SetCharacterAppearanceJson
SetChatTranslationSettingsLocaleId
Parameters (1) | ||
---|---|---|
locale | string | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
SetExperienceSettingsLocaleId
Parameters (1) | ||
---|---|---|
locale | string | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 573 Change ReturnType of SetExperienceSettingsLocaleId from void to null
- 546 Add SetExperienceSettingsLocaleId
SetMembershipType
Parameters (1) | ||
---|---|---|
membershipType | MembershipType | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of SetMembershipType from void to null
- 462 Change ThreadSafety of SetMembershipType from to Unsafe
- 47 Add SetMembershipType
SetModerationAccessKey
Parameters (1) | ||
---|---|---|
moderationAccessKey | string | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 573 Change ReturnType of SetModerationAccessKey from void to null
- 538 Add SetModerationAccessKey
SetSuperSafeChat
Parameters (1) | ||
---|---|---|
value | bool | |
Returns (1) | ||
null |
This method sets whether or not the player sees chat filtered by TextService:FilterStringAsync() rather than normal chats.
1 2 3 4 |
|
Regardless of whether a player has filtered chat enabled, all chat should be filtered by TextService when broadcast to other players or on the player's own screen. TextService:FilterStringAsync() returns a TextFilterResult object that can be filtered differently according to the message's intended use.
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
History 4
- 573 Change ReturnType of SetSuperSafeChat from void to null
- 462 Change ThreadSafety of SetSuperSafeChat from to Unsafe
- 151 Change Security of SetSuperSafeChat from LocalUserSecurity to PluginSecurity
- 47 Add SetSuperSafeChat
SetUnder13
Parameters (1) | ||
---|---|---|
value | bool | |
Returns (1) | ||
null |
Security | RobloxSecurity |
---|---|
Thread safety | Unsafe |
History 4
- 573 Change ReturnType of SetUnder13 from void to null
- 462 Change ThreadSafety of SetUnder13 from to Unsafe
- 83 Change Security of SetUnder13 from LocalUserSecurity to RobloxSecurity
- 47 Add SetUnder13
SimulationRadiusChanged
Parameters (1) | |
---|---|
radius | float |
Security | LocalUserSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of SimulationRadiusChanged from to Unsafe
- 138 Add SimulationRadiusChanged
StepIdOffset
Type | Default | |
---|---|---|
int |
Security | RobloxSecurity |
---|---|
Thread safety | ReadSafe |
Category | Data |
Loaded/Saved | true |
History 1
- 663 Add StepIdOffset
StreamingPinComplete
Parameters (1) | |
---|---|
instance | Instance |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
Team
Type | Default | |
---|---|---|
Team |
This property is a reference to a Team object within the
Teams service. If the player isn't on a team or has an invalid
TeamColor, this property is nil
. When this
property is set, the player has joined the Team and the
Team.PlayerAdded event fires on the associated team. Similarly,
Team.PlayerRemoved fires when the property is unset from a certain
Team.
Thread safety | ReadSafe |
---|---|
Category | Team |
Loaded/Saved | true |
TeamColor
Type | Default | |
---|---|---|
BrickColor |
This property determines which Team a player is associated with according to that team's Team.TeamColor. If no Team object has the associated BrickColor, the player will not be associated with a team.
It's often a better idea to set Player.Team to the respective Team instead of using this property. Setting this property often leads to repetition of the same BrickColor value for a certain team across many scripts.
Thread safety | ReadSafe |
---|---|
Category | Team |
Loaded/Saved | true |
ThirdPartyTextChatRestrictionStatus
Type | Default | |
---|---|---|
ChatRestrictionStatus |
Security | RobloxScriptSecurity |
---|---|
Thread safety | ReadSafe |
Category | Data |
Loaded/Saved | false/true |
History 1
UnpinStreamingForInstance
Parameters (2) | ||
---|---|---|
instance | Instance | |
depth | int | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
UpdatePlayerBlocked
Parameters (2) | ||
---|---|---|
userId | int64 | |
blocked | bool | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of UpdatePlayerBlocked from void to null
- 462 Change ThreadSafety of UpdatePlayerBlocked from to Unsafe
- 344 Add UpdatePlayerBlocked
UserId
Type | Default | |
---|---|---|
int64 |
This property contains a read-only integer that uniquely and consistently identifies the user's account on Roblox. Unlike the player's DisplayName which may change, this value will never change for the same account.
This property is essential when saving/loading player data using GlobalDataStores.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | false |
WaitForDataReady
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
bool |
This function is 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
Thread safety | Unsafe |
---|
History 3
- 462 Change ThreadSafety of WaitForDataReady from to Unsafe
- 252 Change Tags of WaitForDataReady from [Yields] to [Yields, Deprecated]
- 47 Add WaitForDataReady
isFriendsWith
Parameters (1) | ||
---|---|---|
userId | int64 | |
Returns (1) | ||
bool |
Thread safety | Unsafe |
---|
History 4
- 553 Change PreferredDescriptor of isFriendsWith from to IsFriendsWith
- 462 Change ThreadSafety of isFriendsWith from to Unsafe
- 323 Change Parameters of isFriendsWith from (userId: int) to (userId: int64)
- 61 Add isFriendsWith
loadBoolean
Parameters (1) | ||
---|---|---|
key | string | |
Returns (1) | ||
bool |
Thread safety | Unsafe |
---|
History 3
- 553 Change PreferredDescriptor of loadBoolean from to LoadBoolean
- 462 Change ThreadSafety of loadBoolean from to Unsafe
- 61 Add loadBoolean
loadInstance
Parameters (1) | ||
---|---|---|
key | string | |
Returns (1) | ||
Instance |
Thread safety | Unsafe |
---|
History 3
- 553 Change PreferredDescriptor of loadInstance from to LoadInstance
- 462 Change ThreadSafety of loadInstance from to Unsafe
- 61 Add loadInstance
loadNumber
Parameters (1) | ||
---|---|---|
key | string | |
Returns (1) | ||
double |
Thread safety | Unsafe |
---|
History 4
- 553 Change PreferredDescriptor of loadNumber from to LoadNumber
- 462 Change ThreadSafety of loadNumber from to Unsafe
- 60 Change ReturnType of loadNumber from float to double
- 50 Add loadNumber
loadString
Parameters (1) | ||
---|---|---|
key | string | |
Returns (1) | ||
string |
Thread safety | Unsafe |
---|
History 3
- 553 Change PreferredDescriptor of loadString from to LoadString
- 462 Change ThreadSafety of loadString from to Unsafe
- 61 Add loadString
saveBoolean
Parameters (2) | ||
---|---|---|
key | string | |
value | bool | |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
History 4
- 573 Change ReturnType of saveBoolean from void to null
- 553 Change PreferredDescriptor of saveBoolean from to SaveBoolean
- 462 Change ThreadSafety of saveBoolean from to Unsafe
- 61 Add saveBoolean
saveInstance
Parameters (2) | ||
---|---|---|
key | string | |
value | Instance | |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
History 4
- 573 Change ReturnType of saveInstance from void to null
- 553 Change PreferredDescriptor of saveInstance from to SaveInstance
- 462 Change ThreadSafety of saveInstance from to Unsafe
- 61 Add saveInstance
saveNumber
Parameters (2) | ||
---|---|---|
key | string | |
value | double | |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
History 4
- 573 Change ReturnType of saveNumber from void to null
- 553 Change PreferredDescriptor of saveNumber from to SaveNumber
- 462 Change ThreadSafety of saveNumber from to Unsafe
- 61 Add saveNumber
saveString
Parameters (2) | ||
---|---|---|
key | string | |
value | string | |
Returns (1) | ||
null |
Thread safety | Unsafe |
---|
History 4
- 573 Change ReturnType of saveString from void to null
- 553 Change PreferredDescriptor of saveString from to SaveString
- 462 Change ThreadSafety of saveString from to Unsafe
- 61 Add saveString
userId
Type | Default | |
---|---|---|
int64 |
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | false |
History 8
- 554 Change Default of userId from 0 to
- 553 Change Default of userId from to 0
- 553 Change PreferredDescriptor of userId from to UserId
- 486 Change ThreadSafety of userId from ReadOnly to ReadSafe
- 462 Change ThreadSafety of userId from to ReadOnly
- 323 Change ValueType of userId from int to int64
- 213 Change Tags of userId from [] to [Deprecated]
- 47 Add userId
waitForDataReady
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
bool |
Thread safety | Unsafe |
---|
History 3
- 553 Change PreferredDescriptor of waitForDataReady from to WaitForDataReady
- 462 Change ThreadSafety of waitForDataReady from to Unsafe
- 50 Add waitForDataReady
Removed members 19
BlockUser
Parameters (1) | ||
---|---|---|
player | Instance | |
Returns (1) | ||
string |
Security | RobloxScriptSecurity |
---|
ClanTag
Type | Default | |
---|---|---|
string |
Category | |
---|---|
Loaded/Saved | false |
GetWebPersonalServerRank
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
string |
Security | LocalUserSecurity |
---|
History 7
- 273 Remove GetWebPersonalServerRank
- 272 Add GetWebPersonalServerRank
- 273 Remove GetWebPersonalServerRank
- 79 Change Tags of GetWebPersonalServerRank from [Yields] to [backend, Yields]
- 78 Change Tags of GetWebPersonalServerRank from [backend, Yields] to [Yields]
- 79 Change Tags of GetWebPersonalServerRank from [Yields] to [backend, Yields]
- 47 Add GetWebPersonalServerRank
HasBuildPermission
Parameters (1) | ||
---|---|---|
role | BuildPermission | |
Returns (1) | ||
bool |
History 2
- 52 Remove HasBuildPermission
- 47 Add HasBuildPermission
HasBuildTools
Type | Default | |
---|---|---|
bool |
Security | RobloxScriptSecurity |
---|---|
Category | |
Loaded/Saved | false |
History 4
- 273 Remove HasBuildTools
- 272 Add HasBuildTools
- 273 Remove HasBuildTools
- 47 Add HasBuildTools
HoverOnPlayerChanged
Parameters (1) | |
---|---|
playerHoveredOn | Instance |
Security | RobloxScriptSecurity |
---|
History 2
- 90 Remove HoverOnPlayerChanged
- 47 Add HoverOnPlayerChanged
IsUserAvailableForExperiment
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
bool |
Thread safety | Unsafe |
---|
History 3
- 535 Remove IsUserAvailableForExperiment
- 462 Change ThreadSafety of IsUserAvailableForExperiment from to Unsafe
- 296 Add IsUserAvailableForExperiment
JumpCharacter
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
void |
Security | RobloxScriptSecurity |
---|
History 2
- 338 Remove JumpCharacter
- 131 Add JumpCharacter
MouseDownOnPlayer
Parameters (1) | |
---|---|
playerMouseDownOn | Instance |
Security | RobloxScriptSecurity |
---|
History 2
- 90 Remove MouseDownOnPlayer
- 47 Add MouseDownOnPlayer
MoveCharacter
Parameters (2) | ||
---|---|---|
walkDirection | Vector2 | |
maxWalkDelta | float | |
Returns (1) | ||
void |
Security | RobloxScriptSecurity |
---|
History 2
- 338 Remove MoveCharacter
- 131 Add MoveCharacter
PersonalServerRank
Type | Default | |
---|---|---|
int |
Security | RobloxScriptSecurity |
---|---|
Category | |
Loaded/Saved | false |
History 4
- 273 Remove PersonalServerRank
- 272 Add PersonalServerRank
- 273 Remove PersonalServerRank
- 47 Add PersonalServerRank
PlayerJoinData
Type | Default | |
---|---|---|
PlayerJoinData |
Category | |
---|---|
Loaded/Saved | false |
History 2
- 335 Remove PlayerJoinData
- 331 Add PlayerJoinData
SaveLeaderboardData
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
void |
Security | LocalUserSecurity |
---|
History 5
- 258 Remove SaveLeaderboardData
- 257 Add SaveLeaderboardData
- 258 Remove SaveLeaderboardData
- 252 Change Tags of SaveLeaderboardData from [] to [Deprecated]
- 47 Add SaveLeaderboardData
SetClanTag
Parameters (1) | ||
---|---|---|
newClanTag | string | |
Returns (1) | ||
void |
Security | PluginSecurity |
---|
History 3
- 180 Remove SetClanTag
- 151 Change Security of SetClanTag from LocalUserSecurity to PluginSecurity
- 145 Add SetClanTag
SetWebPersonalServerRank
Parameters (1) | ||
---|---|---|
rank | int | |
Returns (1) | ||
bool |
Security | WritePlayerSecurity |
---|
History 5
- 273 Remove SetWebPersonalServerRank
- 272 Add SetWebPersonalServerRank
- 273 Remove SetWebPersonalServerRank
- 71 Change Parameters of SetWebPersonalServerRank from (Rank: int) to (rank: int)
- 47 Add SetWebPersonalServerRank
UnblockUser
Parameters (1) | ||
---|---|---|
player | Instance | |
Returns (1) | ||
string |
Security | RobloxScriptSecurity |
---|
History 3
- 310 Remove UnblockUser
- 295 Change Tags of UnblockUser from [Yields] to [Yields, Deprecated]
- 270 Add UnblockUser