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
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