If the target creature is an illegal target as Rapier Wit tries to resolve, it won't resolve and none of its effects will happen. You won't draw a card.

Artwork
Loading artwork…
Rapier Wit
Secrets of Strixhaven · #28 · EN
Nonfoil—Foil—
Card rules
Tap target creature. If it's your turn, put a stun counter on it. (If a permanent with a stun counter would become untapped, remove one from it instead.)
Draw a card.
"I make promises, not threats."
Common · Illustrated by Joshua Raphael
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
Pauper Legal
Pauper Commander Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Old School Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions