Enemy HP bar for multiplayer

Can anyone advise on how to make the enemy HP bar for multiplayer. My problem is that if one player sees this bar, the other player will see it through the wall. My HP bar is a widget with a screen space that becomes visible when any player sees this enemy.