RBX.lua.Players (Service)
From ROBLOX Wiki
A service that contains all of the Player objects in the current game. This object is required for a server to properly function.
Note: This is a Game Service, and therefore isn't like other Object in the Class Explorer. You have to call it with :
game:RunService("<Service name>")Functions
In addition to the global functions, the Players service also has these:
# indicates a locked function. These should NOT be tampered with.
- # Chat(string message)
- # CreateLocalPlayer(int userId)
- # GetPlayerByID(int userID)
- GetPlayerFromCharacter(character)
- GetPlayers()
- # ReportAbuse(player, message)
- # SetAbuseReportUrl(url)
- playerFromCharacter(character)
-
players()
Properties
In addition to the global properties, the Players service also has these:
Events
In addition to the global events, the Players service also has these:
