So I want to be able to perform an auto-save in my game. But doing it every time my game updates will cause lag. In addition, I could use the “on game update every x second” but that means players will have to wait for it to happen before they can close out the tab. So, I thought maybe I could do it right before someone clicks reset. However, there is no function to do that. Is there an extension I could use to let me save the game before a reset and then reset when it’s finished?