Upscalefanatic3

Private Public Server

Jun 16th, 2020
1,392
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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"
  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 = "ICShadowsInMyRoom"
  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)
RAW Paste Data