Because Piru had lifelink when it was on the battlefield, you will gain life equal to the damage it deals as its last triggered ability resolves.

Artwork
Loading artwork…
Piru, the Volatile
Modern Horizons 2 · #422 · EN
Nonfoil—Foil—Etched—
Card rules
Flying, lifelink
At the beginning of your upkeep, sacrifice Piru unless you pay 

.
When Piru dies, it deals 7 damage to each nonlegendary creature.
7/7
Chasms of dueling energies course within her.
Rare · Illustrated by Greg Staples
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny 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
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions