title: Roblox Studio Lua: Shop Screen Gui: Button Not showing
body: <p>I am making a shop button, but it isn't showing when you hit the shop button. Here is a picture of what it looked like before changing the script:</p>
  
  <p><a href="https://i.stack.imgur.com/VGdBf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VGdBf.png" alt="What it looks like before"></a></p>
  
  <p>I want there to be a button there.</p>
  
  <p>Now, the problem is probably in the children and parents. So here is a picture of the explorer:</p>
  
  <p><a href="https://i.stack.imgur.com/MmT8j.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MmT8j.png" alt="The Explorer"></a></p>
  
  <p>And Finally Here is my changed script:</p>
  
  <pre><code>local frame = script.Parent
  local FirstItemButton = script.Parent.Item1
  local close = frame:WaitForChild("Close")
  local shop = frame.Parent:WaitForChild("Shop")
  
  shop.MouseButton1Click:connect(function()
  
  shop.Visible = false
      frame.Visible = true
      FirstItemButton.Visible = true
  end)
  
  close.MouseButton1Click:connect(function()
      shop.Visible = true
      frame.Visible = false
      FirstItemButton.Visible = false
  end)
  </code></pre>
  
  <p>The problem with this code is that the shop doesn't open AT ALL when the button is clicked. Please help, I've been stuck on this for days! Sorry to make this confusing for all of you with the pictures and the code, but please help. Thanks in advance! And also, if you want to see and play my game it is published, but it has a lot of bugs. Here is the link
  <a href="https://web.roblox.com/games/1761867030/VIP-Battle-Simulator" rel="nofollow noreferrer">https://web.roblox.com/games/1761867030/VIP-Battle-Simulator</a></p>