Gadget & the Gadgetinis - Season 1 Episode 14 High Noon
Overview: Gadget, Penny & the Gadgetinis travel to the small western town of "Cut N' Shoot" for the ceremony to rename the town as "Gadgetville". But, when they arrive the town seems deserted because everyone's hiding. The fearsome Barker Gang is on the way and since the sheriff can't handle them they're renaming the town so Gadget will. Too bad he thinks it's all a game.