If X is 5 or more and any of the target artifacts become illegal, you create a token only for each of the artifacts that is still a legal target.

Artwork
Loading artwork…
Red Sun's Twilight
Phyrexia: All Will Be One · #145 · EN
Nonfoil—Foil—
Card rules
Destroy up to X target artifacts. If X is 5 or more, for each artifact destroyed this way, create a token that's a copy of it. Those tokens gain haste. Exile them at the beginning of the next end step.
"Where once there was apathy, Urabrask brought passion, and the Great Work truly began." —Monument inscription
Rare · Illustrated by Julian Kok Joon Wen
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If the copied artifact is copying something else, then the token enters the battlefield as whatever that artifact copied.
If the copied artifact is a token, the token that's created copies the original characteristics of that token as stated by the effect that created the token.
Each token copies exactly what was printed on the original artifact and nothing else (unless that artifact is copying something else or is a token; see below). It doesn't copy whether that artifact is tapped or untapped, whether it has any counters on it or Auras and Equipment attached to it, or any non-copy effects that have changed its power, toughness, types, color, or so on.
Any enters-the-battlefield abilities of the copied artifact will trigger when the token enters the battlefield. Any "as [this artifact] enters the battlefield" or "[this artifact] enters the battlefield with" abilities of the artifact will also work.
If the copied artifact has X in its mana cost, X is 0.
Each token gains haste after it has been created. If something copies one of these tokens, the copy won't have haste, and you won't exile it at the beginning of the next end step.