Can anyone help me make a system where if a prop is broken the players on a certain team only have 1 life and when all of them are eliminated, the game ends?

and this one for when the team is eliminated