If some of the creatures are illegal targets as Glint Weaver's triggered ability tries to resolve, the original distribution of counters still applies and the counters that would have been put on the illegal targets are lost.

Artwork
Loading artwork…
Glint Weaver
Murders at Karlov Manor · #162 · EN
Nonfoil—Foil—
Card rules
Reach
When this creature enters, distribute three +1/+1 counters among one, two, or three target creatures, then you gain life equal to the greatest toughness among creatures you control.
3/3
The spider just loved how the gems twinkled, and the high-class prey they attracted.
Uncommon · Illustrated by Tuan Duong Chu
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You choose how many targets Glint Weaver's triggered ability has and how the counters are distributed as you put the ability onto the stack. Each target must receive at least one counter.