Tank team set prevent driving but not firing

Hi,
I have a bunch of tanks for each team, all set to one team or the other. Ingame a player can’t drive a tank from the other team but he can go in it and fire with it. How to prevent this ?

You can test it here : https://www.fortnite.com/@azom-studio/4084-8109-1948

A simple solution would be to just run a trigger/attribute trigger whenever they enter a tank, if they’re part of the same team do nothing if they’re from different team, warn them and start damaging them or use some kind of way to get them out