Here's a breakdown of what happens:
* Robbie's motivation: Robbie is desperate to buy the new "Ultimate Ninja Warriors" video game but lacks the money.
* Rex's allure: He sees Rex, his pet lizard, as a potential money-making opportunity, believing a collector would pay a hefty sum for him.
* The collector's interest: Robbie visits a reptile store and convinces the owner, Mr. B, that Rex is a rare and valuable lizard.
* The deal: Mr. B agrees to buy Rex for $500. Robbie is ecstatic at the prospect of getting the video game.
* The truth is revealed: When Robbie returns home with the money, his friends Tori and Beck find out about Rex's fate. They are horrified that he would sell his pet.
* Robbie's guilt: Robbie realizes he made a mistake and regrets selling Rex.
* Getting Rex back: He tries to get Rex back from Mr. B, but the owner refuses.
* The plan: Tori and Beck help Robbie come up with a plan to get Rex back. They stage a "lizard heist" at the reptile store, pretending to be animal rights activists.
* Rex's rescue: They successfully steal Rex and bring him back to Robbie.
* The lesson: The episode teaches a valuable lesson about friendship, responsibility, and the importance of not taking advantage of others.
Ultimately, Robbie learns that his friends and Rex are more important than a video game. He realizes he made a wrong decision and values his relationship with Rex more than money.