Imagine you have a dev-Console Gui in your game and you want some way to interact with all of the scripts like disabling all of the scripts in game but not the dev-Console Gui Script.
I have the script for the command bar but not to turn off all the scripts. Btw this is not a server side script i am trying to make it far into the Local side.
script for the dev-Console
for i,Inputs in pairs(script.Parent.Shell.Inputs:GetChildren()) do
if Inputs.Text == "Quit" or Inputs.Text == "quit" or Inputs.Text == "kill()" or Inputs.Text == "Kill()" then
-- Trun off scripts in game without this one!
end
end
*And with the same code turning the scripts back on again!

4 comments
you cant call game get descendants in a regular script as it will give an error so using the argument BashGuy10 stated will not be needed
thx @MLGwarfare
You never even explained a bit of your code. @MLGwarfare04
im pretty sure anyone with half a brain can read the code