A metaphorical police force imagined to prevent others from having fun.
killjoy (Someone or something that hinders fun.)