This was the example for printing the names of all children of an object:
local children = Workspace:GetChildren() for i = 1, #children do print(i, children[i].Name) end
So i changed it to make my GUI become visible, without the locals and stuff:
for i = 1, #children do print(i, children[i].Name) children[i].Visible = true end
However, my 8th child is a Script, so it fails and doesn't continue the script since it can't become visible,
How do i make it stop before hitting the 8th Child?

1 comment
Just check the classname to see if it is a script or not.