Mr. Krabs: [looks around the Krusty Krab with a telescope] Where could they be? They should've been here hours ago! Arrgh! Not a customer in sight. If I don't make any money today, I'll surely break out in a rash!

SpongeBob: Yippee! I'm rich! Look, Patrick, eight gold doubloons!

Mr. Krabs: Wait, I saw it first! Hyah! [jumps onto the table and sweats] Mine, mine! Huh?!

SpongeBob: Boy, Mr. Krabs, you sure are sweaty.

Mr. Krabs: What's this? Where are the doubloons?

SpongeBob: [laughs] There are no real doubloons, Mr. Krabs! It's a game: "The Flying Dutchman's Treasure Hunt."

Patrick: Based on a real treasure map.

SpongeBob: Take a break and play around with us.

Patrick: Yeah! C'mon, sweaty.

Mr. Krabs: Have you finished cleanin’ the tables?

SpongeBob: I cleaned the tables, Mr. Krabs!

Mr. Krabs: Aye, but did you scrape all the gum off the underside?

SpongeBob: [chewing gum along with Patrick] I already took care of it.

Mr. Krabs: Ha ha ha. All right, lads. Looks like you've shanghaied me.

Patrick: My turn. [rolls the dice] 5. [makes a raspberry noise while moving piece, then reads a card] One of your shipmates has been a bad pirate! Send him to the brig! Hmmm. [SpongeBob turns his eyes toward Mr. Krabs] It's off to jail for you, Mr. Krabs.

Mr. Krabs: Patrick, you're fired!

Patrick: But I don't even work here!

