I’m using :moveto and I want the rig to move with the rthro animations, but it has no animation and just moves, but apparently you can use animate script with a rig, and I want to know how
Hey there, this functionality is relatively easy to implement on NPCs.
All you need to do is Play Test normally in Studio as an R15 character.
Then, go to the workspace and locate your Roblox Character. It’s usually called your Username.
Then, copy the Animate
script, and stop running the Play Test.
After that, locate the rig you want to have the animations. Make sure they’re fully unanchored, as animations cannot play while anchored.
Create a regular server script inside the folder, as well as pasting the copied Animate
script into the rig. Copy all descendants of the Animate
script and move it into the newly created server script. Make sure you also copy and paste the code to the new server script with what is inside Animate
.
I cannot fully recall if any errors pop up, but if there are, I’m sure you just delete those lines from the code as the server doesn’t need some things that the client does. After that, you should have NPC walk animations that work with :MoveTo()
.