As a Roblox developer, it is currently too hard to abort a script while running.
In many cases, during game testing, I need to abort the script to prevent
BindToClose from running, since the
Stop button executes both.
This is because normally data is saved in the DataStore in these functions and when aborting, I want ABSOLUTELY NOTHING to be processed at the exact moment I need to stop the script.
Currently, it is possible to abort the running project as follows:
- Enter a script
- Activate a breakpoint
- Execute something in the game that forces the script to go through that line with a breakpoint
- When the script stops at this breakpoint line, then I press the STOP button.
Only in the above case is it possible to REALLY ABORT the script.
If Roblox is able to address this issue, it would improve my development experience because This will make it much easier to interrupt a script, preventing unwanted further processing.