Whether or not bubble chat is enabled.
Set to true, when a player joins a game, they get a character automatically, as well as when they die. When set to false, characters do not auto load and will only load in using Player:LoadCharacter().
Whether or not classic chat is enabled.
The maximum number of players this place can contain.
The number of players in this place. This has been deprecated, use #game.Players:GetPlayers() instead.
The number of preferred players in this place.
Returns a Player that has that id, only if the player is in the game.
Returns a table of Players in the Players service.
void SetChatStyle(ChatStyle style = Classic) [PluginSecurity]
Objects getPlayers() [deprecated]
Objects players() [deprecated]
Use GetPlayers() instead
GetCharacterAppearanceAsync(int64 userId) [yield]
Returns a Model containing objects that make up the Player with the given userId's appearance. The player does NOT have to be in game for this to work.
Dictionary GetCharacterAppearanceInfoAsync(int64 userId) [yield]
GetFriendsAsync(int64 userId) [yield]
string GetNameFromUserIdAsync(int64 userId) [yield]
Returns the name of the given Player with the specified userId. The player does NOT have to be in game for this to work.
int64 GetUserIdFromNameAsync(string userName) [yield]
Returns the UserId of the given Player with the specified userName. The player does NOT have to be in game for this to work.
Tuple GetUserThumbnailAsync(int64 userId, ThumbnailType thumbnailType, ThumbnailSize thumbnailSize) [yield]
Attempts to get a player's image without getting a N/A. This method returns two values: The Content of the image, and a bool describing whether or not the image is ready. This method should be looped until it is ready.
local icon,ready repeat icon,ready = game.Players:GetUserThumbnailAsync(1,Enum.ThumbnailType.AvatarThumbnail,Enum.ThumbnailSize.Size100x100)until ready == true print(icon)
FriendRequestEvent( player, player, FriendRequestEvent friendRequestEvent) [RobloxScriptSecurity]
Fires when a Player joins the game.
PlayerChatted(PlayerChatType chatType, player, string message, targetPlayer) [LocalUserSecurity]
Fires when a Player leaves the game.