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)
COMMUNITY QUESTION
This automatic team script does not team the role "Security" Why not? (please fix and explain)
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Maybe because your not trying with somebody with a rank of 8
you also aren't suppose to put team color after game.Teams.Security
First Problem: Player:connect is wrong, try PlayerAdded:Connect. Last Problem: == 8 then, is wrong. try other numbers.