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

How would I make a group rank only GUI so a certain rank and up has access to it?

I want it so rank 3 or up can have access, but 2 and below doesn't have access.

local plr = game.Players.LocalPlayer
 
if plr:GetRankInGroup (5762728) >=3 then
   script.Parent.Main.Visible = true
	elseif plr:GetRankInGroup(5762728) >=3 then
		script.Parent.Main.Visible = false
end

1 answer

That code should work fine, however replace .Visible = false with :Destroy()

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