Town Scheherazade
While you are alive, whenever three or more people are dead, pause the game. Roll up a game of Conspiracy, with a deadline equal to this game's day phase deadline with all the dead players. The winners of this game come back to life with new roles / alignments; the losers remain dead. If three or more people are still dead after this, your power does not trigger until someone else dies.
If you die while more than three people are dead, this power triggers as well, with you in the game. The same rules apply, except that if you win, one of the winners will randomly receive this role when they come back to life.
If you lose the game of Conspiracy, you remain dead and your power no longer applies.