local player = game.Players.LocalPlayer repeat wait() until player.Character
--Player local char = player.Character
--User Inputs local mouse = player:GetMouse()
--Animation local animation = Instance.new("Animation") animation.AnimationId = "https://www.roblox.com/Asset?ID=1320870193"
local trackanimation = nil
local function playAnimation() trackanimation = player.Character.Humanoid:Loadanimation(animation) trackanimation:Play()
end
--Handle user inputs mouse.KeyDown:connect(function(Key) if Key == "e" then playAnimation() end end)~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~