For autoweapon to work with teams
-
Well, it also switches the weapon when trying to hit an exploding TNT, so I guess it's not only for players, it's for every entities, making this feature tricky to make because they'd have to first add something to only switch weapons when hitting players but then it won't switch weapon on mobs and wouldn't be practical for like a gamemode where your opponement is disguised as a random entity like BlockHunt