Raiden,
He didn't have a script period. Shia just recently did an interview where he stated that they started the film with like only forty pages of a script and basically made the rest of the film up as they went along.
Paramount pushed for summer 2009. Bay wanted Transformers 2 this summer because he knew he didn't have enough time, plus the strike happened right at the start of the production.
It didn't help matters that Kurtzman and Orci originally passed on Transformers 2. Paramount went out to find writers to see if they could come up with something soon since they had already announced a release date for summer 2009. That didn't work out so Paramount begged Kurtzman and Orci to come back and they banged out an outline two weeks before the strike, an outline Bay used to start production. Strike ends, Kurtzman, Orci, and now Krueger bang out a script in basically 6 six weeks while Bay's still shooting....
Now, again, I fault Bay a little for Transformers. But, Christ, Paramount left him no wiggle room with that schedule...
...the fact that it's even remotely entertaining and looks as good as it does is a testament to how efficient Bay is when he shoots his films.
Not defending the film but people need to put that specific film into context a little before they continue to bash that one...
...Iron Man 2 feels a tad like that. It feels like they need another draft or two to fix the problems in this script because it's the film's biggest problem.