If the target creature is a legal target but can't be destroyed, most likely because it has indestructible, you still gain life.

Artwork
Loading artwork…
Severed Strands
Foundations Jumpstart · #488 · EN
Nonfoil—Foil—
Card rules
As an additional cost to cast this spell, sacrifice a creature.
You gain life equal to the sacrificed creature's toughness. Destroy target creature an opponent controls.
"I've seen Ravnica's fate. Believe me, I'm doing you a favor."
Common · Illustrated by Zack Stella
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School 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
You must sacrifice exactly one creature to cast this spell; you can't cast it without sacrificing a creature, and you can't sacrifice additional creatures.
The amount of life gained is equal to the sacrificed creature's toughness as it last existed on the battlefield.
If the target creature is an illegal target by the time Severed Strands tries to resolve, the spell doesn't resolve. You don't gain life.