How would I check how many players are in the game?

The title speaks for itself;

How would I check how many players are in the game?

By the length of the table returned from GetPlayers().

local TotalPlayers = #game:GetService("Players"):GetPlayers()
1 Like