Animation state machine playing automatically even when the transition rule isn't true

The attack animation begins looping automatically until i overlap the box collision which activates the AI of the spider, then everything starts working correctly.
In the first image you can see the transition rule and in the second you can see the method I’ve used to getting the bInAttackRange boolean from the main blueprint.

Additional question: When i place 3 - 5 instances everything works fine and they all behave as expected but when up to 10 instances are placed close to eachother, some of them just freeze in place.

Any help would be so appreciated. Thank you.

225194-1.jpeg