So I'm trying to figure out the problem with this code:
local animation = (14041061188)
local UIS = game:GetService("UserInputService")
UIS.inputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Keyboard then
if input.KeyCode == Enum.KeyCode.E then
animation:Play() <- Here is the problem it's not doing this
end
end
end)
Can anyone help me?