Advertisement
InTesting

Is ___ VSB Banned Gui

Sep 4th, 2019
573
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.60 KB | None | 0 0
  1. print('https://pastebin.com/raw/eB0ugauK')
  2. local function Is_____Banned_Gui(m_player)
  3.     local sg,f1,tbx,pg,tbx2,banned_list =
  4.         Instance.new("ScreenGui"),Instance.new("Frame"),Instance.new("TextBox"),
  5.         m_player:FindFirstChildWhichIsA'PlayerGui',Instance.new("TextBox"),game:GetBans()
  6.     local theme_guis = {f1,tbx,tbx2}
  7.     if not pg then error('No PlayerGui')end
  8.     sg.ResetOnSpawn = false;sg.Name = 'IsB';sg.Parent = pg;
  9.     for _,v in pairs(theme_guis)do
  10.         v.BackgroundColor3 = Color3.fromRGB(0,0,0);
  11.         v.BorderColor3 = Color3.fromRGB(255, 255, 255);
  12.         if v:IsA'TextBox'then
  13.             v.Size = UDim2.new(1,0,.125,0);v.Font = 'Code';
  14.             v.TextColor3 = Color3.fromRGB(255, 255, 255);v.TextScaled = true
  15.         end
  16.     end
  17.     f1.Position = UDim2.new(.5,0,.5,0);f1.Size = UDim2.new(.5,0,.5,0);f1.Draggable = true;
  18.     f1.Active = true;f1.Selectable = true;f1.AnchorPoint = Vector2.new(.5,.5);
  19.     f1.Parent = sg;
  20.     tbx.Text = 'Is ___ Banned? (Uses print())';tbx.Parent = f1;
  21.     tbx2.TextXAlignment = 'Left';tbx2.PlaceholderColor3 = Color3.fromRGB(255, 255, 255);
  22.     tbx2.PlaceholderText = 'Full Name';tbx2.Position = UDim2.new(0,0,.125,0);tbx2.Text = '';
  23.     tbx2.ClearTextOnFocus = false;tbx2.Name = 'Name_Scan';tbx2.Parent = f1;
  24.    
  25.    
  26.     local function Get_Components_Of_Mouse(player)
  27.         if player then
  28.             local Remote = player:FindFirstChild('∞RE_Mouse')or
  29.                 Instance.new("RemoteEvent",player)
  30.             Remote.Name = 'RE_Mouse'
  31.            
  32.             Remote.Parent = NLS(
  33.                 [[
  34.     local lp,runs,re,players =
  35.         game:GetService'Players'.LocalPlayer,game:GetService'RunService',
  36.         script:WaitForChild('RE_Mouse'),game:GetService'Players'
  37.     local mouse,lp_2 = lp:GetMouse(),players:FindFirstChild(lp.Name)
  38.     local pg = lp_2:FindFirstChildWhichIsA'PlayerGui'
  39.     local sg = pg:WaitForChild'IsB'
  40.     local f1 = sg:WaitForChild'Frame'
  41.     local tbx2 = f1:WaitForChild'Name_Scan'
  42.    
  43.     tbx2.FocusLost:Connect(function(b)
  44.         if b then
  45.             re:FireServer('Check_Ban',tbx2.Text)
  46.         end
  47.     end)
  48.     print'NLS successfully loaded'
  49.                 ]]
  50.                 ,sg)
  51.             return Remote
  52.         else
  53.             error('Best to actually put your character In the game.')
  54.         end
  55.     end
  56.    
  57.     local function On_OnServerEvent(pl,...)
  58.         local para = {...}
  59.         if para[1]=='Check_Ban'then
  60.             for i,v in pairs(banned_list) do
  61.                 if string.lower(v.Name) == para[2]:lower() then
  62.                     print("------------------------")
  63.                     print(v.Name)
  64.                     print("Banned by "..v.BannedBy)
  65.                     print("Timestamp "..v.Timestamp)
  66.                     print("Duration "..v.Duration)
  67.                     print(v.Reason)
  68.                     break
  69.                 end
  70.             end
  71.         end
  72.     end
  73.     local remote = Get_Components_Of_Mouse(m_player)
  74.     remote.OnServerEvent:Connect(On_OnServerEvent)
  75. end
  76. wait(2)
  77. Is_____Banned_Gui(owner)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement