Use this in a function to exit on ESC, without overriding the ESC key globally. GuiEscape: Gui, Destroy return