Advertisement
Deferend

Keycard System

Mar 17th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.69 KB | None | 0 0
  1. --[[
  2.  
  3. Created by Deferend
  4.  
  5. ]]--
  6.  
  7.  
  8. game.Players.PlayerAdded:connect(function(Player)
  9.     Player.CharacterAdded:connect(function(character)
  10.     wait()
  11.     if Player:GetRankInGroup(3136141) >= 12 then
  12.         local Clone = script["LDR Keycard"]:Clone()
  13.         Clone.Parent = Player.Backpack
  14.    elseif Player:GetRankInGroup(3136141) >= 9 then
  15.         local Clone = script["HR Keycard"]:Clone()
  16.         Clone.Parent = Player.Backpack
  17.     elseif Player:GetRankInGroup(3136141) >= 6 then
  18.         local Clone = script["MR Keycard"]:Clone()
  19.         Clone.Parent = Player.Backpack
  20.     elseif Player:GetRankInGroup(3136141) >= 3 then
  21.         local Clone = script["LR Keycard"]:Clone()
  22.         Clone.Parent = Player.Backpack
  23.     end
  24.     end)
  25. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement