here is the code
the code is supposed to play a walking sound when moving forward and stop when not moving but instead it plays the sound everyframe that makes a horrible