Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can someone teach me how to make it where I can click the button unlimited?

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?

4 comments

0

uh

0

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

0

you probably deleted the shop instead of changing the transparency

0

You can set visible to true or false instead of changing the transparency.

2 answers

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.