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.
I'm not moving until
I fix this bridge.
لن أتحرّك حتّى أصلح هذا الجسر
Ich gehe nicht,
bis die Brücke repariert ist.
No me iré hasta arreglar el puente.
No me iré hasta arreglar el puente.
Finché non avrò aggiustato il ponte,
non mi muoverò di qui.
Não vou irei embora até que a
 ponte esteja arrumada.