How can I apply damage to my player character? And sync value across players

Options

I am trying to develop a small multiplayer game. I have a bomb script and every time player hits the bomb button, a bomb is instantiated and exploded after the timer is up. I applied a overlapping sphear to get players in effecting area.. And the players in the area are getting the bombs explosion effect as in getting force from explosion. All works fine expect my damage script. Once a player is damaged all players get that damage. I tried making health an observable component. But all coming up with errors.

How would you approach this problem

Answers