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 Selection = Instance.new("Frame")
- local UIListLayout = Instance.new("UIListLayout")
- 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 BackBox = Instance.new("TextBox")
- local DropDown = Instance.new("TextButton")
- local Frame_2 = Instance.new("Frame")
- local Button_2 = Instance.new("TextButton")
- local UIListLayout_2 = Instance.new("UIListLayout")
- local Credits = Instance.new("Frame")
- local GiveCredit = Instance.new("TextLabel")
- local Frame = Instance.new("Frame")
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- 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.232680723, 0, 0.245363772, 0)
- Main.Size = UDim2.new(0, 600, 0, 400)
- 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.075000003, 0)
- Selection.Size = UDim2.new(0.219999999, 0, 0.925000012, 0)
- Selection.ZIndex = 2
- UIListLayout.Parent = Selection
- UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 10)
- 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.949999988, 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.899999976, 0, 0, 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.Position = UDim2.new(0.116666667, 0, 0, 0)
- Title.Size = UDim2.new(0, 470, 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.0666666701, 0, 0, 0)
- Noob.Size = UDim2.new(-0.0166666675, 40, 1, 0)
- Noob.Image = "http://www.roblox.com/asset/?id=4786140330"
- local SKiDUi = {}
- function SKiDUi:Category(name)
- local Nav = Instance.new("TextButton")
- local UIGridLayout = Instance.new("UIGridLayout")
- Nav.Name = "Nav"
- 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, 20)
- Nav.Font = Enum.Font.Fantasy
- Nav.TextColor3 = Color3.fromRGB(255, 255, 255)
- Nav.TextScaled = true
- Nav.TextSize = 14.000
- Nav.TextWrapped = true
- Frame.Parent = Main
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.BackgroundTransparency = 1.000
- Frame.Position = UDim2.new(0.219999999, 0, 0.075000003, 0)
- Frame.Size = UDim2.new(0, 468, 0, 370)
- Frame.Name = name.."Frame"
- UIGridLayout.Parent = Frame
- UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIGridLayout.CellPadding = UDim2.new(0, 68, 0, 5)
- UIGridLayout.CellSize = UDim2.new(0, 200, 0, 20)
- Nav.MouseButton1Click:Connect(function()
- for i,v in pairs(Main:GetChildren()) do
- if v.Name ~= "Credits" or "Selection" or "TopBar" then
- v.Visible = false
- Frame.Visible = true
- end
- end
- end)
- end
- function SKiDUi:Button(name,callback)
- callback = callback or function() end
- local Button = Instance.new("TextButton")
- Button.Name = "Button"
- Button.Text = name
- Button.Parent = Frame
- Button.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- 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.MouseButton1Click:Connect(callback)
- end
- function SKiDUi:Toggle(name,callback)
- callback = callback or function() end
- local toggle = 0
- local ToggleText = Instance.new("TextLabel")
- local Toggle = Instance.new("TextButton")
- ToggleText.Name = "ToggleText"
- ToggleText.Parent = Frame
- 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 = name
- 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, 1, 0, 1)
- Toggle.Size = UDim2.new(0.0900000036, 0, 0, 18)
- Toggle.Font = Enum.Font.Fantasy
- Toggle.Text = ""
- Toggle.TextColor3 = Color3.fromRGB(255, 255, 255)
- Toggle.TextScaled = true
- Toggle.TextSize = 14.000
- Toggle.TextWrapped = true
- Toggle.MouseButton1Click:Connect(function()
- if toggle == 0 then
- toggle = 1
- callback()
- print("On")
- Toggle.Text = "β"
- elseif toggle == 1 then
- toggle = 0
- print("Off")
- Toggle.Text = ""
- end
- end)
- end
- function SKiDUi:Box(name,callback)
- callback = callback or function() end
- local BoxText = Instance.new("TextLabel")
- local Box = Instance.new("TextBox")
- BoxText.Name = "BoxText"
- BoxText.Parent = Frame
- BoxText.Active = true
- BoxText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- BoxText.BackgroundTransparency = 1.000
- BoxText.Position = UDim2.new(0.626068354, 0, 0, 0)
- BoxText.Selectable = true
- BoxText.Size = UDim2.new(0.373931617, 0, 0, 30)
- BoxText.Font = Enum.Font.Fantasy
- BoxText.Text = name
- BoxText.TextColor3 = Color3.fromRGB(255, 255, 255)
- BoxText.TextScaled = true
- BoxText.TextSize = 14.000
- BoxText.TextWrapped = true
- Box.Name = "Box"
- Box.Parent = BoxText
- Box.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- Box.BorderColor3 = Color3.fromRGB(255, 255, 255)
- Box.Position = UDim2.new(0, 1, 0, 0)
- Box.Size = UDim2.new(0.25, 0, 0.0670000017, 18)
- Box.Font = Enum.Font.Fantasy
- Box.Text = ""
- Box.TextColor3 = Color3.fromRGB(255, 255, 255)
- Box.TextScaled = true
- Box.TextSize = 14.000
- Box.TextWrapped = true
- Box:GetPropertyChangedSignal("Text"):Connect(callback)
- end
- function SKiDUi:BackBox(name,callback)
- BackBox.Name = "BackBox"
- BackBox.Parent = Frame
- 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:GetPropertyChangedSignal("Text"):Connect(callback)
- end
- --[[
- DropDown.Name = "DropDown"
- DropDown.Parent = Frame
- DropDown.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- DropDown.BorderSizePixel = 0
- DropDown.Position = UDim2.new(0.25, 0, 0, 0)
- DropDown.Size = UDim2.new(1, 0, 0, 30)
- DropDown.Font = Enum.Font.Fantasy
- DropDown.Text = "DropDown >"
- DropDown.TextColor3 = Color3.fromRGB(255, 255, 255)
- DropDown.TextScaled = true
- DropDown.TextSize = 14.000
- DropDown.TextWrapped = true
- Frame_2.Parent = DropDown
- Frame_2.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- Frame_2.BorderColor3 = Color3.fromRGB(100, 100, 100)
- Frame_2.BorderSizePixel = 2
- Frame_2.Position = UDim2.new(0, 0, 1, 0)
- Frame_2.Size = UDim2.new(0, 200, 0, 30)
- Frame_2.Visible = false
- Button_2.Name = "Button"
- Button_2.Parent = Frame_2
- Button_2.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- Button_2.BorderColor3 = Color3.fromRGB(27, 42, 53)
- Button_2.BorderSizePixel = 0
- Button_2.Position = UDim2.new(0, 0, 0.232142851, 0)
- Button_2.Size = UDim2.new(1, 0, 0, 30)
- Button_2.Font = Enum.Font.Fantasy
- Button_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- Button_2.TextScaled = true
- Button_2.TextSize = 14.000
- Button_2.TextWrapped = true
- UIListLayout_2.Parent = Frame_2
- UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
- ]]--
- return SKiDUi
- end
- return Library
Advertisement
Add Comment
Please, Sign In to add comment