Behaviour tree AI attacking Player

In your ZombieInRange Service you are trying to cast to MainCharacter. But tue Actor you geht form the Receiver tick is your Zombie. So the cash will always Fail.