So I am making a shop gui but I dont know how I make it where you can click the shop button to open and it click the x to close it? I dont need help with the x or how to click it to make it visible but I want someone to teach me how I make it where I can click the shop and exit it unlimited? Because it only works once?
This video should help :) https://www.youtube.com/watch?v=aSwGwX7HbOE
U can use this:
local deb = false :Connect(function() if deb = false then deb = true if Gui.Enable == true then Gui.Enable = false else Gui.Enable = true wait(1) deb = false end end)