When I melee attack my AI, I deal damage to myself?

Maybe you call get player controller on the AI actor, which then returns null. Some blueprint nodes seem to fall back to “myself” when the controller input is null, so maybe thats what happens in your damage-application-function-thingie (otherwise: provide more info, screenshots, blueprints. We are no allseeing magicans here)

I have set a melee system up that seems to work fine. However I keep damaging myself when I attack my AI. I’m not sure why, because if I attack the air I don’t hit myself, only when attacking my AI bot. (My AI doesn’t deal player damage yet).

My sword has its own collision that can be turned on an off too.

Kagamusha, could you provide screenshots of your blueprints? This helps us to help you!

Turns out that I had to make it so any registered hits ignore my player character. There are many ways to do this but I eventually made one base enemy class and then used the collision of the weapon to search for that base class via a cast. If the cast is true it damages that specific class any other class and it won’t damage it