Slings were effective weapons, and saw use as late as the Jacobite Uprising in the 16th century. You can imagine being hit in the head by a speeding rock would hurt a lot, and if you're wearing a helmet, this can easily lead to a severe concussion or being knocked out