In general, a dead bat produces a dull thud sound even if you hit it on its sweet spot. In contrast, a bat that is not dead typically makes a normal, high-pitched ping.