Hello, I have made a sword as a tool. The goal of my code is to make the sword move by the animations I put in my script.

When I open studio and put it in test mode I get a error: ( Animation "https://www.roblox.com//asset/?id=1261536352&serverplaceid=0" failed to load in "Workspace.SczancuN.Wooden Sword.LocalScript.Attack.AnimationID" Animation failed to load in )

Does anyone know what kind of error this might be? The animation was made today by a friend of mine. This is the code I am using.

local CanAttack = true

 

 

script.Parent.Activated:connect(function()

local attack = script.Parent.Parent.Humanoid:LoadAnimation(script.Attack)

 

if CanAttack == true then

attack:Play()

CanAttack = false

wait(1)

attack:Stop()

CanAttack = true

script.Parent.CanDamage.Value = true

end

end)