How to filter team damage to a prop?

Hi all. I’m trying to figure out how to prevent a prop from being damaged by a specific team. There are some old posts with the same question from quite a while ago but I haven’t found any conclusive answers. Has anybody figured out how to do this?