Character rotation messed up when playing attack animation

Hmm it seems to happen still after modifying the capsule. also the second one is player two not an ai