Animation problem

Hello, i’ve made a animation for the knob for my door, but it don’t load, with humanoid and animation controller.

There is the script for test :

while wait() do
	local anim = script.Parent.Parent.AnimationController:LoadAnimation(script.Parent.Parent.Animations.Knob)
	anim:Play()
	anim.Ended:Wait()
end

Please help me : (

1 Like

Use TweenService instead.

1 Like

Try to use this and use animator with humanoid instead animation controller:

while wait() do
function PlayAnimation()
	local anim = script.Parent.Parent.Animatior:LoadAnimation(script.Parent.Parent.Animations.Knob)
	anim:Play()
    end
anim.Ended:Connect(PlayAnimation)
end

It work, thank you ! : ) Thank you for all helpers too !

1 Like

Good to know it works. No problem.

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