Sam Witwicky, after persuading his teacher to give him an A, gets his first car, an old Camaro. One day, Sam's car drives itself to an old junkyard where it trnsforms into Autobot Bumblebee, with the objective of protcting Sam. Meanwhile, a decepticon attacks a US military base in Qatar. It tries to steal some data but is interrupted by the base commander who cuts all server hardlines. Only a handful of soldiers survive and are taken for debriefing. The Autobots land on Earth and explain to Sam about the Allspark, an object with power to creat worlds and fill them with life. Sam finds his great great grand father's glasses on which is imprinted the cube's location. As both Autobots and Decepticon fight for the Allspark, who will it be to take the source to limitless power?