So im working with a couple of friends to make this game. I made a game pass script. It was getting messed up by the auto team script. So I rewrote the whole thing. The gamepasses work completely fine now, But when you spawn you dont spawn at the right spawn. When I used :LoadCharacter() It bugged out the gamepass script. Making it add 2 of the items.
game.Players.PlayerAdded:Connect(function(plr) if plr:IsInGroup(5718479) then plr.TeamColor = BrickColor.new("Storm blue") else plr.TeamColor = BrickColor.new("Cocoa") end end)
Get the team's TeamColor and set the plr's TeamColor to that.