My Character Can't Walk

First of all, I’m making a game and I think something went wrong while I was making the tilt button. My character slides instead of walking when I press the walking button, so he doesn’t move his legs. How can I solve this problem? Can you help me please?