How do I make players go into spectator after dying a certain amount of times?

I know that you can make a player be a spectator if they die, but how do you make it so that they become a spectator after dying a (customizable) amount of times?


Not exactly what you want, but there is a related guide:

This should work

Please look around before making a help post, as it adds unnessary clutter.

Make a counter player scoped. Wire a lifecycle to it. Player knocked out => increase counter. Then set the counters target to something. This is your number of lives. Then, get a team switcher set to team spectators. Wire the team switcher to the counter. When target reached => team switch.

This is completely unrelated, but how can you make it so that once a barrier is closed for too long, another one opens, and you can not open the one you closed?

Then make a different help topic.
This was from november

1 Like