function onTouch(obj) if obj.Parent:findFirstChild("Humanoid")~=nil then p=game.Players:findFirstChild(obj.Parent.Name) if p~=nil then if p.TeamColor == BrickColor.new("Bright red") then backpack = p.Backpack.GK:GetChildren() for i, v in ipairs(backpack) do if v.ClassName == "LocalScript" then v.Disabled = false end end end end end end script.Parent.Touched:connect(onTouch)
hi guys, this script is suppose to make disabled = false in the local scripts inside a tool however it does not work!! please help me the output says
"Keep is not a valid member of Part" line 4
but this is weird because I have another script that does the exact same thing but it makes the scripts disabled instead of making them undisabled and that works perfectly please help