[First lines; Mr. Potato Head, portraying One-Eyed Bart, jumps out of a train while carrying money sacks] [laughs evilly]
Money, money, money! Hey!
[Woody intercepts One-Eyed Bart on the train] [approaches One Eyed Bart and puts his boot on his face]
You got a date with justice, One-Eyed Bart.
Too bad, sheriff. I'm a married man.
Hyah! HA! [starts swinging her purse at Woody]
HYAH! [knocks Woody off. Woody screams as Mr. Potato Head laughs evilly then frowns]
Jessie?
Give it up, Bart! You've reached the end of the line!
I've always wanted to go out with a bang! [holds a switch to arm a bomb on the tracks]
Oh, no!
The orphans!
[cut to a group of Troll dolls riding the train]
Hate to leave early, but our ride is here!
It's me or the kiddies, Sheriff! Take your pick!
Yah!
[Bullseye speeds up passing the troll toys and reaching the locomotive pulling the train]
Hold him steady!
[Woody jumps into the locomotive and pushes a lever forward. The train starts to speed up]
Woody, hurry!
[Woody pulls another lever back, activating the brakes. However, the train fails to stop in time and plunges over the edge carrying Woody with it, much to the horror of Jessie and Bullseye, who watch helplessly]
No!
[Suddenly, Buzz Lightyear appears, lifting the train and its passengers out of the canyon]
Glad I could catch the train!
Now let's catch some criminals!
To infinity and beyond!
[Cut to the Potato Heads and the aliens in their car, counting money and laughing evilly] [pointing at the sky]
Ooh!
[Buzz flies above the bandits and slices their car with his laser. After the criminals tumble to the ground, Woody, Buzz, and Jessie enter]
Reach for the sky!
You can't touch me, Sheriff. I brought my attack dog with a built-in force field!
[Mr. Potato Head calls Slinky Dog over with a whistle. Slinky bounces down from the mountains and forms the force field around the Potato Heads and aliens]
Well, I brought my dinosaur who eats force field dogs!
Yodel-ay-hee-hoo!
[the ground cracks apart, and Rex emerges. He roars at the evildoers, but then notices something]
Huh?
[a pig-shaped spaceship suddenly appears. Its driver is Hamm, portraying Dr. Porkchop]
Evil Dr. Porkchop!
That's Mr. Evil Dr. Porkchop to you.
[Hamm teleports the Potato Heads, the aliens, and Slinky onto his ship. He also pushes a button reading, "Death by Monkeys," trapping our heroes with a flood of plastic red monkeys. As Mr. Potato Head reaches toward a button activating a destructive ray, the scene suddenly cuts to Andy's bedroom. The whole scene actually took place in Andy's imagination, as he plays with the toys and a cardboard spaceship]
Buzz, shoot your laser at my badge!
Woody, no! It'll kill you!
Just do it!
[Andy shields Buzz's eyes and pushes the laser button. He uses his finger to trace the laser bouncing off Woody's badge, then knocks the spaceship and its evil passengers towards the ground]





