The title says it all:
local player = game.Players.LocalPlayer
local character = player.Character
local uis = game:GetService("UserInputService")
local mouse = player:GetMouse()
mouse.KeyDown:Connect(function(key)
print(key)
if key == Enum.KeyCode.E then
character.HumanoidRootPart.Position.Y = character.HumanoidRootPart.Position.Y + 1
end
end)
Thanks!

1 comment
Also you dont need to get the mouse if you arent making any changes