Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Library = {}
- function Library.new()
- local ScreenGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local TopBar = Instance.new("Frame")
- local Logo = Instance.new("ImageLabel")
- local Close = Instance.new("ImageButton")
- local Minimize = Instance.new("ImageButton")
- local Title = Instance.new("TextLabel")
- local Noob = Instance.new("ImageLabel")
- local Logo_2 = Instance.new("ImageLabel")
- local Stuff = Instance.new("Frame")
- local ToggleText = Instance.new("TextLabel")
- local Toggle = Instance.new("TextButton")
- local BackBox = Instance.new("TextBox")
- local BackBox_2 = Instance.new("TextLabel")
- local Box = Instance.new("TextBox")
- ScreenGui.Parent = game:GetService("CoreGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.ResetOnSpawn = false
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- Main.BorderColor3 = Color3.fromRGB(255, 255, 255)
- Main.Position = UDim2.new(0.232680738, 0, 0.245363772, 0)
- Main.Size = UDim2.new(0, 436, 0, 246)
- TopBar.Name = "TopBar"
- TopBar.Parent = Main
- TopBar.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- TopBar.BorderColor3 = Color3.fromRGB(255, 255, 255)
- TopBar.Size = UDim2.new(1, 0, 0, 30)
- TopBar.ZIndex = 3
- Logo.Name = "Logo"
- Logo.Parent = TopBar
- Logo.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Logo.BackgroundTransparency = 1.000
- Logo.Size = UDim2.new(0, 40, 1, 0)
- Logo.Image = "http://www.roblox.com/asset/?id=4785385649"
- Close.Name = "Close"
- Close.Parent = TopBar
- Close.Active = false
- Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Close.BackgroundTransparency = 1.000
- Close.Position = UDim2.new(0.924770653, 0, 0, 0)
- Close.Selectable = false
- Close.Size = UDim2.new(-0.0166666675, 40, 1, 0)
- Close.Image = "http://www.roblox.com/asset/?id=54479706"
- Minimize.Name = "Minimize"
- Minimize.Parent = TopBar
- Minimize.Active = false
- Minimize.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Minimize.BackgroundTransparency = 1.000
- Minimize.Position = UDim2.new(0.849541306, 0, -0.0333333351, 0)
- Minimize.Selectable = false
- Minimize.Size = UDim2.new(-0.0166666675, 40, 1, 0)
- Minimize.Image = "http://www.roblox.com/asset/?id=3517304301"
- Title.Name = "Title"
- Title.Parent = TopBar
- Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title.BackgroundTransparency = 1.000
- Title.Size = UDim2.new(0.999694288, 0, 0, 30)
- Title.Font = Enum.Font.Highway
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.TextScaled = true
- Title.TextSize = 14.000
- Title.TextWrapped = true
- Noob.Name = "Noob"
- Noob.Parent = TopBar
- Noob.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Noob.BackgroundTransparency = 1.000
- Noob.Position = UDim2.new(0.181345552, 0, -0.0333333351, 0)
- Noob.Size = UDim2.new(-0.0166666675, 40, 1, 0)
- Noob.Image = "http://www.roblox.com/asset/?id=4786140330"
- Logo_2.Name = "Logo"
- Logo_2.Parent = TopBar
- Logo_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Logo_2.BackgroundTransparency = 1.000
- Logo_2.Position = UDim2.new(0, 40, 0, 0)
- Logo_2.Size = UDim2.new(0, 40, 1, 0)
- Logo_2.Image = "http://www.roblox.com/asset/?id=4785385911"
- local NewWindow = {}
- function NewWindow:Category(Name)
- local Nav = Instance.new("TextButton")
- local Selection = Instance.new("ScrollingFrame")
- local UIListLayout = Instance.new("UIListLayout")
- local UIGridLayout = Instance.new("UIGridLayout")
- local GUI = {}
- Selection.BackgroundTransparency = 0
- Selection.ScrollBarThickness = 4
- Selection.BorderSizePixel = 1
- Selection.Size = UDim2.new(0.219999984, 0, 0.880284607, 0)
- Selection.ZIndex = 2
- Selection.CanvasSize = UDim2.new(0, 0, 0, 0)
- Selection.ScrollBarImageColor3 = Color3.fromRGB(118, 118, 121)
- Selection.BottomImage = "rbxassetid://967852042"
- Selection.MidImage = "rbxassetid://967852042"
- Selection.TopImage = "rbxassetid://967852042"
- Selection.ScrollBarImageTransparency = 1
- Selection.Name = "Selection"
- Selection.Parent = Main
- Selection.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- Selection.BorderColor3 = Color3.fromRGB(255, 255, 255)
- Selection.Position = UDim2.new(0, 0, 0.125, 0)
- UIListLayout.Parent = Selection
- UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 10)
- Nav.Name = Name.."Button"
- Nav.Parent = Selection
- Nav.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Nav.BackgroundTransparency = 1.000
- Nav.Position = UDim2.new(0.25, 0, 0, 0)
- Nav.Size = UDim2.new(1, 0, 0, 30)
- Nav.Font = Enum.Font.Fantasy
- Nav.TextColor3 = Color3.fromRGB(255, 255, 255)
- Nav.TextScaled = true
- Nav.TextSize = 14.000
- Nav.TextWrapped = true
- Nav.Text = Name
- Stuff.Name = "Container"
- Stuff.Parent = Main
- Stuff.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Stuff.BackgroundTransparency = 1.000
- Stuff.Position = UDim2.new(0.219999999, 0, 0.125, 0)
- Stuff.Size = UDim2.new(0, 340, 0, 216)
- UIGridLayout.Parent = Stuff
- UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIGridLayout.CellPadding = UDim2.new(0, 68, 0, 5)
- UIGridLayout.CellSize = UDim2.new(0, 150, 0, 20)
- function GUI:Section(Name)
- local Sect = Instance.new("TextLabel")
- Sect.Name = "Section"
- Sect.Parent = Stuff
- Sect.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
- Sect.BorderSizePixel = 0
- Sect.Position = UDim2.new(0.25, 0, 0, 0)
- Sect.Size = UDim2.new(1, 0, 0, 30)
- Sect.Font = Enum.Font.Fantasy
- Sect.TextColor3 = Color3.fromRGB(255, 255, 255)
- Sect.TextScaled = true
- Sect.TextSize = 14.000
- Sect.TextWrapped = true
- Sect.Text = Name
- end
- function GUI:Button(Name,Callback)
- Callback = Callback or function() end
- local Button = Instance.new("TextButton")
- Button.Name = "Button"
- Button.Parent = Stuff
- Button.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
- Button.BorderSizePixel = 0
- Button.Position = UDim2.new(0.25, 0, 0, 0)
- Button.Size = UDim2.new(1, 0, 0, 30)
- Button.Font = Enum.Font.Fantasy
- Button.TextColor3 = Color3.fromRGB(255, 255, 255)
- Button.TextScaled = true
- Button.TextSize = 14.000
- Button.TextWrapped = true
- Button.Text = Name
- Button.MouseButton1Click:Connect(Callback)
- end
- return GUI;
- end
- return NewWindow;
- --[[
- ToggleText.Name = "ToggleText"
- ToggleText.Parent = Stuff
- ToggleText.Active = true
- ToggleText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ToggleText.BackgroundTransparency = 1.000
- ToggleText.Position = UDim2.new(0.626068354, 0, 0, 0)
- ToggleText.Selectable = true
- ToggleText.Size = UDim2.new(0.373931617, 0, 0, 30)
- ToggleText.Font = Enum.Font.Fantasy
- ToggleText.Text = "Toggle"
- ToggleText.TextColor3 = Color3.fromRGB(255, 255, 255)
- ToggleText.TextScaled = true
- ToggleText.TextSize = 14.000
- ToggleText.TextWrapped = true
- Toggle.Name = "Toggle"
- Toggle.Parent = ToggleText
- Toggle.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- Toggle.BorderColor3 = Color3.fromRGB(255, 255, 255)
- Toggle.Position = UDim2.new(0.0500000007, 0, 0, 1)
- Toggle.Size = UDim2.new(0.140000001, 0, 0.800000012, 0)
- Toggle.Font = Enum.Font.Fantasy
- Toggle.Text = " "
- Toggle.TextColor3 = Color3.fromRGB(255, 255, 255)
- Toggle.TextScaled = true
- Toggle.TextSize = 14.000
- Toggle.TextWrapped = true
- BackBox.Name = "BackBox"
- BackBox.Parent = Stuff
- BackBox.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
- BackBox.BorderSizePixel = 0
- BackBox.Position = UDim2.new(0.25, 0, 0, 0)
- BackBox.Size = UDim2.new(1, 0, 0, 30)
- BackBox.Font = Enum.Font.Fantasy
- BackBox.PlaceholderText = "Box"
- BackBox.Text = ""
- BackBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- BackBox.TextScaled = true
- BackBox.TextSize = 14.000
- BackBox.TextWrapped = true
- BackBox_2.Name = "BackBox"
- BackBox_2.Parent = Stuff
- BackBox_2.Active = true
- BackBox_2.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
- BackBox_2.BackgroundTransparency = 1.000
- BackBox_2.BorderSizePixel = 0
- BackBox_2.Position = UDim2.new(0.25, 0, 0, 0)
- BackBox_2.Selectable = true
- BackBox_2.Size = UDim2.new(1, 0, 0, 30)
- BackBox_2.Font = Enum.Font.Fantasy
- BackBox_2.Text = "Text"
- BackBox_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- BackBox_2.TextScaled = true
- BackBox_2.TextSize = 14.000
- BackBox_2.TextWrapped = true
- Box.Name = "Box"
- Box.Parent = BackBox_2
- Box.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- Box.BorderColor3 = Color3.fromRGB(255, 255, 255)
- Box.Position = UDim2.new(0.0500000007, 0, 0, 1)
- Box.Size = UDim2.new(0.300000012, 0, 0.800000012, 0)
- Box.Font = Enum.Font.Fantasy
- Box.PlaceholderText = "Box"
- Box.Text = ""
- Box.TextColor3 = Color3.fromRGB(255, 255, 255)
- Box.TextScaled = true
- Box.TextSize = 14.000
- Box.TextWrapped = true]]--
- end
- return Library;
Advertisement
Add Comment
Please, Sign In to add comment