SHARE
TWEET

isd

a guest Sep 23rd, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local ISD = 0
  2. local MTF = 0
  3. local CD = 0
  4. local SC = 0
  5. local EC = 0
  6. local IA = 0
  7. local ScD = 0
  8. local FP = 0
  9. local level = nil
  10. local O5 = 0
  11. local SiteDirector = 0
  12. local Xen = 0
  13. local Administrator = 0
  14.  
  15. local ISDrank = nil
  16. game.Players.PlayerAdded:Connect(function(player)
  17.     if player:GetRankInGroup(5141521) == 0 then
  18.         CD = 1
  19.     elseif player:GetRankInGroup(5141521) == 244 then
  20.         CD = 1
  21.     elseif player:GetRankInGroup(5141521) == 245 then
  22.         FP = 1
  23.         level = 0
  24.     elseif player:GetRankInGroup(5141521) == 246 then
  25.         FP = 1
  26.         level = 1
  27.     elseif player:GetRankInGroup(5141521) == 247 then
  28.         FP = 1
  29.         level = 2
  30.     elseif player:GetRankInGroup(5141521) == 248 then
  31.         FP = 1
  32.         level = 3
  33.     elseif player:GetRankInGroup(5141521) == 249 then
  34.         FP = 1
  35.         level = 4
  36.     elseif player:GetRankInGroup(5141521) == 250 then
  37.         FP = 1
  38.         level = 5
  39.     elseif player:GetRankInGroup(5141521) == 251 then
  40.         SiteDirector = 1
  41.     elseif player:GetRankInGroup(5141521) == 252 then
  42.         O5 = 1
  43.     elseif player:GetRankInGroup(5141521) == 253 then
  44.         Xen = 1
  45.     elseif player:GetRankInGroup(5141521) == 254 then
  46.         O5 = 1
  47.     elseif player:GetRankInGroup(5141521) == 255 then
  48.         Administrator = 1
  49.     end
  50.     if player:GetRankInGroup(5177347) == 249 then
  51.         ISDrank = "Probationary Agent"
  52.     elseif player:GetRankInGroup(5177347) == 250 then
  53.         ISDrank = "Agent"
  54.     elseif player:GetRankInGroup(5177347) == 251 then
  55.         ISDrank = "Special Agent"
  56.     elseif player:GetRankInGroup(5177347) == 252 then
  57.         ISDrank = "Supervisor"
  58.     elseif player:GetRankInGroup(5177347) == 253 then
  59.         ISDrank = "Executive DIrector"
  60.     elseif player:GetRankInGroup(5177347) == 254 then
  61.         ISDrank = "Overseer"
  62.     elseif player:GetRankInGroup(5177347) == 255 then  
  63.     end
  64.     player.CharacterAdded:Connect(function()
  65.         if ISD == 1 then
  66.             if ISDrank == "Oveerseer" then
  67.                 player.TeamColor = BrickColor.new("Really black")
  68.                 local tool = game.ServerStorage:WaitForChild("Omni Keycard"):Clone()
  69.                 tool.Parent = player:WaitForChild("Backpack")
  70.             end
  71.         end
  72.     end)
  73. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top