Counter target creature spell. You create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
Hornswoggle can target a spell that can’t be countered, such as Nezahal, Primal Tide. When Hornswoggle resolves, that spell won’t be countered, but you’ll still get a Treasure.