Humanoid:MoveTo Not smooth

Hello, I have been recently trying to smoothly use a :MoveTo() function on a NPC that is made by the character loader plugin.
I’m trying to make the walk speed at 16, and make the R15 animation more smoothly instead of it having no animation.
https://gyazo.com/172740ee90efe6287bbb8e99e9e4645e

Script:
wait(10) script.Parent.Humanoid:MoveTo(game.Workspace.Movetos:FindFirstChild("1").Position)

3 Likes

Note: Its not anchored, plus I have been trying to make it unpushable by people.

Well, you say in your OP that you want the walkspeed at 16 so in your script just set the NPC’s walkspeed to 16, then it should slow the NPC down, for the animation script in toolbox there are free assets for animated NPC’s with all animations.

Model Link: https://www.roblox.com/library/609768681/Animated-NPC-R15

Check this model to see a reference on making your own animation script.

2 Likes

To make it not pushable, you should check out Collision Groups/PhysicsService and disabling the player to NPC collisions. If you want it to have collisions, then the best way is to make the NPC’s HumanoidRootPart more heavy (change the CustomPhysicalProperties’s density) so that it’s harder to push around or anchor the HumanoidRootPart when the NPC stops running.

1 Like

What exactly do I need to do to prevent it from colliding with other CHARACTERS, because its currently falling because its not even colliding with the normal parts.

Again, check out Collision Groups/PhysicsService.

Make a new collision group with scripts, then make it so that when a player joins, it applies the collision groups to them. You also make the script apply it to the NPCs as well.

1 Like