[Help] [RESOLVED] SideScroller with Stamina/Sprint Function

I have set up a Stamina/Sprint Function using this tutorial on Youtube. Press shift to sprint, stamina decrease. Stop sprinting, stamina increases. However, once i press shift i can no longer move without pressing shift and Sprinting. Any ideas?