(GuiGmer) Script no ServerScriptService

DanielSiqueira Jan 24th, 2020 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Players = game:GetService('Players')
  3. Players.PlayerAdded:Connect(function(player)
  4.     if not player:IsInGroup(5525689) then
  5.         player:Kick('É necessário estar no grupo para entrar no jogo')
  6.     else
  7.         local cargo = player:GetRankInGroup(5525689)
  8.         if cargo < 100 then
  9.             player:Kick('É necessário ter um rank de acesso nível 100 ou superior para jogar o jogo')
  10.         end
  11.     end
  12. 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