of     1   

ArkadiosDeimos
#129433914Monday, March 31, 2014 2:06 AM GMT

I need a little help how would I setup it so if I player is a certain rank in a group, He gets admin? I know how to use table.insert and all of that. I just need to know how I would use the ranking part.
Swoof
#129434629Monday, March 31, 2014 2:14 AM GMT

game.Players.PlayerAdded:connect(function(Player) if Player:GetRankInGroup(groupid) == 255 then -- do something end
EgoRenascitur
#129434759Monday, March 31, 2014 2:16 AM GMT

Reference the player first then: if player:IsInGroup(groupid) then if player:GetRankInGroup(groupid) = (number of rank) then (blah blah)
Delones
#129435014Monday, March 31, 2014 2:19 AM GMT

Oh, hey Super. Long time no see, but like they said above me: :GetRankInGroup Time is a tool you can put on a wall, or wear it on your rizd.
ArkadiosDeimos
#129435296Monday, March 31, 2014 2:22 AM GMT

So would this basicly work? game:GetService("Players").PlayerAdded:connect(function(player) if Player:GetRankInGroup(1043125) < 250 then table.insert(admins,player.Name.."") end end) (This is also for kohls admin..)
Delones
#129435396Monday, March 31, 2014 2:23 AM GMT

No, in the function you called it 'player', when you used the GetRankInGroup you had a capital P. It is case sensitive. Time is a tool you can put on a wall, or wear it on your rizd.
Delones
#129435451Monday, March 31, 2014 2:24 AM GMT

But other than that, yes. It will work. Time is a tool you can put on a wall, or wear it on your rizd.
ArkadiosDeimos
#129441404Monday, March 31, 2014 3:40 AM GMT

game:GetService("Players").PlayerAdded:connect(function(Player) if Player:GetRankInGroup(1043125) < 1 then table.insert(admins,Player.Name.."") end end) game:GetService("Players").PlayerRemoved:connect(function(Player) if Player:GetRankInGroup(1043125) < 1 then table.remove(admins,Player.Name) end end) Tried this and it does nothing I don't get any admin.
Swoof
#129443743Monday, March 31, 2014 4:15 AM GMT

wat r u even doing
islandmaker2012
#129444427Monday, March 31, 2014 4:27 AM GMT

game:GetService("Players").PlayerAdded:connect(function(Player) if Player:GetRankInGroup(1043125) > 254 then table.insert(admins,Player.Name.."") end end) game:GetService("Players").PlayerRemoved:connect(function(Player) if Player:GetRankInGroup(1043125) > 254 then table.remove(admins,Player.Name) end end) I have no idea what u were doing otherwise... u insert them into admins if they are A GUEST?

    of     1