Is there any way to prevent instance deletion in explorer?

Hello guys. My story is short and sad: I was writing some script, then I checked some instance properties in explorer, then I forgot to click on script editor back and then clicked this: I, Backspace. This selected firstly very important module script with name ItemCreator and backspace deleted it. I not noticed that, and saved file. After 2 days, I have found that I have deleted that script, and now I have no any other options other that rewrite it from ground.

Is there any way to lock instances in explorer so I won’t have such things anymore?

2 Likes

Has the game been saved to Roblox? You can open version history if so

2 Likes

It was in local file. Cuz my parents love to toggle off wifi when they don’t need it, it’s best option for me to work.

1 Like

What about AutoSave? Will that help?

1 Like

Not always. IDK how and when it creates auto-recovery, and when I looked trough 10 of only related files, I have found only very old versions and versions with already deleted script.

1 Like

Your best approach is recreating that, and maybe you can improve the code this way and do some other tweaks?