If the creature is an illegal target when Pistus Strike tries to resolve, the spell doesn’t resolve. No player gets a poison counter.

Artwork
Loading artwork…
Pistus Strike
Mirrodin Besieged · #86 · EN
Nonfoil—Foil—
Card rules
Destroy target creature with flying. Its controller gets a poison counter.
"Even a nuisance such as the pistus fly has a purpose in our new world." —Glissa
Common · Illustrated by Jaime Jones
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
PreDH Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If the creature with flying regenerates or has indestructible, its controller will still get a poison counter.