How would i make an npc/Model with a humanoid that can only take damage from a specific team. I have guns that only damage players on different teams, but it only applys to players.
in the weapon, you would need to make it find the player's team and look if he can damage the npc if he is in the right team
You'd need to put something like a StringValue into the npc and make its value the name of a team which can damage an npc and in the script of a gun check if player's team name is the value of that string value.