So, I wanna copy my animations of my character to another NPC. I copied the script and the childrens inside it, then I create a new server script, paste the code that’s copied from the animate script which is a local script, and move all the childrens to that server script. I’ve made sure to remove the chatted event inside that code. But however, my NPC is not doing any idle animation. Any ideas why?
I’ve uploaded a script for you. It works for all the animations (idle, walk, run, etc…) and you shouldn’t have any problem. I allowed copying so you should be able of getting it. It works like a normal animate script for the player, just change the IDs like you would do on a player’s animate script and you should be good.
https://www.roblox.com/library/5987166137/NPC-Animate-Script
Good luck!
Edit: You may also want to use it for ‘educational’ purposes, since you tried to create it yourself but it didn’t work maybe you can use this to see how it is made.
Can I see the script inside it?
Doesn’t work. It did the same result. Nothing.
Maybe it’s the HumanoidRootPart that is anchored. If it is anchored, the animation won’t play. Had that issue too the first time I used the script.
Still doesn’t work, I found my solution is to just copy the animate script and paste it into a server script then parent it to the model. Don’t move the children inside it because it won’t make the character animate.