Took the inspiration for this from a marvelously creepy Czech stop-motion film of 'The Pied Piper' - let's just say the price paid by the greedy townspeople in the end is slightly different from the original story.
If you can find this film at all (it's unfortunately been knocked off Youtube again) and you don't mind slightly nightmarish elements, it's a pretty good Halloween movie.