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

ok i think you are tracing wrong

tracing works by drawing a line in the direction you are facing, from you to a point in space

so you need to draw “from sword” to an area X amount ahead of your sword