Current number of players||doc135770

September 20, 2022

Format

 Game.GetAllPlayersCount()
  • The class to which the function belongs:Game

Description

Get the number of players in the current game.


Value Returned

type Description
int Number of players


Code Samples

local playerCount = Game.GetAllPlayersCount()