Madara and Obito would safely escape to kamui's realm. Kakashi would kamui all 5 of those guys to the dimension, then Madara and Obito would say "f*ck it, we're so done" and destroy themselves. Minato would use FTG to bring them all back to the real world.xd