Sheldon J. Plankton

Plankton is normally a primary antagonist of the animated series, Spongebob Squarepants, and was even the main antagonist of The Spongebob Squarepants Movie. However in the film's sequel, The Spongebob Movie: Sponge Out Of Water, Plankton has a more anti-heroic role

The Spongebob Movie: Sponge Out Of Water
While in the middle of yet another scheme to steal the Krabby Patty secret formula, the formula unexpectedly vanishes after Burger-Beard writes on the magical book he found. After Mr. Krabs and numerous citizens of Bikini Bottom were accusing and berating at Plankton for being the culprit, Spongebob convincing to them that he's innocent rescues him with a giant traveling bubble as they escape the hostile people who suddenly formed a group of apocalyptic sufferers.

As Spongebob and Plankton watch Bikini Bottom become an apocalyptic wasteland, Spongebob tries to get Plankton to become his teammate, which Plankton was reluctant with joining Spongebob's side pronouncing "teammate" as "tee-am-mate". Spongebob tries to get Plankton to understand the meaning of teamwork, which Plankton barely understands. After trying to find the secret formula in Spongebob's brain that's literally full of kindness and sweetness, Plankton and Spongebob decide to time travel to get back the secret formula. So they sneak into the Chum Bucket to rescue Karen who was imprisoned by the savage people, and use her as a power source for a time machine made out of parts from an abandoned taco restaurant, then they go to the future where they meet Bubbles who has a job to look after the cosmos. Then when Spongebob and Plankton mistakenly made Jupiter and Saturn crash into each other, Bubbles finds out and starts shooting at them because what they've done could make him lose his job. Spongebob and Plankton escape and try to go to the past where they see Bikini Bottom a few days in the future in a desert like state where a bearded future Patrick told them that everyone given up on finding the Krabby Patty secret formula. Then while they go right to the past day when the secret formula disappeared, Plankton distracts their past selves as Spongebob takes back the secret formula.

On the way back to the present, Plankton started to get used to teaming up with Spongebob. However, when they got home and showed the formula to everyone which turned out to be a fake one that Past Plankton was replacing the formula with with an "in your face" note for Mr. Krabs. This angers the savage people even more, as Plankton angrily accuses Spongebob for making that foolish mistake of taking the wrong formula. An upset Spongebob argued that they're supposed to be teammates, and that it's selfish to take something like secret formula to yourself. After the toen threatened to sacrifice Spongebob since Sandy believed it could be a gift to the "burger gods", Spongebob then tells everyone that he smelled a familiar scent coming from far away, and when they finally smelled it also, Spongebob gets Patrick, Squidward, Sandy, and Mr. Krabs right up the where the scent is coming from. Plankton secretly joins in hiding in Spongebob's sock. Bubbles returns and thanks Spongebob for having him be free from his job and offers Spongebob and his friends the ability to survive above the surface, and launches them up to the beach. As they face Burger-Beard, who's the culprit of stealing the secret formula to open up his new restauantt, he uses the magic book to banish them to Pelican Island to be devoured by the pelicans there. While there, Spongebob was fortunate enough to find a page from the magic book and uses a pelican feather and Squidward's ink to write them back to fight Burger-Beard as superhero counterparts (Spongebob as the Invincibubble, Patrick as Mr. Super-Awesomeness, Squidward as Sour-Note, Mr. Krabs as Sir Pinch-a-Lot, and Sandy as the Rodent). Little did they know Plankton sneaks in to write something as well in.

While fighting against Burger-Beard, Plankton, as the giant muscular Plank-Ton, surprising comes to rescue Spongebob and friends and defeat Burger-Beard, revealing that he also wrote for himself to become a superhero and to rescue Spongebob from Burger-Beard. Then Plankton knocks Burger-Beard straight to the island above Bikini Bottom. Then as Plankton gets a hold of the secret formula, instead of taking it for himself, he decides to give it back to Mr. Krabs and thanks Spongebob for teaching him about teamwork, and how selfish it is to keeps things to himself, and offers Spongebob the remaining page to take them back home and set things back to normal. Then as the Krusty Krab goes back in business with Krabby Patties returning to Bikini Bottom, Planktonm the decides to go back to his role as the business of the Krusty Krab back to his formula stealing schemes jist to keep things the way they're meant to be. As Spongebob catches him he uses Gary to scare him away, and then he waves goodbye to him saying, "See you later, 'tee-am-mate'!"