Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = script.Parent.Parent
- plr:WaitForChild("PlayerGui")
- function random() local alph = "qwertyuiopasdfghklzxcvbnm";local key = ""
- for i = 1,math.random(5,15) do key = key .. string.sub(alph,i,i) end
- return key
- end
- if not _G.Title then
- _G.Title = random()
- end
- local find = plr.PlayerGui:FindFirstChild(_G.Title)
- if find then
- find:Destroy()
- for i,v in pairs(_G.ButtonGlobals) do
- v = false
- end
- end
- -------------------------------------------
- local ScreenGui = Instance.new("ScreenGui")
- local Back = Instance.new("Frame")
- local Left = Instance.new("TextButton")
- local Label = Instance.new("TextLabel")
- local Minimize = Instance.new("TextButton")
- local Scripts = Instance.new("ScrollingFrame")
- local RefBut = Instance.new("TextButton")
- local RefBox = Instance.new("TextBox")
- local Right = Instance.new("TextButton")
- ScreenGui.Parent = plr.PlayerGui
- ScreenGui.Name = _G.Title
- Back.Name = random()
- Back.Parent = ScreenGui
- Back.BackgroundColor3 = Color3.fromRGB(255, 45, 38)
- Back.BorderSizePixel = 0
- Back.Position = UDim2.new(0.5, -115, 0.5, -150)
- Back.Size = UDim2.new(0, 225, 0, 300)
- Back.Draggable = true
- Back.Active = true
- Back.Selectable = true
- Left.Name = random()
- Left.Parent = Back
- Left.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Left.BackgroundTransparency = 0.200
- Left.BorderSizePixel = 0
- Left.Size = UDim2.new(0, 30, 0, 25)
- Left.Font = Enum.Font.SourceSans
- Left.Text = "<"
- Left.TextColor3 = Color3.fromRGB(0, 0, 0)
- Left.TextSize = 14.000
- Label.Name = random()
- Label.Parent = Back
- Label.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Label.BackgroundTransparency = 0.200
- Label.BorderSizePixel = 0
- Label.Position = UDim2.new(0.13333334, 0, 0, 0)
- Label.Size = UDim2.new(0, 165, 0, 25)
- Label.Font = Enum.Font.SourceSans
- Label.Text = ""
- Label.TextColor3 = Color3.fromRGB(0, 0, 0)
- Label.TextSize = 12.000
- Label.TextWrapped = true
- Minimize.Name = random()
- Minimize.Parent = Back
- Minimize.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Minimize.BackgroundTransparency = 0.200
- Minimize.BorderSizePixel = 0
- Minimize.Position = UDim2.new(0.866666675, 0, 0, 0)
- Minimize.Size = UDim2.new(0, 30, 0, 25)
- Minimize.Font = Enum.Font.SourceSans
- Minimize.Text = "~"
- Minimize.TextColor3 = Color3.fromRGB(0, 0, 0)
- Minimize.TextSize = 14.000
- Scripts.Name = random()
- Scripts.Parent = Back
- Scripts.BackgroundColor3 = Color3.fromRGB(199, 199, 199)
- Scripts.BackgroundTransparency = 0.200
- Scripts.BorderSizePixel = 0
- Scripts.Position = UDim2.new(0, 0, 0.0833333358, 0)
- Scripts.Size = UDim2.new(0, 225, 0, 275)
- Scripts.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
- RefBut.Name = random()
- RefBut.Parent = Back
- RefBut.BackgroundColor3 = Color3.fromRGB(83, 83, 83)
- RefBut.BackgroundTransparency = 0.500
- RefBut.BorderSizePixel = 0
- RefBut.Position = UDim2.new(0, 17, 0, 0)
- RefBut.Size = UDim2.new(0, 201, 0, 25)
- RefBut.Visible = false
- RefBut.Font = Enum.Font.SourceSans
- RefBut.Text = ""
- RefBut.TextColor3 = Color3.fromRGB(0, 0, 0)
- RefBut.TextSize = 14.000
- RefBut.TextWrapped = true
- RefBox.Name = random()
- RefBox.Parent = Back
- RefBox.BackgroundColor3 = Color3.fromRGB(83, 83, 83)
- RefBox.BackgroundTransparency = 0.500
- RefBox.BorderSizePixel = 0
- RefBox.Position = UDim2.new(0, 17, 0, 0)
- RefBox.Size = UDim2.new(0, 201, 0, 25)
- RefBox.Visible = false
- RefBox.ClearTextOnFocus = false
- RefBox.Font = Enum.Font.SourceSans
- RefBox.Text = ""
- RefBox.TextColor3 = Color3.fromRGB(0, 0, 0)
- RefBox.TextSize = 14.000
- RefBox.TextWrapped = true
- Right.Name = random()
- Right.Parent = ScreenGui
- Right.BackgroundColor3 = Color3.fromRGB(255, 124, 124)
- Right.BorderSizePixel = 0
- Right.Position = UDim2.new(0, -200, 0, 0)
- Right.Size = UDim2.new(0, 29, 0, 25)
- Right.Font = Enum.Font.SourceSans
- Right.Text = ">"
- Right.TextColor3 = Color3.fromRGB(0, 0, 0)
- Right.TextSize = 14.000
- Right.TextWrapped = true
- -------------------------------------------
- local m = false
- Minimize.MouseButton1Click:connect(function()
- if not m then
- m = true
- Back.Size = UDim2.new(0, 30, 0, 25)
- else
- m = false
- Back.Size = UDim2.new(0, 225, 0, 300)
- end
- end)
- _G.loaded = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement