If you watch any of the bloopers of Scrubs there is one scene where they pass the ball to Turk and he hits a jumper and Elliot freaks out saying how cool that was and the scene continues throughout the hospital all in one shot. They had to do that scene multiple times because Turk kept missing the shot at the beginning. 

edit: [Found the video](https://www.youtube.com/watch?v=jr7IdHJQfJc)