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)