The second-to-last event in your screenshot makes the projectile follow the player every tick - that’s why it doesn’t stay on the enemy.
Also, why are you using so many movement behaviors? Follow, MoveTo, and Bullet all conflict with each other.
Instead of the Follow behavior, you can just attach the sprite using the hierarchy. The logic would look like this:
> On start of layout:
Add Projectile as a child to the Player (sync X and Y)
On click
Player Pick child Projectile:
Projectile set bullet enabled and launch in mouse direction
Projectile on collision with Enemy:
Projectile set position to Enemy
Enemy add Projectile as a child
Every 1 second
Enemy Pick child Projectile:
Enemy subtract from Health
So i tried your child thing for the enemy damage, but didnt seemed to work, so i proceeded to do something else, and now it works, but the problem is every instance of that ennemy gets destroyed when the health reach zero, im sure i need to use the UID system but didnt seemed to work..