how to make a gui only visible to a certain rank in a group
1 Like
I actually have the same question. I’ll try to find a tutorial on YouTube maybe.
1 view, 2 people replying? Okay, Roblox.
Upon Players.PlayerAdded
, check their rank based on the group ID and if it matches to the specific rank, parent the GUI from ServerStorage
or whatever appropriate storage(ReplicatedStorage
perhaps) to the Player.PlayerGui
.
3 Likes
You would use player:GetRankInGroup(), and then make the GUI visible through the player’s PlayerGui
You would do something like this:
if player:GetRankInGroup(12345) >= 12 then
-- do stuff
end
1 Like