I tried creating a master script so that I could time all of them to go at about the same time front a title screen, but once I do script.disable = true and go in little while later with false nothing changes. Is there a way to do what I am asking, or even an easier way? Thanks in advance.
Is there a way to disable and enable scripts from a master script?
3 answers
script.disable is not a valid property of a script.
You need to use script.Disabled instead.
4 comments
I tried using script.Disabled but it only works to disable it. Is it possible to enable a disabled script?
Yes! You can do script.Disabled = true to disable a script, and script.Disabled = false to re-enable it! If this helped, feel free to accept my answer!
Alright so I was experimenting with it and the problem was when I tried turning off the script with a different one I had to wait a few moments otherwise it wouldn't have disabled it. And the ones I was mostly experimenting were local scripts in statergui and I now see they moved to another area. Thanks
No problem!
To Disable a script, use <script.Disabled = true>. If you want to enable it, use <script.Disabled = false>
just in case anyone is gazing through and wondering, whether they are new or experts, the way i got my master script to work was i put it in the starter gui folder and used instead of going from game and up, i went from script to parent. If you were looking for this hopefully this helps.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
wdym by master script
like a script that controls all the others