Player is damged when running into weapon

So my TPC keeps taking damage whenever the AI runs into him. I only want damage to occur when the AI’s weapon is swung and hits the character. I did pretty much this same code for the TPC and it works, but not for the AI for some reason.

No longer using this character, don’t worry about answering question, thanks.