I want to code some thing just before the user leaves the selection screen, etiher by clicking on back gui button(f3) or exit button.
Is there such an event?
Thanks in advance.