The error for this script says " GetChildren is not a member of Frame" on line 12, what is wrong with line 12?
local BUTTON = script.Parent
local ITFRAME = BUTTON.Parent.Parent
local FRAME = ITFRAME.Hull
local NAME = BUTTON.Text
local ITEMNAME = FRAME.Itemname
local SCROLLINGFRAME = ITFRAME.ScrollingFrame
FRAME.Visible = false
function on_button1_down()
for I,v in pairs (ITFRAME:Getchilrden()) do --Here is the problem <<<<<<
if v.Name ~= SCROLLINGFRAME-- item to avoid
then v.Visible = true
else v.Visible = false
ITEMNAME.Text = NAME
FRAME.Visible = (not FRAME.Visible)
end
end
end
BUTTON.MouseButton1Down:connect(on_button1_down)

4 comments
GetChildren is the function, not Getchildren.
Also, I've already answered your question.
Also you spelled GetChildren() wrong, you spelled it as Getchilrden()
I said that already?