So I tried to play an equipping animation on my sword when I equip it. I did this through a local script. However, when I equip the sword, only the default equip animation is played. Please help me.
Here is my script:
local sword = script.Parent local humanoid = sword:FindFirstChild("Humanoid")
sword.Equipped:connect(function() if humanoid then local anim = sword:FindFirstChild("EquipAnim") if anim then local loadedAnim = humanoid:LoadAnimation(anim) if loadedAnim then loadedAnim:Play() end end end end)

2 comments
can't help don't see any code.. perhaps your code block is nil
lol