Advertisement
4zx16

Kick Gui (Whitelist)

Nov 21st, 2021 (edited)
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.49 KB | None | 0 0
  1. --[[
  2.  || 📜 AUTHOR: @4zx16 || GIVE TO ADMINS || ONLY MODIFY ADMINS!
  3. ]]
  4. local Panel = game:GetService("ReplicatedStorage"):FindFirstChild("KickPanel")
  5. local Admins = {}
  6.  
  7. game.Players.PlayerAdded:Connect(function(player)
  8.     player.CharacterAdded:Connect(function()
  9.  
  10.         for _, v in pairs(Admins) do
  11.             if player.Name or player.UserId == v then
  12.                 wait(0.9)
  13.                 Panel:Clone().Parent = player:WaitForChild("PlayerGui")
  14.             else
  15.                 -- >> DON'T MODIFY ANYTHING HERE << --
  16.             end
  17.         end
  18.     end)
  19. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement