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: How To Edit This?!?!?!

Previous Thread :: Next Thread 
rowerowe71 is not online. rowerowe71
Joined: 14 Apr 2013
Total Posts: 1999
18 Apr 2014 04:50 PM
How would I make this so if you were a certain rank in a certain group it would display this....

game.Players.PlayerAdded:connect(function(player)
if player.Name == "rowerowe71" then
wait()
local h = Instance.new("Hint", Workspace)

h.Text = "A F.E.A.R. High Rank has joined the server!"
game.Debris:AddItem(m, 3.5)

end
end)
Report Abuse
DataStore is not online. DataStore
Joined: 07 Feb 2012
Total Posts: 8540
18 Apr 2014 04:57 PM
You could use either the GetRankInGroup or GetRoleInGroup method with the former, rather than the latter, being advisable.

GetRankInGroup returns a player's rank within a given group. For example, the owner of the group has a rank equal to 255, unless I'm mistaken. If you had two ranks below that, with the lowest of those two being 230 and wanted something to occur if the player's rank was equal to, or larger than, 230 you could use the following if statement:

if player:GetRankInGroup(Group_ID_Goes_Here) >= 230 then

----
http://wiki.roblox.com/index.php?title=GetRankInGroup_(Method)
Report Abuse
rowerowe71 is not online. rowerowe71
Joined: 14 Apr 2013
Total Posts: 1999
18 Apr 2014 05:17 PM
Do you know what number corresponds with each rank?
Report Abuse
rowerowe71 is not online. rowerowe71
Joined: 14 Apr 2013
Total Posts: 1999
18 Apr 2014 05:27 PM
bump
Report Abuse
youssef04 is not online. youssef04
Joined: 22 Jan 2011
Total Posts: 1745
18 Apr 2014 05:29 PM
Go to group admin, look at the lowest number where the HIGH RANKS start, that would be the lowest value for the HIGH RANKS
Report Abuse
DataStore is not online. DataStore
Joined: 07 Feb 2012
Total Posts: 8540
18 Apr 2014 05:31 PM
No, I don't. Each group is able to customise the rank numbers, for each "roleset", however they please.

You would have to ask someone, in F.E.A.R, who has access to the admin console for the group to tell you which rank applies to which roleset.
Report Abuse
DataStore is not online. DataStore
Joined: 07 Feb 2012
Total Posts: 8540
18 Apr 2014 05:32 PM
Yikes, I posted two minutes late. Just ignore me.
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