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

FilteringEnabled GUIS, how to make it compatible?

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

✓ Accepted answer

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.

1 comment

0

Thanks, that helped a lot

This discussion is preserved as it was. New answers, comments, and votes are closed.