Amphetamines are the way to go to pull an allnighter.
No seriously, energy drinks may help you stay awake. If you're old enough (which you're probably not) you could have a few cigarettes. Nicotine is a stimulant. Besides that is something that keeps you a bit distracted, like music or a tv.