Something or someone that spoils an otherwise enjoyable event.
party pooper
noun
One who dampens fun; especially, one who declines to participate in or enjoy a party or some other group activity; one who does not agree with the opinions of a group.
How often have the words craic killer and party pooper occurred in a corpus of books? (source: Google Ngram Viewer )