asdasdaaa11

kicked xd

Jun 5th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. local GroupId = 0
  2. local MinRank = 20
  3.  
  4. local KickMessage = "Yeet"
  5.  
  6. game.Players.PlayerAdded:Connect(function(Player)
  7. if Player:IsInGroup(GroupId) then
  8. local Rank = Player:GetRankInGroup(GroupId)
  9. if Rank <= MinRank then
  10. Player:Kick(KickMessage)
  11. end
  12. else
  13. Player:Kick()
  14. end
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment