If you don’t control four Demons with different names as your upkeep begins, the second ability of Liliana’s Contract won’t trigger. You can’t take any actions during your turn before your upkeep begins.

Artwork
Loading artwork…
Liliana's Contract
Secret Lair Drop · #1844 · EN
Nonfoil—Foil—
Card rules
When this enchantment enters, you draw four cards and you lose 4 life.
At the beginning of your upkeep, if you control four or more Demons with different names, you win the game.
Immortality is worth any price.
Rare · Illustrated by Bastien L. Deharme
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If the second ability does trigger, but you no longer control four Demons with different names as the ability resolves, you won’t win the game.