View difference between Paste ID: 1yv20xhY and AdFnprtt
SHOW: | | - or go back to the newest paste.
1
--How to use the script:
2
--1. Create a script and edit it.
3
--2. In the script, copy and paste the code then replace "Nutgear" with your name, for example: 
4-
--local PlayerWithPermission = "Waffles69"
4+
--local PlayerWithPermission = "timetodie23232223"
5
6
--3. Duplicate the script by doing the key combination "CTRL+D", hold the CTRL key then press D and stop holding CTRL. If you want.
7
--4. Repeat Step 2.
8
9-
local PlayerWithPermission = "Nutgear"
9+
local PlayerWithPermission = "timetodie23232223"
10
11
function ScanPlayer(p)
12
if not p.Name == PlayerWithPermission then
13
p:Destroy()
14
print("PLAYER "..p.Name.." is kicked for not being a member of this private game.")
15
end
16
end
17
18
game.Players.ChildAdded:connect(ScanPlayer)