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

Why won't my group rank GUI work?

The idea is to only move the GUI if the player is a certain rank or higher in a group. Except that doesn't happen. Can anyone help?

player = game.Players.LocalPlayer

if player:GetRankInGroup(2796272) >= 253  then 
	script.Parent.Parent = player.PlayerGui

end

1 answer

Are you sure your group ID is correct? If so, then maybe try making the parenthesis right next to the numbers instead of having a space at the start and end.

4 comments

0

That doesn't work still.

0

Strange....-also what does the "253" stand for/mean? Are you sure all your capitalization is correct?

0

253 is the group rank.

0

Ah, that makes sense. So this is a custom made gui with the person's rank details on it? Or is this on a leader board or something?

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