Here is the scene where our Heroes manage to escape from the Villains but they get attacked by Indominus Rex in War of the Apocalypse.
Carver Descartes: Quick guys! Get in!
(Everyone go inside the ship and they have lift off)
Adagio Dazzle: You want get away from us that easily, Tino Tonitini. Soon you'll belong to the Dazzlings!
(Cut into inside the ship)
Tino Tonitini: *phew* That was close.
Ash Ketchum: Tell me about it.
Lucario: Let's land down there to get some sleep.
(Then they're ship land on the ground)
Rigby: Let's eat dinner. I'm hungry.
Hi-Five Ghost: You said it.
(Later that night everyone are sleeping. Then Rigby's stomach growls and goes to the kitchen)
Rigby: Yeah, yeah, yeah, yeah. Ah, yeah-uh! Pizza Pouch!
(Suddenly Rigby hears a growling noise coming from outside and goes out to investigate)
Rigby: Hello! If there's someone trying to scare us, it's not funny!
(Rigby eats the Pizza Pouch and goes in the forest, he looks everywhere to see nothing)
Rigby: I must be seeing things.
(As Rigby was about to go back to the ship a dripping saliva drips on Rigby's head)
Rigby: Eww! Where is that saliva coming from?
(He looks up and he sees the Indominus Rex above him)
Mordecai: Rigby! What's wrong?! (sees the Indominus Rex) AAAAAAAAAAAH!!!!!
(Indominus Rex roars)
Mordecai: Run for it!!!
(They run as fast as they can as they made it to the ship they start banging the door over and over)
Mordecai: Dudes! Let us in! Let us in!
Sunset Shimmer: (Wakes up) What's going on?
Rigby: It's Indominus Rex! It's going to kill us all!
(They turn to see Indominus Rex burst out of the trees and charges towards Mordecai & Rigby)
Tino Tonitini: (Opens the door) What's going... (He sees Indominus Rex) DAH!! It's Indominus Rex! Get in!
(Mordecai & Rigby runs inside as Tino closes the door, Indominus Rex tries to get in but the door closes)
Ash Ketchum: What's wrong?!
Mordecai: It's Indominus Rex!
(Indominus Rex rams the door trying to break in)
Serena: What's wrong?
Rigby: That thing was trying to kill us!
Zoe Drake: Who?
(Then Indominus Rex manage to make a hole on the door and sticks her head inside the ship and roars)
Max Taylor: Indominus Rex!
Ash Ketchum: Uh, oh!
Emerl: Not that thing again!
(Indominus Rex uses her strengh to break the door and finally gets in the ship and attacks the heroes)
Double D: Oh dear, we're goners!
Tish Katsufrakis: What do we do now?!
Twilight Sparkle: We have to lure it out of the ship!