I want my players to have three lives.

I am making a pvp tank game how do I make it so my player has three lives when they get shot three times.

Here is an example with health, you could adapt the logic to use lives instead:



hey umm how do you make it so you can get killed like 5 times and then restart the whole game? thx

Look at my code in this.
Make it so every time you get hit by an enemy it adds -1 to the counter.

thanks for the help https://flowlab.io/game/play/673141