During a Krusty Krabs and Plankton battles, secret formula disappears and all Bikini Bottom entering a terrible apocalypse. Locals crazy and everyone believes that SpongeBob and Plankton stole the secret formula. The two new comrades creates a time machine to take the secret formula before it disappear and also go to some strange places, including a parallel time you meet a sorcerer named Bubbles of time that is dolphin. The two then go back when stolen formula and bring it back now. They then realized that things are much more tangled than they realized at the beginning and the situation is becoming increasingly difficult for SpongeBob.