Enemy AI Movement/Attack

Hey so I have been reworking these events and I’m pretty stuck again. I went with an object variable for the attack as well. I’m sure you can tell what i’m going for but its not really working and I cant seem to figure out why. Any tips? At this point I feel like it would take me less time to just make one of every enemy and not have to deal with it. But i really want to understand wtf is going on here.

As you can see any time I want to do something to each individual skeleton I have the repeat for each command. Is this whats causing everything to suck?

All of the sub events are organized pretty logically and I have pretty much triple checked everything but I cant seem to find whats going wrong.

If anyone can point me in the right direction here I would be eternally grateful!

current build- https://games.gdevelop-app.com/game-f6ca5003-d238-4ebe-a439-c04255da8063/index.html

Really feels like there is no other option but to create unique variables for each instance of the skeleton.