Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print('https://pastebin.com/raw/eB0ugauK')
- local function Is_____Banned_Gui(m_player)
- local sg,f1,tbx,pg,tbx2,banned_list =
- Instance.new("ScreenGui"),Instance.new("Frame"),Instance.new("TextBox"),
- m_player:FindFirstChildWhichIsA'PlayerGui',Instance.new("TextBox"),game:GetBans()
- local theme_guis = {f1,tbx,tbx2}
- if not pg then error('No PlayerGui')end
- sg.ResetOnSpawn = false;sg.Name = 'IsB';sg.Parent = pg;
- for _,v in pairs(theme_guis)do
- v.BackgroundColor3 = Color3.fromRGB(0,0,0);
- v.BorderColor3 = Color3.fromRGB(255, 255, 255);
- if v:IsA'TextBox'then
- v.Size = UDim2.new(1,0,.125,0);v.Font = 'Code';
- v.TextColor3 = Color3.fromRGB(255, 255, 255);v.TextScaled = true
- end
- end
- f1.Position = UDim2.new(.5,0,.5,0);f1.Size = UDim2.new(.5,0,.5,0);f1.Draggable = true;
- f1.Active = true;f1.Selectable = true;f1.AnchorPoint = Vector2.new(.5,.5);
- f1.Parent = sg;
- tbx.Text = 'Is ___ Banned? (Uses print())';tbx.Parent = f1;
- tbx2.TextXAlignment = 'Left';tbx2.PlaceholderColor3 = Color3.fromRGB(255, 255, 255);
- tbx2.PlaceholderText = 'Full Name';tbx2.Position = UDim2.new(0,0,.125,0);tbx2.Text = '';
- tbx2.ClearTextOnFocus = false;tbx2.Name = 'Name_Scan';tbx2.Parent = f1;
- local function Get_Components_Of_Mouse(player)
- if player then
- local Remote = player:FindFirstChild('∞RE_Mouse')or
- Instance.new("RemoteEvent",player)
- Remote.Name = 'RE_Mouse'
- Remote.Parent = NLS(
- [[
- local lp,runs,re,players =
- game:GetService'Players'.LocalPlayer,game:GetService'RunService',
- script:WaitForChild('RE_Mouse'),game:GetService'Players'
- local mouse,lp_2 = lp:GetMouse(),players:FindFirstChild(lp.Name)
- local pg = lp_2:FindFirstChildWhichIsA'PlayerGui'
- local sg = pg:WaitForChild'IsB'
- local f1 = sg:WaitForChild'Frame'
- local tbx2 = f1:WaitForChild'Name_Scan'
- tbx2.FocusLost:Connect(function(b)
- if b then
- re:FireServer('Check_Ban',tbx2.Text)
- end
- end)
- print'NLS successfully loaded'
- ]]
- ,sg)
- return Remote
- else
- error('Best to actually put your character In the game.')
- end
- end
- local function On_OnServerEvent(pl,...)
- local para = {...}
- if para[1]=='Check_Ban'then
- for i,v in pairs(banned_list) do
- if string.lower(v.Name) == para[2]:lower() then
- print("------------------------")
- print(v.Name)
- print("Banned by "..v.BannedBy)
- print("Timestamp "..v.Timestamp)
- print("Duration "..v.Duration)
- print(v.Reason)
- break
- end
- end
- end
- end
- local remote = Get_Components_Of_Mouse(m_player)
- remote.OnServerEvent:Connect(On_OnServerEvent)
- end
- wait(2)
- Is_____Banned_Gui(owner)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement