Shared Health & Hunger With weird Role.
So basically Im trying to make a datapack, that when I use a command, everyone in will get a randomized partner. ( this part is also random ) One of the partner's will be able to see the health bar, and the other will be able to see the hunger ( they both have a linked up health bar and a linked up hunger bar )...
Its also a life system thing, so if you are at 3 lives, you are at Lime colour... 2 lives and its yellow, and red is 1 life. After that you are put in spectator..
ALSO there is a command where if u use it, it goes to 3,2,1, and then gives you a random person, and that person is now a person you cant pvp... ( as in I want it so u litterally cant pvp them if you try) and I want to make sure that everyone gets picked once. Not completly random where one person gets picked like 3 times by different people and some get picked never.