Alright so, I have 15 local scripts in a tool one of them called banana others are in other names I want that when I say the name of the script - "Banana" It will disable all of the scripts in the tool beside the banana script, I have tried to do somthing like:
g = script.Parent:GetChildren() for i = 1, #g do if g[i].ClassName == "LocalScript" then if g[i].Name == "Banana" then return end g[i].Disabled = true end end
so, what it did is basically nothing, nothing was disabled. all I need is to know how to rewite this code so it would not disable banana with the other scripts, hope you can help me
royee354.