In the 3D editor you've used to create your model, does the walk animation actually physically move the root bone of the skeleton? If the root bone remains stationary then so will the headcrab.
If you're unfamiliar with this concept, then I suggest decompiling the model and opening it in a 3D editor and viewing the walk sequence and see how it causes the root to physically move away from the editor's world origin.