I am using the pathfinding service, and that is going fine of itself. But my NPCs are floating and have no animation whatsoever. Does anyone know how to fix this issue?
Are you using the :MoveTo method on the humanoid of the character model to the way points?
1 Like
Yes. Thats what the wiki said to do.
It’s also presumed that you do have an animator script in the rig as well? Like the default Roblox one for example
To make it more clear(i guess)
- Play Solo
- Copy the animations local script that can be found on your character(not the code but the local script along with its children)
- Now exit playing
- Paste you’re local script in the npc you want to have an animation
- open the local script and copy all the code
- create a server script inside the npc and paste your copied code in the server script
- get the local scripts children and parent them to the server script
- delete the local script
Its up to you if you want to remove the local player in the server script, if not then it will give out an error but I dont think it affects the animation. Make sure you’re player is also R15
3 Likes
I am actually cloning the player model so the local script that you are talking about is already in the npc.
You’re cloning the player which has the local script version and local scripts dont work on npcs
So if I use your method, will it not work either?