WARNING!!! This thing will crash your tab of Scratch when you click the flag. I heard about this method from a friend, so I figured I'd try it for myself.
If you wanna use this for some reason just backpack the "kill switch" sprite and then all you have to do is broadcast the "kill switch" message somewhere. Thanks to @Stevemine26 for teaching me how to do this