<P> The team soon lands on a beach and finds the source of the Krabby Patty scent: Burger Beard's food truck . Burger Beard reveals he had stolen the formula by using the book to rewrite the story and then uses it to banish the gang to Pelican Island . SpongeBob uses the book's page that Sandy had to transform himself and the others into superheroes with special powers--The Invincibubble (SpongeBob), Mr. Superawesomeness (Patrick), Sour Note (Squidward), The Rodent (Sandy), and Sir Pinch - a-Lot (Mr. Krabs) but leave the page (and Plankton) behind . They return and find Burger Beard, who runs away with the formula, forcing the team to give chase . During the ensuing battle, the team manages to destroy the book, but Burger Beard overpowers them one by one . </P> <P> Plankton then appears as a muscle - bound hero named Plank - Ton and assists them . Plankton and SpongeBob create one final attack to defeat Burger Beard and retrieve the Krabby Patty formula . After sending Burger Beard flying to Bikini Atoll, Plankton returns the formula to Mr. Krabs, having learned the value of teamwork . The gang uses the final page's magic to return home to Bikini Bottom . With Krabby Patties back, the city is finally returned to normal and Plankton re-assumes his role as business rival, thus returning everything to the status quo . </P> <Ul> <Li> Tom Kenny as the voice of SpongeBob SquarePants / The Invincibubble and Gary the Snail </Li> <Li> Clancy Brown as the voice of Mr. Krabs / Sir Pinch - a-Lot, SpongeBob and Squidward's boss </Li> <Li> Rodger Bumpass as the voice of Squidward Tentacles / Sour Note, SpongeBob's coworker </Li> <Li> Bill Fagerbakke as the voice of Patrick Star / Mr. Superawesomeness, SpongeBob's neighbor and best friend </Li> <Li> Mr. Lawrence as the voice of Plankton / Plank - Ton, Mr. Krabs' arch - rival and Karen's husband </Li> <Li> Jill Talley as the voice of Karen, Plankton's sentient computer sidekick and wife </Li> <Li> Carolyn Lawrence as the voice of Sandy Cheeks / The Rodent, a squirrel from Texas </Li> <Li> Mary Jo Catlett as the voice of Mrs. Puff, SpongeBob's boating school teacher </Li> <Li> Lori Alan as the voice of Pearl Krabs, a teenage whale who is Mr. Krabs' daughter </Li> <Li> Antonio Banderas as Burger Beard, the pirate who stole the Krabby Patty formula </Li> <Li> Matt Berry as the voice of Bubbles, a time - traveling dolphin </Li> <Li> Riki Lindhome and Kate Micucci as the voices of Popsicles </Li> <Li> Dee Bradley Baker as the voice of Perch Perkins and other fish characters </Li> <Li> Nolan North as the voice of Pigeon Cabbie </Li> <Li> Paul Tibbitt (US), Joe Sugg (UK) and Robert Irwin (Australia) as the voice of Kyle the Seagull </Li> <Li> Peter Shukoff as Painty the Pirate </Li> </Ul> <Li> Tom Kenny as the voice of SpongeBob SquarePants / The Invincibubble and Gary the Snail </Li>

Who played the pirate in the spongebob movie