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

FilteringEnabled GUIS, how to make it compatible?

Asked by
popeeyy 493 Moderation Voter
7 years ago

So I have an anti-exploit loader with some code but when I use it in FE game it won't work. I need to make it FE Compatible ASAP due to the new policy. Please help with the following code:

wait(1) -- Allow things to load

local menu = script.Parent.Parent.Parent.Parent.MENU

local admin = script.Parent.Parent.Parent.Parent.STAFF local donor = script.Parent.Parent.Parent.Parent.UserPanel1

script.Parent.MouseButton1Click:connect(function() if menu.Background.Visible == true or admin.Background.Visible == true or donor.Background.Visible == true then menu.Background.Visible = false

    admin.Background.Visible = false
    donor.Background.Visible = false
elseif menu.Background.Visible == false and  admin.Background.Visible == false then
    menu.Background.Visible = true
else
    print("An TPS error has occured in GUI open script")
end
wait(1)

end)

1 answer

Log in to vote
0
Answered by 7 years ago

This question has been answered already.

If you are still looking for a solution to a GUI not working properly in your FilteringEnabled game, make sure all of the scripts moving the GUI and doing things of the sort are LocalScripts.

0
Thanks, that helped a lot popeeyy 493 — 7y
Ad

Answer this question