Help with displaying 4 player health bars

With your help gentlemen, I was able to achieve the results I required.

In my gamemode I created a “Player Number” variable and assigned the integer to the length of the player array from the game state. I then went into my HUD and got the player array from the game state and for each loop I casted to the player state. Lastly, I ran a bool to check if the Player number from the player state was equal to the player I wanted, and if it was I then set the percentage of their health to that particular health bar.

Behold: