Back at the Barnyard
Udderado (2x7)
:
The animals turn the barnyard into a Wild West theme park to raise the Farmer's bail money (who got arrested because of Otis' antics) and decide to hire an actor to play the bandit. But instead of an actor, a real bandit shows up to pillage the town.