Riddleform's first ability resolves before the spell that caused it to trigger but after targets for that spell are chosen. It will resolve even if that spell is countered.

Artwork
Loading artwork…
Riddleform
Core Set 2021 · #64 · EN
Nonfoil—Foil—
Card rules
Whenever you cast a noncreature spell, you may have this enchantment become a 3/3 Sphinx creature with flying in addition to its other types until end of turn.
2
: Scry 1. (Look at the top card of your library. You may put that card on the bottom.)
Uncommon · Illustrated by Steve Argyle
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker 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
Penny 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 Riddleform becomes a creature the same turn it enters the battlefield, you can't attack with it unless it gains haste.