I Need Help With My Attacking System

I fixed it. but when you press space they all are destroyed at once

1 Like

That’s because all objects of that type receive that message.

To work around it, have the same message sending it to the enemy, but this time turning on a switch.

The enemy will have proximity with player, x and y into an AND block, connect the output of the AND to the input of the switch, the output of the switch destroying the enemy.

Sorry if it sounded complex, I can’t make an example at the moment. If you still need one by Thursday, I’ll be available then.

1 Like

Yes please

I’ll make one as soon as I eat breakfast and take a shower LOL