TeamBased damage affecting FallDamage

So after a day of me figuring out about Team based damage, meaning for ex: if Potatoes are team 1 team 1 will not hurt team 2 ( Team 2 being DM ) so it took me a lot of tries and I’ve finally managed to remove damage from Potatoes to hurt DM since DM is minigame, and DM people cannot hurt Potatoes but since the damage has been removed if Potatoes are attacking DM or so, no teams take fall damage.

Le Code: