|
| 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
|
  |
| 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 |
|
|
|
| 18 Apr 2014 05:17 PM |
| Do you know what number corresponds with each rank? |
|
|
| Report Abuse |
|
|
| |
|
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
|
  |
| 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
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 8540 |
|
|
| 18 Apr 2014 05:32 PM |
| Yikes, I posted two minutes late. Just ignore me. |
|
|
| Report Abuse |
|
|