maximum people team roblox code example
Example: maximum people team roblox
if amountOfPlayers < teamLimit then
--// this means the amount of players on the team is less than the team limit so now set the player on this team and do whatever else you were planning to do.
player.Team = team
end