Is it possible to put a walking/running animation on a rig when you are using :moveto on their humanoid? If so, please tell me how.
You can just copy the Animate
local script from the character when you test the game and paste it into a server script, removing everything containing the local player.
If you make the animation, you can make it play on the move.
local anim1 = humanoid.Animator:LoadAnimation(animationID) --your animation id here
--and when moving the character...
anim1:Play()
--if you want to stop it
anim1:Stop()
Animator:LoadAnimation()
takes an animation as an argument, not an ID.
That’s what I meant. You would have
local animationID = Instance.new("Animation") --animation ID variable
animationID.AnimationId = 000000 --id
Apologies for the misleading variable name.
Hi!
If i’m not wrong, everytime when the character moves it changes it’s MoveDirection (MoveDirection determinates moving of the Humanoid, as it’s the Vector value).
Using if <condition> then
will solve your problem, but it seems to be that I was late and people were recommending optimized way to copy and paste original Animate script from your player character and change it a little.