In a separate scene, you could try pressing the stop all scripts button and look for the command in the console. Then, in the console, run the command and then copy and paste it into the console history buffer(By pressing the up arrow it should repeat this command). Then you might be able to open the problematic scene and hit the up arrow (and press enter) to run the disable all scripts command. Good luck!