Hm so how do i set lives?

You would want to use a property that decreases every time the player gets knocked out through block code. When it reaches 0, set the player to spectator mode.

If you want to let a player have infinite lives, you have to set the property to the number infinity. You can do this through block code by setting the property to 1/0. Read more here:

2 Likes