I Keep Accidentally Deleting Scripts

As a Roblox developer, it is currently too hard to avoid deleting scripts by accident.

I’ve done this five or six times in the past couple weeks:

  • Try to click the Name field to rename the module
  • Click the Parent field instead by accident

image

  • Click in the blank space in the property panel to dismiss the instance picker
  • Doing so deletes the script I’m trying to rename.
  • I probably have another script open, so pressing Ctrl+Z undoes my code changes and doesn’t bring the deleted script back.
  • I have to switch to the Viewport and then use Ctrl+Z to restore the deleted module.

I don’t know why this has only recently become an issue, maybe the behavior of the instance picker changed, or maybe I’ve just started clicking the Name field to rename more often than I press F2. Either way I figured this was worth reporting since it’s a consistent pattern and there’s probably a way to improve the UX.

If Roblox is able to address this issue, it would improve my development experience because I wouldn’t delete scripts by accident.

9 Likes

Just press the instance name on the explorer while the instance is already selected and it will highlight the text which will allow you to edit, or if your using the next gen explorer select an instance and press enter

You can press escape to cancel changing the parent. Something must have changed recently though, clicking the blank space used to cancel it too.