Shootin script help,shooting script

I have a script for shotting bullets. That works. But i also need a script So that the enemy performs an animation and is deleted when the ammunition hits him. how am I supposed to do that
,I have a script for shotting bullets. That works. But i also need a script So that the enemy performs an animation and is deleted when the ammunition hits him.
how am I supposed to do that

Unity has a really great tutorial that will walk you through the steps to creating a shooter, including enemy death events:

https://unity3d.com/learn/tutorials/s/survival-shooter-tutorial