[REPOST]Cannot load the AnimationClipProvider Service

the script plays fine but after i reset it keeps giving me this error: Cannot load the AnimationClipProviderService,heres the script:

local db = false

local tool = script.Parent
local anim = tool:WaitForChild("Animation")
local player = game:GetService("Players").LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local loadanim = humanoid:loadAnimation(anim)

tool.Activated:Connect(function()
	if db == false then
		db = true
	loadanim:Play()
	wait(3)
		db = false
		end
end)

I used your script above with a Part for the Tool and got no error message when I reset.

load the animatoin in tool.activated or just task.wait a bit

Also, make sure to use Animator:LoadAnimation() as humanoid:LoadAnimation() is deprecated.

also another solution i found is that i could get it out of StarterPack

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