this script isnt working
local player = game.Players.LocalPlayer
local user = game:GetService("UserInputService")
local mouse = player:GetMouse()
local Animation = Instance.new("Animation")
local Humanoid = player:FindFirstChild("Humanoid")
Animation.AnimationId = "http://www.roblox.com/asset/?id=2625660591"
local animationController = Instance.new("AnimationController")
local animationTrack = animationController:LoadAnimation(Animation)
animationTrack:Play()
local function onKeyDown ( key )`~~~~~~~~~~~~~~~~~
` print ("punch")
mouse.KeyDown:Connect(onKeyDown) end

1 comment
Try finding character too in line 5. Also are there any errors other than "my animation wont load"?