Action RPG Inventory System

Hello there. When I send Line Trace in multiplayer, the beam passes through the character. I can write on the screen when the beam hits the wall, but it does not work on this character.

I want to reduce the HP of the character when the line trace hits the character. But the light passes through the character. It does not hit the character.

Looks like that
bf5071a4eaad9dcf5767d2bcbb3c579e84471798.jpeg

8543ee1ea00741daeed255ba4029087ddaace96b.jpeg

But, I do not have the same problem when I send it to the NPC.

f151ee2c1485e13ebc851bdefdcda1da3c3c9827.jpeg