Implemented the "death" animation.