Applying animations to non-player models.

Now I don’t know if I said it right, but how do I apply animations for non player models, but they act as a plaer models, so they dont stand in the T position, like zombie survival. I just check the code and I just don’t understand it. If someone can make it easier for me to understand I would really appreciate it.