SpongeBob SquarePants - Season 5 Episode 16 SpongeBob vs. The Patty Gadget Be there and be square!
Overview: Squidward invents a Krabby Patty-making machine to try to make SpongeBob lose his job. SpongeBob will not go down without a fight, so he competes against it.