For some reason, my sword animation that I made only works on me. When I ask a friend to test it on their character, it doesn't function and in the output it says cannot load animation.
I used a local script for the animation and I put an animation item in the local script. The local script is:
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(3) attack:Stop() CanAttack = true script.Parent.CanDamage.Value = true end end)
(There is also a boolvalue in the sword tool set to true)
So could someone give me a solution, that would be much appreciated.
I'm no expert, but if you're using LocalScript, change it to Script ! LocalScripts work for player themselves, but Scripts work gamewide ! (You have rights to judge me, since I don't know it all completely)