How to make NPC reactively parry?

I have enemy NPCS that attack the player. I want the enemies to be able to parry the players attack. At the moment the NPCS just randomly choose to parry or attack, which is not ideal. How would I make them parry whenever they get attacked?

1 Like

I don’t understand what you mean by ‘parry’ is it a style of attack, or?

like when you perfect block the attack

You could make it so the NPC will always pick to ‘parry’ the attack that the player created. You could do this via Humanoid.HealthChanged event. Look into the documentation related to it, I linked earlier. This should provide more insight