Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local Library = {}
- function Library:CreateMain()
- local UILib = Instance.new("ScreenGui")
- local Window = Instance.new("ImageLabel")
- local Contents = Instance.new("Frame")
- local UIPadding = Instance.new("UIPadding")
- local UIListLayout = Instance.new("UIListLayout")
- local button = Instance.new("TextButton")
- local Circle = Instance.new("ImageLabel")
- local toggle = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local ImageButton = Instance.new("ImageButton")
- local Circle_2 = Instance.new("ImageLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local FoldButton = Instance.new("TextButton")
- --Properties:
- UILib.Name = "UI Lib"
- UILib.Parent = game:GetService("CoreGui")
- Window.Name = "Window"
- Window.Parent = UILib
- Window.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Window.BackgroundTransparency = 1.000
- Window.BorderColor3 = Color3.fromRGB(255, 255, 255)
- Window.Position = UDim2.new(0.330012441, 0, 0.353675455, 0)
- Window.Size = UDim2.new(0, 150, 0, 50)
- Window.ZIndex = 3
- Window.Image = "rbxassetid://3570695787"
- Window.ImageColor3 = Color3.fromRGB(0, 0, 0)
- Window.ImageTransparency = 0.100
- Window.ScaleType = Enum.ScaleType.Slice
- Window.SliceCenter = Rect.new(100, 100, 100, 100)
- Window.SliceScale = 0.050
- Contents.Name = "Contents"
- Contents.Parent = Window
- Contents.Active = true
- Contents.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Contents.BackgroundTransparency = 0.200
- Contents.BorderColor3 = Color3.fromRGB(64, 64, 64)
- Contents.BorderSizePixel = 0
- Contents.Position = UDim2.new(0, 0, 1, -3)
- Contents.Size = UDim2.new(0, 150, 0, 255)
- UIPadding.Parent = Contents
- UIPadding.PaddingTop = UDim.new(0, 5)
- UIListLayout.Parent = Contents
- UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 10)
- local librarycontent = {}
- function librarycontent:NewLabel(text)
- local label = Instance.new("TextLabel")
- label.Name = text
- label.Parent = Contents
- label.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- label.BackgroundTransparency = 1.000
- label.BorderColor3 = Color3.fromRGB(64, 64, 64)
- label.Size = UDim2.new(0, 125, 0, 25)
- label.Font = Enum.Font.SourceSansSemibold
- label.TextColor3 = Color3.fromRGB(255, 255, 255)
- label.TextSize = 22.000
- label.TextStrokeColor3 = Color3.fromRGB(64, 64, 64)
- label.TextStrokeTransparency = 0.000
- end
- return librarycontent
- end
- return Library;
Advertisement
Add Comment
Please, Sign In to add comment