Ok so i keep getting this error “Cannot load the AnimationClipProvider Service.”. Ive looked at all the other posts of this and none of them have worked for me. This is a viewmodel script, and i want the animation to play when the tool has been equipped and unequipped. This is the script.
local equipAnim = viewmodel.AnimationController.Animator:LoadAnimation(script.Parent.Parent.Animations.Equip); local unequipAnim = viewmodel.AnimationController.Animator:LoadAnimation(script.Parent.Parent.Animations.UnEquip);
script.Parent.Parent.Equipped:Connect(function() viewmodel.Parent = camera equipAnim:Play() end)
script.Parent.Parent.Unequipped:Connect(function() unequipAnim:Play() wait(0.5) viewmodel:Destroy() viewmodel = game.ReplicatedStorage.viewmodel:Clone() end) end)
the viewmodel itself works (when i dont try to load the animations) but the animations do not.
i am still learning abt thios so any help is appreciated