generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Help with Group Scripting: Urgent

Previous Thread :: Next Thread 
WealthyDrakor is not online. WealthyDrakor
Joined: 15 Dec 2011
Total Posts: 654
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
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
16 Nov 2013 10:28 PM
http://wiki.roblox.com/index.php/GetRankInGroup_(Method)

Has all you need.
Report Abuse
qrrrq is not online. 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
WealthyDrakor is not online. WealthyDrakor
Joined: 15 Dec 2011
Total Posts: 654
16 Nov 2013 10:33 PM
Thanks. :)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image