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

it s basically how i get the character damage and this is where it happens
image_2023-03-12_151214196