Leg shaking

How do you exactly get to the point where your legs shake?