This property can only be read from. Attempting to write to it will cause an error.
This item is not replicated across Roblox’s server/client boundary.
Players property determines the maximum amount of players that can be in this server.
While this property cannot be set through
LocalScripts in-game, it can be set from the place settings’ Access tab on the site.
You can change this value depending on the number of player’s you would like to limit in a single server. The number of players in a server affects the feel of your game and it’s performance.
The script below prints a table displaying the
Players/PreferredPlayers, and the number of players currently on the server.
|Maximum number of players allowed in the server||Preferred number of players in the server||Number of players currently in the server|