Cannot load the AnimationClipProvider Service Error

I keep get the error

Cannot load the AnimationClipProvider Service.

when trying to play a animation after resetting the player here part of my code

local plr = game.Players.LocalPlayer
local char = plr.CharacterAdded:Wait() or plr.Character

game.ReplicatedStorage.playanim.OnClientEvent:Connect(function(name,typ)

    local humaniod = char.Humanoid

local humrp = char.HumanoidRootPart
local anim = game.ReplicatedStorage.Throw
local animator = humaniod:FindFirstChildOfClass(“Animator”)
local animtrack = animator:LoadAnimation(anim)
animtrack:Play()

any help is appreciated

1 Like