April's ability resolves before the spell that caused it to trigger. It resolves even if that spell is countered or otherwise leaves the stack.

Artwork
Loading artwork…
April O'Neil, Human Element
Teenage Mutant Ninja Turtles Eternal · #107 · EN
Nonfoil—Foil—
Card rules
Whenever a player casts an artifact, instant, or sorcery spell, you create a Mutagen token. (It's an artifact with "1,
, Sacrifice this token: Put a +1/+1 counter on target creature. Activate only as a sorcery.")
2/5
"If you steal mutagen that doesn't exist from aliens that also don't exist, it's not really theft. More like creative writing!"
Rare · Illustrated by Fahmi Fauzi
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Some spells and abilities that create Mutagen tokens require targets. If each target chosen is an illegal target as that spell or ability tries to resolve, it won't resolve. The Mutagen token won't be created.
Mutagen tokens are a kind of predefined token. Each one is a colorless artifact with the artifact subtype Mutagen and the ability "1,
, Sacrifice this token: Put a +1/+1 counter on target creature. Activate only as a sorcery."