It does not show any output whatsoever
Here's the UPDATED script
local UIS = game:GetService('UserInputService')
local plr = game.Players.LocalPlayer
local Char = plr.Character or plr.CharacterAdded:wait()
local Key = 'E' --Make sure to capitalize it!
local animation = Instance.new("Animation")
animation.AnimationId = 'rbxassetid://2456539535' --The is the appropriate format
local debounce = true
UIS.InputBegan:Connect(function(Input, IsTyping)
if IsTyping then return end
local KeyPressed = Input.KeyCode
if KeyPressed == Enum.KeyCode[Key]and debounce then
debounce = false
local LoadAnimation = Char.Humanoid:LoadAnimation("Animation")
LoadAnimation:Play()
wait(2)
debounce = true
end
end)

5 comments
Try changing 'e' to a capital
Line 8, the correct formatting should be something like: “rbxassetid://2456539535".
Sorry to all,my mistake.It says 'AnimationID is not a valid member of animation'
Forget that,just a little typo.Its supposed to be AnimationId.Anyways they say there's an error on line 17 They don't tell me whats wrong
Nevermind,I got it all sorted thanks for the help all!