Fans of the show "SpongeBob SquarePants" noticed that Saturday's episode, "SpongeBob in RandomLand," featured a terrifying cameo from an internet meme that started with a "creepypasta" called "Squidward's Suicide."

A creepypasta (a play on "copypasta") is a horror-related image or story that gets copied and pasted around the internet. "Squidward's Suicide" is one of the best-known creepypastas.

The original story, which involves the character Squidward Tentacles killing himself, spawned fan videos and a meme of a black-and-white image of Squidward with glowing red eyes and dripping black tears.

The "SpongeBob" animators clearly drew inspiration from the viral image, as well as the story, which includes a scene in Squidward's bedroom with a screaming sound. All three elements were in "RandomLand," which showed Squidward opening doors to see alternate versions of himself.

Visit Insider's homepage for more stories.

Fans of internet horror were stunned to see a clip from the latest episode of "SpongeBob SquarePants" that depicts the "Squidward's Suicide" meme from the classic "creepypasta" of the same name.

Even for those who aren't familiar with the internet urban legend, the scene from the episode that aired Saturday, "SpongeBob in RandomLand," is nightmare fuel. The plot follows SpongeBob and Squidward as they explore a town that doesn't adhere to the rules of logic. At one point, a row of doors appears. Squidward starts opening doors at random to reveal alternate, creepy versions of himself.

The first alternate Squidwards have goofy, gross oversized features, and a laugh track plays behind them. But behind the third door, Squidward's bedroom from inside his Easter Island-head home appears. The screen cuts to static, and then to a terrifying depiction of Squidward with hyperrealistic red eyes and black tears. A scream is heard in the background, and Squidward slams the door.

The scene is a direct reference to "Squidward's Suicide," one of the most popular creepypastas that has spawned its own memes. A creepypasta (a play on the meme-speak "copypasta") is an online horror legend, often involving photo and video manipulations, that gets copied and pasted in forums and on social media.

Creepypastas gave rise to a few mainstream internet-culture fixtures, including "Slenderman," which has since resulted in a feature film, a viral video game, and a real-life criminal case involving two 12-year-olds who stabbed their friend in hopes of summoning the fictional creature.

Read more: 'We have our secrets': Ukraine covered for Donald Trump, and said it won't release any details of his controversial phone call about Biden

The suicidal Squidward cameo is undoubtedly based on the creepypasta. The image matches the description in the original text better than even the fan-made memes do. There are three consistent elements: Squidward's eerie black-and-white face with red eyes and black tears, his bedroom in the background, and the scream that can be heard.

"Squidward's Suicide" has existed online since at least 2012, with YouTube videos depicting the story over the years. Its page on the Creepypasta Wiki became active again over the weekend, with comments like "we did it bois" and "I bet whoever wrote this is probably the happiest person alive right now."

Why the "SpongeBob" animators chose to incorporate the meme is unclear. The show's original target audience has grown up, but it's still predominantly marketed toward children, and the inclusion of the scary Squidward is pretty dark — especially considering its source material, which contains graphic descriptions of murdered children.

Nickelodeon representatives didn't immediately respond to Insider's request for comment.