If the target which is having the ability removed does not have that ability during the resolution of this effect, then this effect still grants the chosen ability. The reason is that the second target is still legal even if the first one is not.

Artwork
Loading artwork…
Phyrexian Splicer
The List · #TMP-303 · EN
Nonfoil—Foil—
Card rules
2,
, Choose flying, first strike, trample, or shadow: Until end of turn, target creature with the chosen ability loses it and another target creature gains it.
Uncommon · Illustrated by Brom
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
PreDH Legal
Premodern Legal
Tlr 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
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions