I have a click detector that opens up two GUIs when clicked, and it only works once. I can open up the GUI, interact with it, and close it. It works fine until i try to open it again. Instead of opening, it does nothing. There are no errors.
All scripts that interact with the GUIs:
Click Detector:
local Players = game:GetService("Players")
script.Parent.ClickDetector.MouseClick:Connect(function(player)
player.PlayerGui.BuyLighter.Enabled = true
player.PlayerGui.BuyWeapons.Enabled = true
end)
Exit Button in GUI
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Enabled = false
script.Parent.Parent.Parent.Buy.Enabled = false
end)

3 comments
Ope- I think you might be right hold on
I seemed to have fixed it, I guess you were right the ExitButton was not fully disabling the GUIs. Thanks!!
your welcome!