|
| 16 Nov 2013 10:20 PM |
It's been long and I've not really looked up to the new Group Rank feature, so a group and a certain rank + in that group can view the gui.
Help with the following.... This is the script I have: (It is for a starterGUI)
if (script.Parent.Parent.Parent.Parent.Parent:IsInGroup(318633)) then script.Parent.Parent.Visible = true else script.Parent.Parent.Parent.Options:Remove() script.Parent.Parent.Visible = false end
-------------------------------------------- How would rewrite it so I could have both group id and the certain group rank+ see the starterGUI?
Thanks, you're help will be dearly appreciated. -WealthyDrakor |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2013 10:28 PM |
http://wiki.roblox.com/index.php/GetRankInGroup_(Method)
Has all you need. |
|
|
| Report Abuse |
|
|
qrrrq
|
  |
| Joined: 27 Jan 2013 |
| Total Posts: 1252 |
|
|
| 16 Nov 2013 10:30 PM |
"new Group Ranking feature"
"new"
Anyways;
Put this in a LocalScript inside the GUI
player = game.Players.LocalPlayer if player:GetRankInGroup(318633) >= ROLE NUMBER then script.Parent.Parent.Visible = true else script.Parent.Parent.Parent.Options:Remove() script.Parent.Parent.Visible = false end |
|
|
| Report Abuse |
|
|
| |
|