I'm trying to play an animation when the tool is equipped but it doesn't work. What do I do?
local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/Asset?ID=144911345" script.Parent.Equipped:connect(function() animTrack = player.Humanoid:LoadAnimation(animation) animTrack:Play() end)
I saw on the wiki they binded the animation to the keyframe reached event, but is that whats wrong? If so, what does that mean or do and how do i do it?