I would like a mod call GUI but I do not know how to do this. I would like it to only be able to be pressed by LR+ in my group. I do not know how to do this and I need help. I know I will probably have to link it up with like a discord server or something but if you know how please say something. Thank you!
I hope this helps, Read below to fix it to your standard, This script would go into the button. It also must be a localscript. (Though all GUI's should be a localscript)
-- THIS MUST BE IN A LOCALSCRIPT local open = false -- Status script.Parent.MouseButton1Down:connect(function() if game.Players.LocalPlayer:GetRankInGroup(GROUPID) >= RANK then -- GroupID and Ranks Checks -- Below Please edit to the thing you would like visible if not open then -- Checks if closed script.Parent.Parent.Panel.Visible = true -- The panel to open open = true --Sets open else if open then -- Checks if open script.Parent.Parent.Panel.Visible = false -- The panel to close open = false --Sets closed end end end end)