Having a problem with a particular piece of code?

Too hilarious not to post.