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

3 comments

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)

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.

0

thanks it worked