Chocolate-covered nuts do not appear in the SpongeBob SquarePants episode "Lights, Camera, Pants!" (Season 4, Episode 11a / paired with "The Curse of the Hex").
SpongeBob and Patrick audition for a Mermaid Man & Barnacle Boy movie. The plot involves acting, special effects, and the "real" heroes. No snack subplot involves chocolate nuts.
Ah-ha! You are likely thinking of the classic episode "Chocolate with Nuts" (Season 3, Episode 11a), where SpongeBob and Patrick sell chocolate bars door-to-door ("Chocolate! Chocolate with nuts!"). "Lights, Camera, Pants!" is a different, later episode.