Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
"This is going better than I had expected, I guess?" Endeavour > Double-Edge > Double-Edge
[Twice] IF [Monohm uses Thunder] THEN [Use Roost that action].
IF [Monohm uses a damaging Electric-type move] AND [Monohm does NOT use Thunder] THEN [Use Fly that action] AND [Push actions back].
"Oops! Was I supposed to say something?" Sludge Bomb > Sludge Bomb > Sludge Bomb
[ONCE] IF [Monohm uses a successful P/E move] THEN [Use Synthesis that action].
IF [Monohm is awake when you would act] THEN [Use Sleep Powder that action].