Sneak - What's wrong with my code?

You want the character to be walking while its panning?