Maybe its a r6 animation and r15 dummy (or other way round)
That could be a reason, you can’t animate if the rigs are anchored. HumanoidRootPart
is irrevalant.
No. The rig I’m trying to animate is the same one the animation was made with
I just checked and only HRP is anchored.
Is the script in the owner’s game? You can try and test the game in Roblox Player (outside Roblox Studio) to see if there’s any differences.
That may fix it. I’ll go try now.
1 Like
local animationId = "rbxassetid://9495604116"
local Humanoid = script.Parent
local animation = Instance.new("Animation", Humanoid)
animation.AnimationId = animationId
local Animation = Humanoid:LoadAnimation(animation)
Animation.Looped = true
while true do
Animation:Play()
task.wait(3)--The length of animation
end
I tested this and it worked perfectly fine for me
2 Likes
Humanoid:LoadAnimation
is deprecated. Just use Humanoid.Animator:LoadAnimation
instead.