Last time kids threw things at me (a bunch of glass bottles, one after another), I swung around and rode straight at them, shouting. Gave them a good scare - they scattered, and I know a couple of them were still hiding under a car about 20 minutes later when I passed by again. I don't think they'll do it again anytime soon!