Tokka & Rahzar's last ability resolves before the spell that caused it to trigger. It resolves even if that spell is countered.

Artwork
Loading artwork…
Tokka & Rahzar, Terrible Twos
Teenage Mutant Ninja Turtles · #171 · EN
Nonfoil—Foil—
Card rules
This spell can't be countered.
Menace
Whenever a player casts a spell, if the amount of mana spent to cast it was less than its mana value, Tokka & Rahzar deal 3 damage to that player.
3/2
"Master say have fun . . ."
Rare · Illustrated by Yuhong Ding
Format legality
Alchemy Legal
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
To determine the total cost of a spell, start with the mana cost or alternative cost you're paying, add any cost increases, then apply any cost reductions. The mana value of the spell remains unchanged, no matter what the total cost to cast it was.
For spells with X in their mana costs, use the value chosen for X to determine the spell's mana value.
If the spell is no longer on the stack when Tokka & Rahzar's last ability resolves, use its mana value as it last existed on the stack.