For a while now i have been trying to make a group team auto assigner to work.
Basically what im trying to do if your in a group and a certain rank in the group it would put you into a different team.
This is what i have so far.
function onPlayerEntered(plyr) if plyr:IsInGroup(6003664) == 249 then --The group id and rank plyr.TeamColor = BrickColor.new("New Yeller") end end game.Players.PlayerAdded:connect(onPlayerEntered)
If you could help and would really help me