Every Joe from the cartoon, with all their vehicles, weapons, and resources, have to defend the Pit (which is supposedly on Staten Island and thus by water, but the cartoon never showed that) against an invasion of every canon movie Autobot and Decepticon, who have joined forces with their standard gear.
No 3rd party Cybertronians - so no Quintessa, the Seven Primes, the Knights, etc. Also, no characters from the Bumblebee movie since that's a reboot.
Obviously the cartoon Joes never killed any Cobras (aside from Wingman), but the Bayverse Transformers are also susceptible to human projectile weapons, albeit with a ton of firepower. The Transformers are 5 miles away at the start of the battle. Who wins?