Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago

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?

0
uh N_XBY 0 — 3y
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 N_XBY 0 — 3y
0
you probably deleted the shop instead of changing the transparency epicgnomer 15 — 3y
0
You can set visible to true or false instead of changing the transparency. LazokkYT 117 — 3y

2 answers

Log in to vote
0
Answered by
N_XBY 0
3 years ago

This video should help :) https://www.youtube.com/watch?v=aSwGwX7HbOE

Ad
Log in to vote
0
Answered by 3 years ago

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)

Answer this question