Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Library = {}
- local ScreenGui = Instance.new("ScreenGui")
- local Frame1 = Instance.new("Frame")
- local Main = Instance.new("Frame")
- local UIListLayout = Instance.new("UIListLayout")
- local TextButton = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- function Library:CreateMain()
- ScreenGui.Parent = game:GetService("CoreGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame1.Name = "Frame1"
- Frame1.Parent = ScreenGui
- Frame1.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
- Frame1.BorderColor3 = Color3.new(0.247059, 0.247059, 0.247059)
- Frame1.Position = UDim2.new(0.0544789135, 0, 0.101593629, 0)
- Frame1.Size = UDim2.new(0, 219, 0, 19)
- Main.Name = "Main"
- Main.Parent = Frame1
- Main.BackgroundColor3 = Color3.new(0.00392157, 0.00392157, 0.00392157)
- Main.BackgroundTransparency = 0.5
- Main.BorderColor3 = Color3.new(0.172549, 0.172549, 0.172549)
- Main.Position = UDim2.new(0.0273972601, 0, 1, 0)
- Main.Size = UDim2.new(0, 207, 0, 197)
- UIListLayout.Parent = Main
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- local CoolLibrary = {}
- function CoolLibrary:NewButton(name)
- TextButton.Parent = Main
- TextButton.BackgroundColor3 = Color3.new(0.00392157, 0.00392157, 0.00392157)
- TextButton.BackgroundTransparency = 1
- TextButton.BorderColor3 = Color3.new(0.00392157, 0.00392157, 0.00392157)
- TextButton.Position = UDim2.new(0.0262118764, 0, 2.06828165, 0)
- TextButton.Size = UDim2.new(0, 190, 0, 21)
- TextButton.Font = Enum.Font.Cartoon
- TextButton.Text = name
- TextButton.TextColor3 = Color3.new(1, 1, 1)
- TextButton.TextSize = 18
- TextButton.TextWrapped = true
- end
- function CoolLibrary:Text(name)
- TextLabel.Parent = Frame1
- TextLabel.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
- TextLabel.BorderColor3 = Color3.new(0.247059, 0.247059, 0.247059)
- TextLabel.Size = UDim2.new(0, 219, 0, 19)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = name
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 20
- end
- return CoolLibrary;
- end
- return Library;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement