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

How do I disable scripts? it's set to true but it's still running

Asked by 3 years ago

game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(key) if key == "e" then BRed.Script.Disabled = true

0
Remember,when you set a script to disabled,WHILE A SCRIPT IS RUNNING,the script wont stop until it finish its last lines (Sorry for grammar mistakes) trustydoggy 24 — 3y
0
Yep, trustydoggy is correct. Also, if that Script is in the Workspace, you're only disabling it for the client. Instead, you should create a remote event in the Script, and fire it from the client's LocalScript. This can then be used to disable your script. iAviate 20 — 3y
0
thanks it worked Aesdeadic 2 — 3y

Answer this question