Once a creature with decayed attacks, it will be sacrificed at end of combat, even if it no longer has decayed at that time.

Artwork
Loading artwork…
Wilhelt, the Rotcleaver
Secret Lair Drop · #862 · EN
Nonfoil—Foil—
Card rules
Whenever another Zombie you control dies, if it didn't have decayed, create a 2/2 black Zombie creature token with decayed. (It can't block. When it attacks, sacrifice it at end of combat.)
At the beginning of your end step, you may sacrifice a Zombie. If you do, draw a card.
3/3
Mythic · Illustrated by Chris Rallis
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
Decayed does not grant haste. Creatures with decayed that enter the battlefield during your turn may not attack until your next turn.
Decayed does not create any attacking requirements. You may choose not to attack with a creature that has decayed.
Decayed represents a static ability and a triggered ability. “Decayed” means “This creature can't block” and “When this creature attacks, sacrifice it at end of combat.”