I'm trying to make a minigame. When a player eventually dies, they'll go into spectator mode. How do I make it so that dead player can no longer be hit/pushed? EDIT: To clarify, by spectator mode I mean the player will be able to fly, but they will be invisible and unable to be hit. Another way is to disable the custom hotbar created when a player is in spectator mode. I don't know how to do either of these.