Mr. Krabs: Would you like a job, startin’ now? [puts a hat on Patrick's head]

Patrick: Boy, would I?!

Mr. Krabs: [takes the hat off Patrick's head] You're fired!

SpongeBob: My turn. [rolls the dice] 1, 2, 3, 4. [picks up the card and reads it] Look for the Deacon's Goose thru the fork in the old tree and head that way. [looks through the hole in the tree] Well, I see Mr. Krabs' zipper is undone.

Mr. Krabs: [gasps] Shiver me timbers!

SpongeBob: [laughs] Just kidding, Mr. Krabs. I'm almost to the treasure. Your turn again, Mr. Krabs.

Mr. Krabs: [rolls the dice] Ooh, fish eyes. 1, 2.

SpongeBob: [picks up card and reads it] You are a real pirate. Go straight to the "X" that marks the spot. You get to dig for treasure, Mr. Krabs!

Mr. Krabs: Treasure? [digs with a small toy shovel and a mini plastic treasure chest appears] There it is! It's the Flying Dutchman's Treasure! Gold, gold, gold! Mine, mine, mine, mine, mine! [starts sweating profusely]

SpongeBob: Hey, Mr. Krabs is getting all sweaty again.

Fred: [walks into the Krusty Krab] Rev up those fryers, 'cause I am sure hungry for one-- [Mr. Krabs picks him up, holds him over his head, and heads for the door] Help! Help! [Mr. Krabs throws him out the door] My leg!

Mr. Krabs: Can't you see we're closed?! [rushes back to the game table] Ready for another round? This is my kind of game!

SpongeBob and Patrick: Hooray!

Mr. Krabs: 6! 1, 2... [scenery changes from day to night. SpongeBob and Patrick are tired; Patrick is even asleep on the table] I win again! Oh, that's 17 times in a row.

SpongeBob: [very tired] I think we oughta call it a night, Mr. Krabs. I really gotta get some sleep.

Mr. Krabs: Oh, you can't walk out on me now.

SpongeBob: I'm sorry, Mr. Krabs. [yawns, then slings Patrick over his shoulder and carries him out] See you tomorrow. [walks inside his house after bringing Patrick home. Rattling noises heard] Huh? Who's there? [turns a light on]

Mr. Krabs: Come on, SpongeBob. One more game. I can smell the treasure.

SpongeBob: [pushes Mr. Krabs outside] Mr. Krabs, it's late. Go to bed! Good night, Mr. Krabs. [closes the door, but Mr. Krabs is inside the house once again]

Mr. Krabs: Wind is perfect, the tide is right. Let's hunt for treasure.

SpongeBob: Mr. Krabs, you gotta... [opens the door, and Mr. Krabs is now outside]

Mr. Krabs: Tread softly, lad. If the Dutchman hears you, we'll never get his treasure.

SpongeBob: But, Mr. Krabs...

Mr. Krabs: I'll roll for you, boy.

SpongeBob: But, Mr...

Mr. Krabs: [rolls the dice] 8 paces, north, that's a good start, lad.

SpongeBob: But, Mr...

Mr. Krabs: 1, 2, 3...

SpongeBob: [yelling in frustration] Mr. Krabs, I wanna go to bed! [pauses] Mr. Krabs, I'm sorry, but it's just a game, ya know?

Mr. Krabs: A game. That's... right. Of course it is, my mistake. [picks up the game board and folds it in half] I guess I got a little carried away, eh? Though it is treasure we're dealin’ with here. Sorry, for disturbin’ ya, lad. [walks away while SpongeBob shuts the door. Morning arrives, and then the clam "rooster" crows everyone up.] Avast! Pineapple, ho. Heave two, and prepare to be boarded.

SpongeBob: Aw, go home already. [gets out of bed and looks out the window] I'm done playing that game, Mr. Krabs.

Mr. Krabs: That’s Captain Krabs to you, and this is no game. We're gonna be pirates.

SpongeBob: [excited] Pirates?

Mr. Krabs: Aye! How'd you like to go on a real treasure hunt, with a real treasure map?

SpongeBob and Patrick: [Patrick appears from the side of SpongeBob's house] Treasure? [dancing around] We're gonna be pirates, we're gonna be pirates!

Mr. Krabs: Ay, ay, ay. Belay that skippin’. Pirates don't skip. [throws them a bag of pirate stuff] Put on this pirate garb, so I won't be embarrassed to be seen with ya. Arrgh.

SpongeBob: Oh, Patrick. Look! Peg legs and eye patches.

Mr. Krabs: Now, don't you feel more like pirates?

SpongeBob: [walks towards the plank using two peg legs] Look, I'm Peggy the Pirate! [falls on the plank]

Patrick: [walks towards the plank with two separate eye patches covering his eyes] I'm Blindbeard the Pirate. [falls on SpongeBob] Ow.

Mr. Krabs: Arrgh! [fade to ship sailing across in midair] Keep a sharp lookout, SpongeBob. Accordin’ to the map, we're close to the first landmark.

SpongeBob: Really? Can we see the map?

Mr. Krabs: Uh... no! Only the captain can lay eyes on the map.

SpongeBob: Okie dokie, then.

Mr. Krabs: Arrgh, a pirate doesn't say, "okie dokie, then." A pirate says, "arrgh!"

SpongeBob: Okie... oops. [laughs while a jellyfish flies by him] I mean... [standing up] arrgh! Captain Krabs. [his eyes widen and sees a rock nearby] Captain, we're about to hit... uhh... I mean... arrgh, Capt., arrgh, we're, arrgh, about, arrgh, to hit, arrgh...

Mr. Krabs: Out with it man, arrgh!

Patrick: I, arrgh, think, arrgh, he's trying, arrgh, to say...! [crash] land...

Mr. Krabs: Arrgh! From now on, only the captain says, arrgh! Status report, Mr. SquarePants?

SpongeBob: The whole ship is underwater captain.

Mr. Krabs: Arrgh, we're marooned then. Our treasure hunt will have to continue on foot. This is it, boys, from the seaweed with 2 leaves on it. 10,000 paces east.

SpongeBob: But, Mr. Krabs, that seaweed has... [Mr. Krabs pulls a leaf off] Which way, cap'n?

Mr. Krabs: Ensign Patrick, which way is east?

Patrick: Uhh... let's see, uhh... [points] that way, captain!

Mr. Krabs: 9,997... 9,998... 9,999... 10,000! Where's the "X"? Supposed to be right here! 10,000 paces east.

Patrick: Ooh! East? I thought you said "weast"!

Mr. Krabs: Weast? What kind of compass you readin’, lad?

Patrick: This one, sir.

Mr. Krabs: That's west, Patrick. You're fired again. [cuts to the crew walking again in the opposite direction, which they should’ve done in the first place] 9,551... 9,552...

SpongeBob: Mr. Krabs, we're tired.

Patrick: And hungry.

Mr. Krabs: Oh, so this is my crew. You get a little tired, and a wee bit hungry, and you wanna shove off for home. Arrgh! That sickens me. A pirate is not judged by the notches in his cutlass, or by the size of his booty. A pirate is judged by the loyalty of his crew. And without a loyal crew... [one of SpongeBob's eyes fill up with tears] what am I captain of? Just... a bunch of sand! [cries]

Patrick: Don't cry, Captain Krabs.

SpongeBob: [sniffles and crying] Yeah, we'll be your loyal crew. [both cry]

Mr. Krabs: You'll stay with me then?

SpongeBob and Patrick: We'll be the most loyal pirate crew ever!

Mr. Krabs: I knew I could count on you boys. One for all!

SpongeBob and Patrick: And all for one! [laying on ground at night outside tent]

SpongeBob: I'm so loyal, I don't even mind sleeping on the cold, hard ground while Captain Krabs sleeps in his warm, dry tent.

Patrick: I'm so loyal, I haven't bathed in weeks.

SpongeBob: But we've only been gone a few hours.

Patrick: I know. [chuckles. SpongeBob moves away]

SpongeBob: I'm so loyal, I don't wanna sleep till we find the treasure. Let's go see if the captain will go now!

SpongeBob and Patrick: [entering the tent] Captain Krabs?

SpongeBob: He's not here.

Patrick: Look! The treasure map.

SpongeBob: Only the captain can look at the map, Patrick.

Patrick: [walks toward the map] Yeah...

SpongeBob: Patrick, what are you doing?

Patrick: Nothing.

SpongeBob: Patrick, you're not supposed to look at the map. [Patrick touches the map]

Patrick: I'm not looking, I'm touching. There's no rule against that, is there?

SpongeBob: No, guess there isn't. [both poking the map, until it opens] Oops! Patrick, it opened by itself. [Both laugh. Their eyes enlarge and search the map]

SpongeBob and Patrick: The map, the map, gotta see it, gotta look at it. [Their eyes freeze for a second and then pop back in their heads.]

Patrick: SpongeBob?

SpongeBob: Yeah?

Patrick: Did you notice something familiar about this map?

SpongeBob: You mean, like that it's our game board taped to a piece of paper?

Mr. Krabs: [appearing right behind them and angry] Do you think this is a problem?

SpongeBob and Patrick: [scream] Mr. Krabs!

Mr. Krabs: Sneakin’ peeks at me treasure map?

Patrick: We're sorry.

Mr. Krabs: That's mutiny on my ship. So you think ol' Captain Krabs has gone crazy, do ye?

SpongeBob: Not at all, Captain Krabs. We don't think that at all!

Patrick: I think that.

Mr. Krabs: I'm gonna throw ya overboard for sayin’ that!

[SpongeBob and Patrick both begged for mercy and then the "X" symbol appeared underneath them.]

SpongeBob: [gasps] Look! It's the "X."

Mr. Krabs: [eyes go into "X" like symbol] "X" marks the spot!

SpongeBob: Wow! That game really is based on a real treasure map.

Mr. Krabs: Well, what are you waitin’ for, lads? [SpongeBob and Patrick both start digging.] Dig! Dig! [minutes later] Dig, dig, dig, dig, dig, dig, dig, dig.

SpongeBob: We got it, Captain Krabs.

Mr. Krabs: Ha, ha. Hand it up to me, lads. Heave! [brings the treasure up] We finally found it. [opens up the treasure chest]

Female Chorus: The Dutchman's Treasure!

All: Wow!

SpongeBob: What are you gonna do with your share, Patrick?

Patrick: I don't know. How are you gonna spend your share, SpongeBob?

Mr. Krabs: What shares? You're not gettin’ any of my treasure!

SpongeBob: We found it together. So we deserve a share!

Mr. Krabs: Well, I'm the captain. And I say it's mine!

SpongeBob: What about loyalty?

[all three are now fighting over the treasure chest]

Mr. Krabs: All for one.

SpongeBob: And one for all.

Mr. Krabs: All for one.

SpongeBob: And one for all.

Mr. Krabs: All for one.

SpongeBob: And one for all.

Flying Dutchman: [sleeping] I'm the Flyin’ Dutchman.

Mr. Krabs: All for one.

SpongeBob: And one for all.

Flying Dutchman: [sleeping] I'm the Flyin’ Dutchman. [wakes up] Who dares wake the Flyin’ Dutchman? Keep it down will ya? I'm tryna get some sleep. [noticing them fighting over the treasure chest] Huh?

Mr. Krabs: All for one.

SpongeBob and Patrick: One for all. [lightning strikes]

Flying Dutchman: Who dug up the Dutchman's treasure?

Mr. Krabs: [shoves the chest toward SpongeBob and Patrick] They did!

Flying Dutchman: Arrgh! [picks up the treasure chest] So you two scallywags dug up me treasure?

SpongeBob and Patrick: [hugging each other in fear] Uh-huh!

Flying Dutchman: Well, you saved me a lot of diggin' you did. So here's a reward for the two of ya's.

[The Flying Dutchman gives them two gold doubloons]

SpongeBob: Wow!

Female Chorus: Two gold doubloons!

[SpongeBob and Patrick take the doubloons and the Flying Dutchman puts away his treasure chest in his pocket.]

Mr. Krabs: Wait! I'm captain of this crew! Where's my reward?

Flying Dutchman: Hmm, I guess you're right. A little somethin’ for your trouble. [flicks something to Mr. Krabs]

Mr. Krabs: Gold, gold, gold, gold, gold! [a tiny plastic treasure chest] Huh? Why, it's just a little plastic treasure chest!

Female Chorus: Plastic!

Flying Dutchman: Aye, but it's based on a real treasure chest. [laughs]

Patrick: Gee, Mr. Krabs, you're lookin’ all sweaty again.

[Flying Dutchman turns into green smoke and vanishes.]