So I made a "dab" animation (Yeah I did..;p) and it works. I made a dancing animation but it wont work. Can somebody help me? The dance animation is the same as the dab animation, (the scripts) just diff animation ID.
local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/Asset?ID=1630032947" local trackanimation = nil local playability = true function playAnimation(AnimationSource) if playability == true then local plr = game.Players.LocalPlayer trackanimation = plr.Character.Humanoid:LoadAnimation(animation) trackanimation.KeyframeReached:connect(function(kf) print('working') end) trackanimation:Play() end end script.Parent.MouseButton1Click:connect(playAnimation)