How to make a multiple team game where only one team wins

I am trying to make a game that has four teams. If a player gets knocked out, they are eliminated. I have read other posts about this sort of thing, but they were either unclear or very confusing. How do I make it so that the game detects that the other 3 teams have 0 players left and ends the game?

Welcome to the forums @Gigicatniss! Make sure to read the FAQ/Guidelines! I hope you have a great time here!

use this for every team: