Any ideas? I'm not sure how to do it.
You can either use the NumPlayers property of Players, or you can get the length of the table holding all of the players.
local amountOfPlayers = Game.Players.NumPlayers --Alternatively; local amountOfPlayers = #Game.Players:GetPlayers()