Sometimes When players join they are given security team but dont have the role in group

game.Players.PlayerAdded:connect(function(player)
	if player:GetRankInGroup(2533886) == 8 then
		player.TeamColor = game.Teams.HighRanks.TeamColor
	end
	end)

3 comments

0

**Instead of security i meant Hight Rank

0

Look at the team properties, make sure that on security/HR in properties autoassignable is not checked!

0

Thank you so much!!