Contract Killing

Oracle Text

Destroy target creature. Create two colorless Treasure artifact tokens with "T, Sacrifice this artifact: Add one mana of any color."

Card Rulings

9/29/2017 If the target creature is an illegal target by the time Contract Killing resolves, the entire spell doesn’t resolve. You won’t get Treasures. If, on the other hand, the target is a legal target but isn’t destroyed (most likely because it has indestructible), you’ll get Treasures.