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

3 comments

0

Maybe because your not trying with somebody with a rank of 8

0

you also aren't suppose to put team color after game.Teams.Security

0

First Problem: Player:connect is wrong, try PlayerAdded:Connect. Last Problem: == 8 then, is wrong. try other numbers.