Advertisement
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 ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local UIListLayout = Instance.new("UIListLayout")
- ScreenGui.Parent = game:GetService("CoreGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(72, 72, 72)
- Frame.Position = UDim2.new(0.317575783, 0, 0.0877796933, 0)
- Frame.Size = UDim2.new(0, 233, 0, 412)
- UIListLayout.Parent = Frame
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- local GamerLibrary = {}
- function GamerLibrary:NewButton(name)
- local TextButton = Instance.new("TextButton")
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.Size = UDim2.new(0, 200, 0, 50)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = name
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 14.000
- TextButton.TextWrapped = true
- end
- return GamerLibrary;
- end
- return Library;
- --Properties:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement