Animation failed to load?

So I tried making a medipack with an animation which would keep your hand down.
I tried to load it in the script below but all I’m getting is

14:31:17.490 - Animation "https://assetdelivery.roblox.com/v1/asset?id=189040478&serverplaceid=0" failed to load in "Animation.AnimationId": Animation failed to load

Any fixes?
Code:

local tool = script.Parent
local cooltime = 4
local cooling = false
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://5156129075"

tool.Equipped:Connect(function()
	
	anim.Parent = tool.Parent
	local aa = tool.Parent.Humanoid:LoadAnimation(anim)
	aa:Play()
end)


tool.Activated:Connect(function()
	if cooling == false then
		cooling = true
		tool.Parent.Humanoid.Health += 20
		wait(cooltime)
		cooling = false
	 
	end	
end)

EDIT: Seems like blocking the tool holding animation is a completely different problem.

Is the game you’re working on your own game?
You could try to set it up like this:

Yup the game is mine and only mine.

1 Like

Is the animation yours?
30chars

Yes I made it myself and it is in my inventory.

Does it have the same affect when you do it outside of studio?