Hi, I made a Animation script for a keydown function and for some reason the Title is what the output returned. Can you help me out please? Here's the script:
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
repeat wait() until Player.Character and Mouse
Mouse.KeyDown:connect(function(Key)
if Key == "q" then
local Animation = Instance.new("Animation")
Animation.AnimationId = "http://www.roblox.com/Asset?ID=281476213"
local animTrack = Player.Character.Humanoid:LoadAnimation(Animation)
animTrack:Play()
end
end)
Cheers for the help.

4 comments
The output doesn't show any errors but the animation won't Play?
I'm not sure if the animation needs to exist within the datamodel to be played, but if it is your animation then you should be able to play it
But it doesn't so what should I do?
He answered your first question. Ask your current question as a new one for best results.