The value of X in the delayed triggered ability created by Brass Infiniscope's ability is the value of X of the spell you cast as it exists on the stack when that ability resolves. (Usually this will be the same as the value chosen for X when the spell was cast.)

Artwork
Loading artwork…
Brass Infiniscope
Secrets of Strixhaven Commander · #51 · EN
Nonfoil—Foil—
Card rules
Styluses are tools used by students to channel their magic. For young Quandrix mages, they can help navigate difficult calculations and focus perspective.
Rare · Illustrated by Nino Vecia
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker 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
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
The delayed triggered ability created by Brass Infiniscope's ability resolves before the spell that caused it to trigger. It resolves even if that spell is countered or otherwise leaves the stack without resolving. In that case, use the value of X as that spell last existed on the stack to determine the value of X for the delayed triggered ability.
You'll only gain half X life no matter how many instances of X are in the mana cost of the spell you cast.