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

and this happens when i get really close to the character, also this is on client server( with 2 players and it happens when i hit the 2nd one)