I'm looking for a way to make it so when this line of code runs, the script that it is referring to would get disabled, or enabled. This is what I have so far.
script.Enabled=true --or sciript.Disabled=true
Please tell me what I am doing wrong, thank you!.
Confusing, you want the script to be the reverse of what it is right now? just do
script.Disabled = not script.Disabled
not associated with a boolean (true / false) will return the reverse of it not true = false not false = true