The Infinite Tsukuyomi does not affect Hashirama, Tobirama, Hiruzen and Minato because they are reanimated. Hagoromo, the Sage of the Six Paths, appears and explains to the four that Hashirama and Madara are the reincarnations of his sons Ashura and Indra. Hagoromo recounts the tale of how he founded Ninshu, the Ninja Creed, and about the lives of Ashura and Indra.
After all the work we put into it,
there's no way I'd destroy it.
يستحيل أن أحطّمه بعد كلّ العمل الذي بذلنا به
Dopo tutto la fatica che abbiamo fatto,
 col cavolo che lo rompo!
Até parece que eu a destruiria
 depois de todo esse trabalho.