Enemy not giving desired results ! Please help

Hello
I have one enemy in my scene and it’s moving on the platforms …
Now when the player goes towards it and attacks I want the enemy to dye after 3 attacks of player
For this I tried adding it -


and

According to me I didn’t find any problem but there is and I want to know that only
Please tell me where is the problem??
When I preview the game I get the result as -
The enemy performs “dye” animation only in first attack of player
Please help
Thankyou! :grinning:

Can you tell me what’s the problem?

I described it -
The enemy performs “dye” animation only in first attack of player

You are checking if the Health of spider = 1 then changing the animation. Try checking if the Health of spider = 0 then change its animation. Also, add a trigger once in this event.

2 Likes

Oh! I am stupid
These was a small thing I didn’t thought of
Thankyou @Muzan for helping :smile:

1 Like