NPC sliding when MoveTo

Hello, the question is why, when I made a character from scratch and added bones to him in roblox, I gave him a script to go from Part to another Part, but he goes sliding on the surface. How can I fix this?


Thanks a lot, I ungrouped it right on the desktop and formed it back into the model, and now it doesn’t slide. Thank you very much!!!

2 Likes

You’d need to add an animation track to play while the character is moving.
Upload an animation and get the animation ID.

local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://yourAnimIdHere"
--ensure a Humanoid is in the character with an Animator as a child to it
local animTrack = character.Humanoid.Animator:LoadAnimation(anim)

--then, when needed:
animTrack:Play()
2 Likes

Try to Ungroup it using (Ctrl+U) the Select them all and (Ctrl+G).

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.