Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I completely stop a script?

Asked by 10 years ago

It's pretty impossible as far as I know.

Things I tried:

script.Parent = nil;
script:Destroy();
script.Disabled = true;

getfenv(0);
repeat return until nil;

All of the above don't work on my scripts, so, how do I completely stop a script? Note: it's a localscript.

Answer this question