I did everything correct below?:(local script btw)
local UIS = game:GetService("UserInputService") local key = "E" -- key
UIS.InputBegan:Connect(function(input, gameProccessedEvent) if gameProccessedEvent then return end if input.Keycode = Enum.Keycode.E then print("Worked!") end end

1 comment
btw its == enum i forgot to put that