How do you make it so when one team loses all their men the other team wins

help is needed since the guides I find are bad it’s really annoying

Lifecycle (Game start) → relay (Team here) → increment counter (Target 0)
Relay (player knocked out) → Decrement counter
[1]


  1. pretty sure this is wrong ↩︎

2 Likes

First, place a lifecycle down to detect a player getting knocked out.

Player knocked out > Wire repeater delay "0.3" > Swap to team "Spectators"

Once the player is on spectators, they will no longer be on team 1 or whatever team they were on. We need a delay to run the next part.


Go back to your lifecycle. Place a relay that runs on all players on my team. The lifecycle triggers the relay. Place a counter that is incremented when the relay sends the channel or wire. Set a property linked to the counter.


Create another path off the relay- wire a wire repeater of 0.1 seconds to a checker. The checker checks if the counter’s linked property is equal to 0. If the check passes, the game ends!

Let me know if you have any questions.

6 Likes

ma-ma-mia that sounds hard