Advertisement
DanielSiqueira

(GuiGmer) Script no ServerScriptService

Jan 24th, 2020
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. local Players = game:GetService('Players')
  2.  
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement