Advertisement
DaDogeDevelopment

Whitelist

Nov 22nd, 2022 (edited)
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. -- put 3 RemoteEvents inside of RS. Ban, KickPlayer, and Teleport)
  2. -- (Put your Gui in the whitelist)
  3. -- WARNING: This script was made for a series on my Youtube. So don't get all confused when you read this.
  4.  
  5. Whitelist (SSS)
  6.  
  7. Whitelist:
  8. local adminIDs = {00000, 0000000, 00000, 0000, 00000} -- User id for your admin(s)
  9.  
  10. game.Players.PlayerAdded:Connect(function(plr)
  11.    
  12.     if table.find(adminIDs, plr.UserId) then
  13.        
  14.         plr.CharacterAdded:Connect(function()
  15.             wait()
  16.             script.ModeratorFrame:Clone().Parent = plr:WaitForChild("PlayerGui")
  17.             print("Admin found!")
  18.         end)
  19.     end
  20. end)
Tags: Roblox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement