Aaron Sorkin and Scott Rosenberg co-wrote the script for Transformers : Dark of the Moon .
The script was written by Ehren Kruger , Scott Rosenberg and Aaron Sorkin .
Transformers-COLON- Dark of the Moon