I'm new to scripting and I'm trying to make a game with my brother. We created a custom sword and I added an animation for it (following this tutorial: https://www.youtube.com/watch?v=dRGEAethTGA). When I test the sword, the animation works fine, but when my brother tries it the animations won't work and he receives this error message:
"Animation "https://www.roblox.com///asset/?id=1231217481&serverplaceid=0" failed to load in "Workspace.Eribetra.knife.LocalScript.Attack.AnimationId": Animation failed to load"
Is this error message going to show to everyone that doesn't have the animation? If so, how can I fix it?
My scripts for the sword:
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(0.6)
attack:Stop()
CanAttack = true
script.Parent.CanDamage.Value = true
end
end)
Thanks for your attention.

2 comments
Animations only work for one player / the one who created it
Is there another way I can create custom animations then?