Plot:
The secret cooperation plan between the military and the Autobots is in danger of being cancelled, and the resurrected Megatron and Red Spider lead the Decepticon army to plot to seize the energy source, attempting to set off another bloody storm on Earth. At this time, the protagonist Sam (Shia LaBeouf) bids farewell to his girlfriend Michaela (Megan Fox) and is about to start his dream college life, but everything seems not so smooth. A small Rubik's Cube fragment seems to give Sam some kind of revelation. In order to obtain the information in the Rubik's Cube, the Decepticons began to pursue Sam. Optimus Prime sacrificed to protect Sam. Sam was inspired by him and decided to take on his mission again. With the help of his roommate Leo (Ramon Rodriguez) and "Robot Warrior" Simmons (John Turturro), Sam and his girlfriend Michaela came to Egypt according to the clues given to Sam by the Rubik's Cube fragments. They found the energy source in the pyramid. At this time, the Decepticon army also rushed to Egypt. At this time, a small team of military personnel also came to Egypt with Optimus Prime's body at the request of Sihun. The forces of good and evil started a desperate battle in the golden desert.