If Cartoon Villains were Actually Smart

In cartoon and movies, villains/antagonists always lose by either falling for traps/tricks/lies, having their plans failed, and surrendering by the protagonists/heroes, but what if they made smarter decisions?

Phineas and Ferb

 * Doofenschmirtz: Ah, Perry the Platypus, I have decided to upgrade my traps

MLP: Equestria Girls: Rainbow Rocks
(The human 6 and Sunset arrives to sing.) (They noticed they're too late.) (She sings as they fall under her control) (End)
 * Rainbow Dash: Hang on... What happened here?!
 * Adagio: Oh hey. We decided to sing early before you guys came here to defeat us and now we took over this world. Also, we destroyed the mirror and your powers so none of you could escape or defeat us. Now for you seven.
 * Aria: Well... That was easy. They are now our slaves along with everyone else.
 * Adagio: So what do you say, my beautiful slaves?
 * Twilight: We obey you and only you...

DuckTales
TBD

Milo Murphy's Law
TBD

Gravity Falls
(He eats Stanley) (End)
 * Bill: Eenie... Meenie... Miney... (Suddenly stops) I know that you’re gonna make a deal with me Stanford, but it’s a trick since I know you that well. So... I'll make sure it doesn't happen by killing both of the twins and taking Stanley away from you.
 * Stanley: Wait, what?!
 * Bill: Now, I've won the war!
 * Bill: And I went back in time thanks to the baby, now I know how to take over the world! (laughs) The world is finally mine!

Star Vs the Forces of Evil
(As

TBD
TBD

Wander Over Yonder
(Suddenly

Spongebob Squarepants
(He cooks it.)
 * Plankton: I'd like to buy one Krabby Patty.
 * Squidward: Are you sure?
 * Plankton: Yeah, I haven’t eaten since the last year... I need one, I’ll give you my cash.
 * Squidward: (sighs) Fine... Spongebob, Plankton needs a Krabby patty.
 * SpongeBob: Sure thing, Squidward! One Krabby patty coming up!
 * SpongeBob: And done! Here you go, Plankton!
 * Plankton

Miraculous
(He sends the Akuma)
 * Hawk Moth: Go my Akuma and Akumatize Ladybug and make sure she gives me the ladybug miraculous.

(Short end)

Note
Well, there are many ways that MLP villains will make smarter choices

The Incredibles
TBD

The Powerpuff Girls
TBD

TBD
TBD

Note
Suggestions are accepted.

Inspired by Dorkly's "If Video Game Bosses were Actually Smart"