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?
COMMUNITY QUESTION
Can someone teach me how to make it where I can click the button unlimited?
2 answers
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)
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
uh
Search "how to make a shop gui on roblox" The first video that shows up should be made by someone named "gamer m8" Watch his video
you probably deleted the shop instead of changing the transparency
You can set visible to true or false instead of changing the transparency.