Spaced Invaders

The space armada from Mars, known as the Imperial Atomic Space Navy (Battle Group Seven), fights an interstellar war against their long-time enemy, the Arcturans. The armada is forced into battle by Enforcer Droids, tasked to keep the Martian soldiers in line, despite objections by some that it won't work. Meanwhile, an incompetent crew of a small Martian spaceship, from the Civilian Asteroid Patrol, intercept a distress signal from the fleet, followed by a Halloween rebroadcast of Orson Welles' 1938 The War of the Worlds radio dramatization.
Mistaking this for a real invasion and not wanting to miss out on the glory, they land their ship in the tiny community of Big Bean, Illinois and begin their invasion of Earth. The ship's smart-mouthed pilot, Blaznee, with more common sense than the others, doesn't think it's a good idea, but he is ignored by the rest of the crew: Captain Bipto, the overzealous optimist of the group; Lieutenant Giggywig, the ambitious, know-it-all hothead; Dr. Ziplock, the careful and calculating scientist; and Corporal Pez, who is overeager, yet timid. They search for the invasion fleet they think has already landed. Because it's Halloween, everyone assumes they are just kids in very good costumes. Eventually, though, a few locals realize the truth. Among them is the town sheriff (Barr), his daughter (Richards) and an elderly farmer named Wrenchmuller (Royal Dano), on whose farm the Martians have crash-landed. The sheriff finds out about the aliens when his deputy records their ship doing 3,000Â mph.
The deputy tracks down the ship to give the occupants tickets for having no license, no registration, no headlights, no taillight, no wheels, and going 2945 miles over the posted limit. The sheriff's daughter, Kathy, discovers the aliens when they join a group of trick-or-treating kids. She befriends the Martians' "Scout-in-a-Can", a small robot that folds up into a sphere and is considered "smart, efficient, easy to use and expendable." Mister Wrenchmuller tries to cash in on the Martians' existence in order to save his farm. Captain Bipto gets hit by a truck and turns a gas station attendant named Vern into his robotic slave. Giggywig, Ziplock and Pez try to blow up the town's Co-Op and instead just heat up a silo of corn kernals, creating a gigantic hot air popcorn popper. Kathy's new friend, Brian (the Duck) captures Blaznee by hitting him with a trashcan lid. He then tries to help the alien repair his ship. Wrenchmuller tries to blow the ship up and gets trapped in a paralyzing beam. The desperate Martians try to blow the Earth up using the D.O.D. (Doughnut Of Destruction), but it falls apart instead. The Martians finally realize they made a horrible mistake.
Things get worse when the ship's "hyperdriver" starts to go into meltdown, threatening to create a black-hole. Their ship's Enforcer Drone won't let them leave, making things even more complicated. The humans manage to destroy the Enforcer Drone with dynamite and help the grateful "invaders" return to space. As an unintentional gift the Martians jettison their ship's sewage tank while flying over Wrenchmuller's field to lighten the load on their ship so that they can reach gravitational escape velocity.
The alien manure rejuvenates the drought-stricken farmland and turns the regular green beans (for which the town is famous) into gigantic, 6 foot tall pods, enabling Wrenchmuller to save the town from greedy real-estate developers. As the Martians head home Captain Bipto suggests they go to Arcturus to "help torture prisoners", which is shot down by the rest of the crew.

Question: How did the humans manage to destroy the Enforcer Drone?
Answer: Dynamite; Dynamite