So, I caught I wild Clefairy and it had magic guard. I wanted to know what it did so I looked it up on the site. But what exactly does, it can only take damage from attacks, mean? Thanks!
It means that it won't take any passive damage. Meaning no Sandstorm, Hail, Burn, Poison, Stealth Rock, Leech Seed, etc will not damage it.
It will only take Damage from damaging moves, like Tackle.