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 comment
Thanks, that helped a lot