I need humanoid animations implemented into my NPC... what's the easiest way to do this..?

I’ve done this before, and can’t seem to remember how… I vaguely recall having to get a certain script or something, or maybe copy one from the player…?
I don’t remember lol
That’s why I need help, just tell me what to do/link what I need in replies…?

just play test the game, copy the animate local script and it’s children, then paste them somewhere, copy the text from the animate local script and paste it inside a script inside of the npc u wanna animate, then copy the children of the animate local script and paste them inside of this script, delete the local script. then u may get an error related to chatted function when testing, to fix it, click on that error and delete the entire function