I need help with Pawnsensing

Ok so i am trying to setup pawnsensing for friendly AI so they follow you, that works fine, and then when an enemy appears they attack it - again works fine, but they then stop following my character.

I tried adding a bool value to be set to true when you are noticed and are being followed and then adding the “ai move to” to event tick , works fine AI will follow me no matter what BUT now they wont attack enemies properly.

I’m stumped as how to get friendly AI to follow you, see an enemy attack it kill it then come back to following you without having to go and run in their range again.

Nevermind i figured it out.