Cannot load the AnimationClipProvider Service [Error Issue]

I’m currently trying to test an animation that I have created just recently. However, I keep getting an error that states “Cannot load the AnimationClipProvider Service.I’ve loaded my other animations the same way and they seem to work, so I’m not sure why this one won’t play.

I’ve tried searching the entire developer forum and have noticed that a lot of people have had the same issue the past month. I’ve even asked for help in Discord scripting-help channels and people can’t seem to find out what’s wrong with it.

I was recommended to switch

local AnimationTrack = Humanoid:LoadAnimation(Animation)

to:

local AnimationTrack = Animator:LoadAnimation(Animation)

Yet this still doesn’t effect anything.

Full Script:

local Player = game.Players.PlayerAdded:Connect(function(Player)
	local Character = Player.CharacterAdded:Connect(function(Character)
		local Humanoid = Character:WaitForChild("Humanoid")
		local Animator = Humanoid:FindFirstChildOfClass("Animator")
		local Animation = game.ReplicatedStorage.ProjectusPush
		local AnimationTrack = Animator:LoadAnimation(Animation)
		
		wait(10)
		AnimationTrack:Play()
	end)
end)

If anyone has any solutions to this it would be much appreciated if you could share them here!

I think the character has to be in workspace for the animator to do it’s stuff
just wait until the character is in workspace

1 Like

How would I be able do this? Also sorry for not knowing I’m sort of new to using this language.

repeat task.wait() until character.Parent == workspace
--load here

I don’t think I need to explain this

2 Likes

Seems to be working just fine now. Thank you so much!

local Player = game.Players.PlayerAdded:Connect(function(Player)
	local Character = Player.CharacterAdded:Connect(function(Character)
		repeat task.wait() until Character.Parent == workspace
		local Humanoid = Character:WaitForChild("Humanoid")
		local Animator = Humanoid:FindFirstChildOfClass("Animator")
		local Animation = game.ReplicatedStorage.ProjectusPush
		local AnimationTrack = Animator:LoadAnimation(Animation)
		AnimationTrack:Play()
	end)
end)
1 Like

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