|
| 26 Apr 2014 03:14 PM |
| I just need a script that the only people who can join is the people on list of the script, if you're not on the list you get banned. Thanks! |
|
|
| Report Abuse |
|
gijsbel11
|
  |
| Joined: 07 Feb 2009 |
| Total Posts: 4223 |
|
|
| 26 Apr 2014 03:18 PM |
whitelist = { "cool", "people", "go", "here" }
game.Players.PlayerAdded:connect(function(player)
local coolguy = false
for i,coolname in pairs(list) do if player.Name==coolname then coolguy = true end end
if (coolguy == false) then --do some banning things end
end) |
|
|
| Report Abuse |
|