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!!!
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()