Advertisement
303robloxhax

desd

Feb 5th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local allowed_players = {"haydebug2003", "OniTaiji"}
  2.  
  3. function check(name)
  4. for i,v in pairs(allowed_players) do
  5. if name == v then
  6. return true
  7. end
  8. end
  9. return false
  10. end
  11.  
  12. for index, child in pairs(game.Players:GetChildren()) do
  13. local name = child.Name
  14. local allowed = check(name)
  15. if allowed == false then
  16. child:Destroy()
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement