I make animation and idk how play this animation on local player when click detector gonna be clicked.
local animation = Instance.new("Animation") local click = game.Workspace.button.button2.ClickDetector local track = nil animation.AnimationID = "https://www.roblox.com/Asset?ID = 4914456849"
click.MouseClick:Connect(function() local plr = game.Players.LocalPlayer track = plr.Character.Humanoid:LoadAnimation (animation) animation:Play() end)
