Is there a way to know when you close the script editor? Im currently working on a plugin that requires this function.
game:GetService("StudioService").ActiveScript
returns the script being edited, there isn’t a way to detect when it’s closed so use this to find your way around it.
1 Like