I’m making a gun system for my game but when I play test and reset my character this error pops up: cannot load the AnimationClipProvider Service.
I tried somethings like task.wait(2) but not working too.
Heres the code(Client) for loading the animations:
for i,v in pairs(Animations:GetChildren()) do
if v:IsA("Animation") then
if v.AnimationId == nil then
v.AnimationId = "rbxassetid://0"
end
Anims[v.Name] = Humanoid:LoadAnimation(v)
end
end
try changing it to this, i tried to replicate that error but havent gotten it, the only other error was it cannot load a the “rbxassetid://0” since its not a thing
for i,v in ipairs(Animations:GetChildren()) do
if v:IsA("Animation") and v.AnimationId ~= (nil or ' ') then
Anims[v.Name] = Humanoid.Animator:LoadAnimation()
end
Animation = Instance.new("Animation") Animation.Parent = game.Workspace Animation.AnimationId = "http://www.roblox.com/asset/?id=8483249725" local Player = game.Players.LocalPlayer local mouse = game.Players.LocalPlayer:GetMouse() mouse.KeyDown:connect(function (key) for i, v in pairs(game.Players:GetChildren()) do if key == "e" then local AnimationTrack = Player.Character.Humanoid:LoadAnimation(Animation) AnimationTrack:Play() end end end)