How would i make it so when the player press E and R it print "E and R was pressed!"
local UIS = game:GetService("UserInputService")
UIS.InputBegan:connect(function(K)
if K.KeyCode == Enum.KeyCode.E and Enum.KeyCode.R then
print("E and R was pressed !")
end
end)

1 comment
Thanks !