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

How to make a open & close gui shop with filtering enable compatibility? [closed]

Asked by 6 years ago

How to make a open & close gui shop with filtering enable compatibility,It would be very helpful if you could show tutorial (youtube link,etc)or even a model which works

0
I made a model, it's just a textbutton that makes a frame move on and off the screen. Make sure you put it into StarterGui. https://www.roblox.com/catalog/01437230792/redirect ax_gold 360 — 6y

Closed as Not Constructive by OldPalHappy

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 6 years ago

GUI Objects are activated Locally, please remember that. So it does not have anything related to the Server. And by that means It doesn't have anything to do with FilteringEnabled.

Unless there are any signal sent from the server.

Add this to a button that you want to make the Shop open and close on activation:

local button = --Locate the Button
local frame = --Locate the Frame
local debounce = false

button.MouseButton1Clicked:connect(function()
    if debounce then
        frame.Visible = false
        debounce = false
    else
        frame.Visible = true
        debounce = true
    end
end)
Ad