Yeah so I get the children of a GUI and then use a for loop to check the children yet its telling me it cant because its a number value? Since when does :GetChildren() return a number?
local but = script.Parent
local site = script.Web.Value
local ser = but.Parent.SerBar
local url = script.URL
but.MouseButton1Click:connect(function(plr)
local gui = but.Parent:FindFirstChild(site):GetChildren()
local all = but.Parent:GetChildren()
for v = 1 , #all do
if v.ClassName == "Folder" then
local gc = v:GetChildren()
for e = 1, #gc do
e.Visible = false
end
end
end
ser.Text = url.Value
for i = 1, #gui do
i.Visible = true
end
end)
This is the Error
Players.CrispyBrix.PlayerGui.SurfaceGui.WHITE.Home.Click:10: attempt to index local 'v' (a number value)
Any help is appreciated

2 comments
First variable in for loop is always a number. Add ",v in pairs" or ",v in ipairs" to get the wanted value.
gui[i].Visible = true