A metaphorical police force imagined to prevent others from having fun.
Someone who or something that takes the fun out of life; a killjoy.