Take another look at the sentence:
Samantha made pizza for the party, which was gooey with extra cheese.
Which was gooey with extra cheese, a relative clause, comes right after party, an illogical target. The pizza, not the party, is what's gooey with cheese!
Before you continue, review the rules for misplaced and dangling modifiers.