Inputs.WasKeyPressed(enumeration/BUTTON) client Check if a specific key was pressed. Argument keyCode BUTTON Returns boolean Whether the key was pressed. Examples Inputs.WasKeyPressed – Check if a specific key was pressed.