Hi,
these tutorials are key for you to acquire the necessary knowledge to achieve what you want.
- can you already manage pun connection, create and manage room, player?
once you master that, making the additional hit system requires:
- understanding fsm network variables ( covered in the tutorial)
when player A start firing, all your player A instances will start raycasting, on the player B owner instance ( when ismine is true), you will watch if you are being hit and deduce health to yourself, health will be a network variable, and all players adjust their respective hud to visualyze their health, using this network variable.
so it's critical that you go through the tutorial fully, because everything is covered for you to then implement this shooting feature.
Bye,
Jean