Basically, this is quite a simple script, when "w" is pressed, I want the script to enable and when "s" is pressed I want the script to disable. It seems to disable fine then doesn't enable itself again when "w" is pressed.
Here's the script:
Mouse.KeyDown:connect(function(key)
if key:lower() == "s" then
script.Disabled = true
end
end)
Mouse.KeyDown:connect(function(key)
if key:lower() == "w" then
script.Disabled = false
end
end)
Any help to resolving this is appreciated.

1 comment
Is this a joke? Because I find this super entertaining. Once a script is disabled, none of the code within the script will run. And why do you need to do this anyway? I don't see the point.