Unity,How to make training Target Enemy

Hello,I want to make a Training shoot target in my fps game.
i want only,when i shoot target,he play animation.Please help me,with java script code,IDK.
Thanks,sorry for my bad english.

You Should Create a model in your 3d modeling program, then import it into unity and add a collider to it. I’m a C# Native myself so I won’t be able to help you with the code itself D: . It also depends on how you are shooting. If you use raycast just make it so that when raycast returns an object with a tag “Target”, it knows to instantiate an animation