[HELP] Win Condition

Hi! I am trying to create a victory condition where if you kill the opposing team’s boar the game is over, is there any way I can make the boar the victory condition? The map is for 1vs1.