I coded a tool to play an animation when equipped but it does not play when equipped.Could someone explain the reason for it?
local Humanoid = game.Players.LocalPlayer.Character.Humanoid local anim=Instance.new("Animation") anim.Name = "Drawanim" anim.AnimationId = 'http://www.roblox.com/asset/?id=305299714' anim.Parent = workspace script.Parent.Equipped:connect(function (idk) local playanim = Humanoid:LoadAnimation(anim) playanim:Play() end)