Here's when Tirek comes to Canterlot castle in Thomas' Place as a Prime.
Sharky: What is it?
Mako: You won't believe it! Tirek's has eaten so many crystals, that's he now 32ft in height! And he wants to use the Matrix of Leadership to bring back Megatrain's army!!
T.C.: Tirek wants to what?!
Mako: USE THE MATRIX OF LEADERSHIP TO BRING BACK MEGATRAIN'S ARMY!!!
Brian: What, you're kidding? Right?
Ratchet: The Matrix?
Quagmire: Why the Matrix, Mako?
Mako: Do I have to ask twice?!
Gustis: Because the Matrix is like a key.
Vanellope: We can't let him get it.
[then Pincher comes racing in]
Pincher: He's coming here! Tirek is coming to the castle!
Hugs: What?! But the Princesses aren't involved in this!
Pincher: I know, but Mr. Centaur and giant stupid poultry head thinks they have the Matrix.
Spongebob: Only a Prime can wield the Matrix.
Pincher: I knew that, but he doesn't. We've got to guard the Princesses!
Ernie: OPTIMUS PRIME!!!!!
Twilight: [gasps] Ernie!
[We see the 2 outside]
Ernie: YOU HAVE SOMETHING THAT BELONGS TO US AND YOUR GONNA HAND IT OVER!!!
Tirek: Let me handle this. OPTIMUS PRIME!!!!!, YOU HAVE SOMETHING THAT BELONGS TO US AND YOUR GONNA HAND IT OVER!!!
Cleveland: Here he comes!
Joe: Block the doors!
[they do so]
Mucker: Wait a minute! Even with all this, he'll still be able to break through! We've gotta get our weapons ready!
Brian: Mucker's right! We have to fight back!
Spongebob; [takes out his revolvers] I'm ready!
[Tirek comes in]
Tirek: Knock, knock!
Brian: FIRE!!! (fires his gun)
Spongebob: [starts shooting Tirek]
[soon the rest of our heroes join in too]
Tirek: AAAHH!!! AAAAAHHHH!!
Peter: [starts kicking Tirek] Road house! [kicks him again] [And repeats saying "road house"]
Tirek: Wait, can I just talk to the Princesses? [gets kicked by Peter] AAAHHH!!
Brian: Only if you swear, not to pull any tricks.
Rattlesnake Jake: And if ya' do, we'll send ya straight down ta' Hell!
Tirek: Okay, okay! [to Ernie] Stay right here incase they do something.
[Tirek starts walking up to them, with our heroes following close behind with their guns on him (with Ernie) watching them]
Skyla, Yuna and Snowdrop: Tirek!
Princess Luna: [puts her wings in front of the young fillies] It's okay girls, stay behind us.
Princess Celestia: What do you want Tirek?
Shining Armor: Are you here to get us?
Tirek: No, I just want you to hand it to me.
Cadance: Hand what?
Brian: [whispering] He thinks the Princesses have the Matrix.
Tirek: You know what I mean, hand it to me. [holds out his hand]
Princess Luna: I'm afraid you've got the wrong beings, we don't have the Matrix.
Tirek: Don't be ridiculous, I know you do.
Yuna: [runs put from her mother's side and steps forward] You heard my mother! They don't have the Matrix! You stupid centaur, only a Prime can wield the Matrix not my Mama or my aunt!
Tirek: Nice try, now..... Wait, what?
Yuna: You heard me! Only a Prime can wield the Matrix not my Mama or my aunt!
Ernie: Yeah right. [slaps her]
Princess Luna: YUNA!
Ernie: Listen kid we don't have time for this, now where is it?
Vanellope von Schweetz: Hey you! Chicken boy! Listen here, if you dare hurt Yuna your gonna be dealing with me! I'm gonna squash you like a car to a insect, you'll be sorry.....
Ernie: [loosing his temper] SHUT YOUR MOUTH, PIXEL GIRL!!!!!!
Vanellope von Schweetz: [faints by his yelling]
Ernie: [looks back to Yuna] Where are they?!
Tirek: Wait! You mean, I came all this way, to the wrong ones?
Optimus Prime: Yeah! [points his Ion blaster at Tirek] Only a Prime can wield the Matrix, you stupid centaur!
Tirek: Alright then, give me the Matrix.
Optimus Prime: [opens his chest to reveal nothing]
Tirek: [looks inside the opening] Where is it? Where's the Matrix?
Optimus Prime: I'm not telling you. [he brings him arm up and deploys his energy sword and points it at Tirek's neck] You are not getting that army, nor am I giving the location of the Matrix!
Tirek: [as Megatron] Oh, so unwise. [he freezes him]
Brian: [as Frodo] NOOOOOOOOOOOOO!!!!!!!!!!!!!
Squidward: Who turned up the AC? [gasp] Optimus! [taps Optimus' leg] Oh no! This is terrible!
Enie: Well, so much more the Autobot leader that is.
Sargeant Calhoun: Time to take down this thing! [takes out his assault rifle and starts shooting Tirek]
[soon our heroes join in too. Meanwhile, the Miner Trains evaguate the Princesses and carry Optimus out]
[Peter and the guys are fighting Ernie. Until Ernie threw them both to hit the floor)
[they all fall down]
Quagmire: For a weirdo who wants to kill you Peter, he's pretty tough.
Tirek: GRAAAAHHHH!!!! [fires a giant magic beam at our heroes]
[the blast sends a shockwave out which sends them all flying]
Everyone: WHOA!!!! [lands on the floor]
Tirek: Stupid dog and his friends. [then he turns to where the Princesses were] Huh? Where'd they go? Oh well. [then he notices a flag with a picture of Thomas with the Autobots logo] The blue tank engine's a Prime?
Ernie: Yeah, havent you herd? The Really Useful Engine is a robot, who can hardly! [laughs] Hardly! [laughs] Hardly! [laughs] Hardly!
Tirek: OKAY, I GET IT!!!
Tirek: Hop on!
[Ernie hops on his flank and they race away]
Ernie: [as Zurg] Evil rules! [laughs]
Applejack: Oh, what are we gonna do y'all?
Rarity: Of all the worst things that could happen, this is.. THE... WORST..... POSSIBLY.... THING!!!! What? I really mean it this time!
Zip: We've got to get to Ponyville before Tirek does!
Brian: But we'll never make it time!
Spongebob: We'll use the secret way!
[they all run up to a rock with a secret door on it and race into it, then they all come out from another rock just outside Ponyville]
Spongebob: I knew this secret rock tunnel would come in handy!
Sargeant Calhoun: Alright, let's split up and find that tank engine! Some of you go that way, and some of you go this way!
[the group splits up and while the Princesses and Brian race one way on their own]
[Back to Patchy]
Patchy: [laughs] I told you Thomas, will become a Prime. But now he has to protect the Blue Ruby, Black Pearl and the Matrix of Leadership.
Patchy: Whoa! Potty!
Potty: Laser guns! Way more cooler!
Patchy: Well, I go something for you a real live cavemen! Hey, there he is! Come on in, little troglodyte fella. Come on… [the caveman is very slowly approaching] You see kids, I found him frozen in a block of ice and then I spent three days thawing him out with my mom's hair dryer. I call him Cavey. [the caveman approaches the camera, and recoils in horror. Patchy chuckles] Isn't he something? It's OK, Cavey.
Potty That's nothing, old timer. Make way for the future. [a door swings up and a robot enters the room]
Robot: Greetings. I am the X-29488. How may I serve you?
Patchy: Where do you keep getting all this stuff?
Potty: Never you mind, pops. Let's go see what Cavey thinks. [squawks. Cavey slowly approaches the robot, and touches it. The robot's eyes start flashing red. A siren goes off]
Robot: Attack!!!!!! Attack!!!!! [Cavey starts to run off and the robot gives slow chase, shooting lasers at him. For every shot]
Patchy: Potty!! You're ruining me Transformer show!
Robot: Attack!!!!! Attack!!!!!!!! [the robot continues to shoot lasers. Cut to the exterior, which is rumbling]