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)