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

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)
 * 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?

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

 * Plankton: I'd like to buy one Krabby Patty.
 * Squidward: Are you sure?
 * Plankton: Yeah, i haven’t ate since last year.. I need one, i’ll give you my cash.
 * Squidward: (sighs) Fine..

Miraculous
TBD

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

TBD
TBD

TBD
TBD

TBD
TBD

Note
Suggestions are accepted