The singing, rhyming citizens of Hamelin hope to win a competition with rival towns for royal recognition. To this end, the mayor outlaws play (which is a bit hard on the children) and refuses to help a rival town when it's flooded. But rats (seen only as shadows),fleeing the flood, invade Hamelin in droves; a magical piper, whose music only children (and rats) can hear, strikes a bargain...which, once the rats are gone, the Mayor and council renege on, to their subsequent regret.
The Pied Piper of Hamelin
Overwhelmed by rats, a medieval town hires a magical piper who can rid the town of the pest in exchange for gold but the crooked mayor has no intention of honoring the deal.