Why wont my script work?

Im tryna make a gun shop. when you click the button for the gun its supposed to close the info for other tools and open the info for that but I cant seem to make it work.

First it will make everything in red not visible then make whats in the green visible
image

Remove { and } from script.Parent.Parent.GetChildren() (line 3). :GetChildren() already returns a table.

1 Like