If you sacrifice Mazirek and other permanents at the same time, Mazirek's last ability triggers for the other permanents.

Artwork
Loading artwork…
Mazirek, Kraul Death Priest
Secrets of Strixhaven Commander · #319 · EN
Nonfoil—Foil—
Card rules
Flying
Whenever a player sacrifices another permanent, put a +1/+1 counter on each creature you control.
2/2
The clicks and buzz of the undercity proclaim him the incarnation of decay.
Rare · Illustrated by Mathias Kollros
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
If you sacrifice a permanent as part of casting a spell or activating an ability, Mazirek's last ability will resolve before that spell or ability.
Mazirek's last ability is a triggered ability, not an activated ability. It doesn't allow you to sacrifice a permanent whenever you want; rather, you need some other way of sacrificing permanents.
A legendary permanent that is put into a graveyard because of the "legend rule" isn't sacrificed.