Hi Ihaveaquestionguy, this is just a premade animation.
When the character receives an impact, it reacts with the animation, just a play anim montage, if he´s blocking with the shield then I play another montage.
Shield blocking is just a boolean, if it´s true then I check the direction of the hit, and if the hit came from a “front” angle then I play the block animation.
This angle calculation could be used to play difrferent hit anims if hitted by backwards or anythink too.
Anyway, the basic blocking system (without stats, etc), but with anims can be downloaded from the couch knights example, trought the marketplace.