This is how Optimus' important message and Umarak steals the crown goes in The Great Equestria Girls Adventure.
[We see Optimus in recharge]
[A guard walks through a corridor. We see Twilight's room. The door opens and a cloaked figure comes out and walks over to the bed. The figure knocks into a desk and a lamp falls, but the figure catches it before it hits the ground. The figure looks at Twilight, then at Spike. The figure smirks, takes Twilight's crown from the bedside desk, replaces it with a fake, and puts the real crown in a bag. The figure attempts to sneak off but trips over Spike's tail]
Umarak the Hunter: [hits the ground] Ugh!
Twilight Sparkle: [half asleep] Huh? What? [turns and sees her crown in the figure's bag] My crown! He's got my crown!
[The figure runs out of the room and into the corridor]
Twilight Sparkle: Stop! Come back! THIEF!
[She runs past her friends and the Autobots and the Toa as they wake up]
Twilight Sparkle: He's stolen my crown!
[Her friends and the Autobots and the Toa gasp and give chase. The figure runs down another corridor and Twilight gallops after it. She teleports in front of the figure]
Twilight Sparkle: Stop!
[The figure teleports and its cloak gets in Twilight's face. The figure reappears behind Twilight, it's Umarak the Hunter! Umarak runs off and hurries down the corridor but then sees Twilight, her friends and the Autobots right behind him. Twilight starts catching up and Umarak speeds up until Twilight pounces on him and they tumble into a room. There, the crown falls out of Umarak's bag, bounces off a wall and into a mirror. Twilight, her friends, and the Autobots gasp]
Twilight Sparkle: What did you do with my crown?!
Smokescreen: Yeah, what was that for?!
Umarak the Hunter: Sorry it had to be this way... [teleports to the mirror and smirks] Princess.
[Umarak smiles before jumping through the mirror as well. Twilight, her friends, and the Autobots gasp again]
Fluttershy: Who was that?
Ratchet: I have a feeling I might know.
[The next morning]
Princess Celestia: Umarak the Hunter.
Twilight Sparkle: He's one of the Toa's enemies.
Princess Celestia: He probably thought that Twilight was going to realize too late that the fake crown was not hers and by the time she did, it would be too late to go after her crown and Element of Harmony.
Twilight Sparkle: But I don't understand. Where did he go? Why did he take the crown?