Phineas and Ferb - Season 2 - Eps 40: I Was a Middle Aged Robot
Lawrence's memory is accidentally erased by a gadget in Perry's lair before participating in a father-daughter race with Candace, so Perry operates a robot version of Lawrence to fill in for him. Meanwhile, Dr. Doofenshmirtz invents an opposite of glue named "Eulg," which breaks stuff apart rather than join it together.
About Phineas and Ferb

Title: Phineas and Ferb
First Air Date: 2007-08-17
Last Air Date: 2015-06-12
Status: Returning Series
Rating: 7.875/10 (from 877 votes)
Language: EN
Seasons: 6
Total Episodes: 223
Network: Disney Channel
Genres: Animation, Comedy, Family, Sci-Fi & Fantasy
Production Companies: Disney Television Animation
Synopsis
Each day, two kindhearted suburban stepbrothers on summer vacation embark on some grand new project, which annoys their controlling sister, Candace, who tries to bust them. Meanwhile, their pet platypus plots against evil Dr. Doofenshmirtz.
Cast

Vincent Martella
Phineas Flynn (voice)

Thomas Brodie-Sangster
Ferb Fletcher (voice)

Ashley Tisdale
Candace Flynn (voice)

Caroline Rhea
Linda Flynn-Fletcher (voice)

Dee Bradley Baker
Perry the Platypus (voice)

Alyson Stoner
Isabella Garcia-Shapiro (voice)

Bobby Gaylor
Buford Van Stomm (voice)

Dan Povenmire
Heinz Doofenshmirtz (voice)

Jeff 'Swampy' Marsh
Francis Monogram (voice)

Maulik Pancholy
Baljeet Tjinder (voice)