My footstep script isn't working. Somebody can help me?

(I fixed the problem.)

Are you assigning footstepSound.isPlaying as true?