Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to fix Cannot load the AnimationClipProvider Service?

Asked by 2 years ago

i have tried most things i have run a repeat upon start that reloads the animations until character.parent = workspace, and until character has a humanoid

This is my script, thanks in advance

repeat wait(0.1) 
    for i,v in pairs(ReplicatedStorage.Takedowns.Weapons.GreatSword:GetChildren()) do
        if v:IsA("Animation") and v.Name == "Equip" then
            equip = Humanoid:LoadAnimation(v)
        end
        if v:IsA("Animation") and v.Name == "Equip" then
            dequip = Humanoid:LoadAnimation(v)
        end
        if v:IsA("Animation") and v.Name == "1" then
            Attack1 = Humanoid:LoadAnimation(v)
        end
        if v:IsA("Animation") and v.Name == "2" then
            Attack2 = Humanoid:LoadAnimation(v)
        end
    end
until game.Players.LocalPlayer.Character.Parent == workspace and char:FindFirstChild("Humanoid")

Answer this question