Five years after the events of the first film, the Duplo invaders have turned Bricksburg into a post-apocalyptic wasteland. While his friends have become hardened over the change, Emmet remains upbeat, and he inadvertently draws the attention of General Sweet Mayhem from the Systar System. Mayhem, with the help of the Duplo invaders, capture Emmet's friends and takes them back to the shape-shifter Queen Watevra Wa-Nabi, who has great plans for taking over the universe. Emmet teams up with intergalactic hero Rex Dangervest to launch a rescue mission.