First, please edit your post and use code tags as per Using code tags properly so it is easier to read your code.
Second, which debugging steps have you tried?
A few well placed Debug.Log() statements will tell you pretty quickly if the script is receiving input or not. That could quickly narrow your problem down to either an Input problem or an animation problem.