Andrew picked up a 'Skyrocket Toy Snake in a Flashlight' prank for $5 and decided to have a little fun with it. 

We decided the concept was a good start, but flawed. The spring wasn't big enough, nor was the snake.

Also, because people usually open flashlights very slowly and carefully, this prevents the snake from really flying out at you.