For example.. I'm doing Classic Hackmons right now on Showdown and my lead is a Deoxys-S which has Mold Breaker.
It has Magic Coat in case something else tries to set up hazards.
I know another common ability for leads is Magic Bounce so I was wondering if they tried to set up Spikes but I used Magic Coat who's side would it land on or would it just fail altogether?