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

How can I make a GUI only show for a ceratin rank in a group?

Greetings! I need a little help.

Basically, I want a gui, that only shows up for a certain rank and above in a group. How am I able to do that? I couldn't figure it out myself, so I am asking for help here!

I hope someone can help me with this issue! Have a nice day!

1 comment

0

Can you specify what "group" means because you have the Roblox website groups as well.

1 answer

If you mean roblox group then you make a local script into a starterGui and do this:

local textLabel = script.Parent textLabel.Visible = false -- text is normally not visible local player = game.Players.LocalPlayer

if player:GetRankInGroup(4067629) >= 5 -- if you are this rank then textLabel.Visible = true -- then text is visible end

-- This is example so you understand how it works

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