Hi.
I've read you project details and understood that you want AltTab GUI (black GUI) to be shown only if Alt+Tab is being hold for 1.5 secs, while not to show the GUI if Alt+Tab is pressed and released too fast.
I did add up some codes and achieved above behavior.
Please drop me message to start text chat as I need confirmation for if it’s correct and also to discuss further about script behavior after the GUI is shown.