Hello, I've seen some posts about that, but I got no solution for my issue.
I've made a "IA" for the enemies. The part of walking around like mobs and chasing the player works fine for one or multiple instances.
The attack behavior works fine when there's only one instance that should be attacking.
But if I put two or more, the first one to collide with player waits for the second one to attack, and they both do only one attack (like, instead of making two hits, they make only one together).
Here's the image of the enemy attacking
And here's the image of my script: