Here is how Twilight, Spike, and Code Red return to Canterlot High and how a plan is made in the cafe in Code Red's Adventures of My Little Pony Rainbow Rocks.
(we see the girls waiting)
Human Rainbow Dash: So how do you think Code Red's doing?
Air Strike:(appears behind her) Were you asking about us?
Human Rarity:(yelps in fear)
Sunset Shimmer: You guys came out of nowhere.
Nighlock: Well, that's our job. You girls waiting for someone?
Human Rarity: We're waiting for Twilight.
Human Rainbow Dash: I'm starting to think she's not coming.
(Twilight and Spike then came through the portal with five others)
Twilight Sparkle: I'm back.
Nighlock:(sees the Guardians of the Galaxy) Who are they.(helps up Twilight)
Twilight Sparkle: They're the Guardians of the Galaxy.
Taser: We're so glad that you're Twi.
Twilight Sparkle: Yes and I have some bad news about those new girls.
Human Mane 5:(worried sounds)
Bucky Barnes: We kinda figured that out.
(Later at the café)
Human Rarity: Oh, I do hate that you all had to return at a time of crisis. There's so much catching up to do!
Twilight Sparkle: I know. What's new here? I mean, besides CHS becoming the target for dangerous magical creatures from Equestria?
Human Rainbow Dash: Well, that's not the only strange thing that's happened since you left.(shows her a video of them ponying up)
Human Applejack: We've got nothing ta worry about now that Twilight and Code Red's back.
Nighlock: We'll bring 'em in if we have to.(activates his blaster and sets it to stun)
Red Smoke:(puts red smoke on her sai)
Taser:(takes out some cuffs)
Human Applejack: And that's not all. Some blue haired boy was askin' about Twilight, earlier today.
Twilight Sparkle: Flash Sentry was asking about me?
(everyone smirks, with Deadpool clearly having the widest smirk)
Twilight Sparkle:(clears throat) Oh, isn't that nice? Anyways, any idea on how to find the Dazzlings?
Human Pinkie Pie: Oh, There's a big party tonight for all the bands who signed up in the showcase. That would include the Dazzlings.
Twilight Sparkle:(smirks) Well it looks like we've got a party to crash.
Human Pinkie Pie:(squee)
Rocket Raccoon: One problem though.
Nighlock: Two problems actually.
Rocket Raccoon: It's not technically crashing the party if you're invited. Everyone knows it only works with people who haven't been invited.
Human Pinkie Pie:(hair deflates)
Nighlock: And we'll need a distraction for you girls to get to them.
Peter Quill(Star-Lord): I think I have one.(inaudibly explains)
Deadpool:(turns and winks at the screen)
(the screen circles his eye as it goes black, and takes off his eye)
Deadpool: Laugh it up jerk.
(lights turn off)