If The SpongeBob SquarePants Movie was produced by Walt Disney Pictures

The SpongeBob SquarePants Movie is a 2004 American live-action/animated comedy film based on the Nickelodeon animated television series SpongeBob SquarePants. The film was co-written, directed, and produced by series creator Stephen Hillenburg, with live-action sequences directed by Mark Osborne, and features the series' cast of Tom Kenny, Bill Fagerbakke, Clancy Brown, Rodger Bumpass and Mr. Lawrence, while also starring Scarlett Johansson, Jeffrey Tambor, Alec Baldwin and David Hasselhoff. It was produced by Hillenburg's production company United Plankton Pictures, Rough Draft Korea as the animation studio, Nickelodeon Movies and Walt Disney Pictures and released in theaters by Buena Vista Pictures Distribution. The events of the movie take place at the end of the series. It is the first film in the SpongeBob SquarePants film series. In this film, Plankton devises a plan to discredit his business rival Mr. Krabs by stealing King Neptune's crown and framing Mr. Krabs for the crime. SpongeBob and Patrick must retrieve the crown from Shell City to save Mr. Krabs from Neptune's wrath and the oceanic world from Plankton's plan.

Previous offers by Paramount Pictures for a film adaptation of SpongeBob SquarePants had been rejected by Stephen Hillenburg, but he eventually accepted one offer in 2002. A writing team consisting of Hillenburg, Paul Tibbitt, Derek Drymon, Aaron Springer, Kent Osborne and Tim Hill was assembled, conceiving the idea of a mythical hero's quest and the search for a stolen crown, which would bring SpongeBob and Patrick to the surface. The film was originally intended as the series finale, but Nickelodeon ordered more episodes of the series as it had become increasingly profitable, so Hillenburg resigned as showrunner with Tibbitt taking his place.

The film was widely promoted by The Walt Disney Comapy and Nickelodeon, with tie-in promotions made by 7-Eleven, the Cayman Islands and Burger King, which decorated various of its franchises with 9-foot (2.7 m) SpongeBob inflatable figures. The film was a box office success, grossing $140 million worldwide,[3] and received generally positive reviews from critics.

A stand-alone sequel titled The SpongeBob Movie: Sponge Out of Water was released on February 6, 2015, and a second sequel titled The SpongeBob Movie: It's a Wonderful Sponge is scheduled for a release of July 17, 2020.

Plot
A group of pirates find tickets to The SpongeBob SquarePants Movie in a treasure chest and enter a theater to watch the film.

SpongeBob SquarePants is dreaming about managing the Krusty Krab restaurant and saving the day during a crisis. He wakes up and cheerfully prepares for the opening ceremony for the Krusty Krab 2, expecting his boss, Mr. Krabs, to promote him to manager of the new restaurant. Instead Krabs names Squidward Tentacles as manager, believing SpongeBob is too immature to handle the role, much to SpongeBob's disappointment. Meanwhile, Mr. Krabs' business rival, Plankton, complains about his failures to Karen (his computer wife), being unable to steal the Krabby Patty Secret Formula, and so on; exhausting plans A-Y, Plankton at Karen's correction finds Plan Z, which he begins to enact.

That night, SpongeBob goes to his favorite restaurant, Goofy Goober's Ice Cream Party Boat, where he drowns his sorrows in ice cream with his best friend, Patrick Star. Elsewhere, Plankton steals King Neptune's crown, leaving false evidence to frame Mr. Krabs for the crime, and sends the crown to Shell City, a distant, mysterious land from which no fish has returned. The next morning, Neptune barges into the Krusty Krab 2 and threatens Mr. Krabs for his alleged thievery. SpongeBob later arrives and chastises Krabs under the influence of an ice cream headache, but seeing his boss's life is at risk, he promises Neptune that he will retrieve the crown from Shell City. Neptune is convinced by his sympathetic daughter Mindy to spare Mr. Krabs for the time being and freezes him instead, ordering SpongeBob to return with the crown in six days for him to spare Krabs' life. Mindy gives SpongeBob a Bag of Winds so that they can return from Shell City once they find the crown. SpongeBob and Patrick leave for Shell City in the Patty Wagon, a car shaped like a Krabby Patty.

After SpongeBob and Patrick leave for Shell City, Plankton steals the Krabby Patty formula and uses it to produce and sell Krabby Patties at his restaurant, the Chum Bucket, claiming that Krabs bequeathed the recipe to him before Neptune froze him. He also gives free 'Chum Bucket Helmets' with every Patty. However, the helmets are in fact mind control devices which Plankton activates to control Bikini Bottom's residents and take over the city, after Squidward's failed attempt to report him to King Neptune.

As their journey continues, SpongeBob and Patrick reach a dangerous, monster-filled trench. After coming to the conclusion that they cannot complete their journey due to just being 'kids', they tearfully give up. Meanwhile, Plankton banishes Mindy to the trench, where she will be eaten. Mindy goes there on King Neptune's carriage, arrives at the trench, and helps SpongeBob and Patrick go through the trench. She pretends to use her 'mermaid magic' to turn them into men. With their confidence boosted, they brave the trench but are confronted by Dennis, a hitman hired by Plankton to eliminate them. He prepares to crush them with his spiked boots, but he is in turn stepped on by a hardhat diver they believe to be a Cyclops. The diver grabs SpongeBob and Patrick, and takes them to his beachside store, revealed to be Shell City.

At the store, SpongeBob and Patrick find the crown, but are killed when they are dehydrated by the Cyclops' heat lamp. Their tears short-circuit the lamp's power cord, and its smoke activates the sprinkler system, reviving them and the other dried sea creatures intended to be sold as souvenirs. As the vengeful sea creatures attack and overwhelm the Cyclops, SpongeBob and Patrick take the crown and head for the beach but Patrick inadvertently loses the Bag of Winds while attempting to use it. Fortunately, David Hasselhoff appears and offers them a ride. He swims from the beach to Bikini Bottom carrying them on his back. Dennis catches up to them but is knocked by a catamaran back into the sea. Hasselhoff opens up his rocket launching pecs to shoot SpongeBob and Patrick back to Bikini Bottom with the crown.

At the Krusty Krab 2, King Neptune arrives to execute Mr. Krabs. Mindy returns to the Bikini Bottom and waits impatiently for SpongeBob to come back. SpongeBob and Patrick return with the crown just in time thanks to Hasselhoff launching them through the roof of the Krusty Krab 2. They confront Plankton, who drops a mind-control bucket on Neptune, enslaving him. Before Plankton can direct Neptune to kill them, SpongeBob bursts into song, singing "Goofy Goober Rock" (a parody of Twisted Sister's "I Wanna Rock") and transforming into an electric guitar-wielding wizard. He uses his guitar as if it were a magic wand to destroy the mind-controlling helmets, freeing Neptune, Squidward, Gary, Sandy, Mrs. Puff, and the rest of Bikini Bottom's residents from Plankton's rule. Plankton tries to escape the Krusty Krab, but is stepped on and crushed by other citizens. After that, Plankton is arrested, and Neptune thanks SpongeBob for his bravery, thaws Mr. Krabs, and apologizes for falsely accusing him. Mr. Krabs decides to make SpongeBob manager of the Krusty Krab 2 in gratitude.