Problem with animations

Hello, i am experiencing a problem with animations. The animations work fine until after the player resets, then they stop working, why is this happening? ( i get the error: " Cannot load the AnimationClipProvider Service. ")

Info: its inside a local script, in a tool.

I altered the script to show only what is relevant:

UserInputService.InputBegan:Connect(function(Input, IsTyping)
if not IsTyping then
if not debounce then
if tool.Enabled == true then
if cooldown == false then
if Input.KeyCode == Enum.KeyCode.E then
if script.Parent.Attacking.Value == 0 then

				local anim = Instance.new("Animation")
				anim.AnimationId = "rbxassetid://8950517627"
				local animplay = animator:LoadAnimation(anim)
				animplay:Play()
					end	
					end
				end
			wait(2.25)
			debounce = false
                    end
	end
end

end)

Hm, this is weird. Do you think this applies?

For me the issue was, when I got this, character was not fully loaded. Try using CharactedAdded:Wait() on your local player.

2 Likes

From what I have seen this has been reported quite a lot and I myself have had the error, in January this happened to many people it is believed to be a problem with the engine.

Read this for more info about it.