Hi! This is probably an obvious mistake, but I am rather new to working with GUI. The way the script is meant to work is if you click on a part it opens up a gui (as if you are reading it). There is then a close button that allows you to close it. This part works, however, when you press the close button, you suddenly can't even click on any of the other parts nor open the guis. They all have click detectors, yet it doesn't give you the option to click on them, and when you click nothing happens. Here is my code below:
Code in the part with the click detector that opens the gui: (This is a regular script)
clickdetector.MouseClick:Connect(function(plr)
plr.PlayerGui:FindFirstChild("henry").Enabled = true
end) ```
Code in the close button that closes the GUI: (This is a local script)
```local Button = script.Parent
local GUI = Button.Parent.Parent
Button.MouseButton1Down:Connect(function()
if GUI.Enabled == true then
GUI.Enabled = false
else
GUI.Enabled = true
end
end)```
** You are now Level 2! **