How do I make a line trace STOP AND DON T HIT MY CHARACTER when it hits my shield

Collision updating only on listen server, but not on client server could you also help me with this if you have any time?