I’m trying to disable all of the frames under a folder, however running :GetChildren()
and trying to make them all visible = false
doesn’t seem to be working.
Script:
script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.Parent.Parent.Customs.Visible = false
script.Parent.Parent.Parent.Parent.Knights.Visible = false
script.Parent.Parent.Parent.Parent.Order.Visible = false
script.Parent.Parent.Parent.Parent.Humans.Visible = false
script.Parent.Parent.Parent.Parent.Main.Visible = false
local desc = script.Parent.Parent.Parent.Parent.Descriptions.Order
local frames = desc:GetChildren()
frames.Visible = false
end)
this is where the frames are