Advertisement
RyanDaCoder

RETARD

Jul 19th, 2017
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. -- Player Ban Script by ImTheSky17
  2. -- Thank you for using this player ban script, feel free to use this in your game :).
  3.  
  4. local BannedPlayers = {'YouWillNeverGuessMy'} -- Place banned players here
  5.  
  6. for i,v in pairs(BannedPlayers) do -- Initiating and connecting to the Ban Table
  7. game.Players.PlayerAdded:connect(function(p)
  8. if p.Name == v then -- v loops around each player name, banning them
  9. p.Kick()
  10. print(v..' Attemted to join, is not allowed in this game, Kicked..')
  11. end
  12. end)
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement