Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Library = {}
- function Library:CreateMain()
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("ImageLabel")
- local ExampleButton = Instance.new("ImageLabel")
- local TextLabel = Instance.new("TextLabel")
- local ExampleButton1 = Instance.new("ImageLabel")
- local TextButton = Instance.new("TextButton")
- local UIListLayout = Instance.new("UIListLayout")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Frame.Name = "Frame"
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- Frame.BackgroundTransparency = 1.000
- Frame.Position = UDim2.new(0.415960461, 0, 0.408917248, 0)
- Frame.Size = UDim2.new(0, 201, 0, 194)
- Frame.Image = "rbxassetid://3570695787"
- Frame.ImageColor3 = Color3.fromRGB(35, 35, 35)
- Frame.ScaleType = Enum.ScaleType.Slice
- Frame.SliceCenter = Rect.new(100, 100, 100, 100)
- local GamerLibrary = {}
- function GamerLibrary:Label(name)
- ExampleButton.Name = "ExampleButton"
- ExampleButton.Parent = Frame
- ExampleButton.Active = true
- ExampleButton.AnchorPoint = Vector2.new(0.5, 0.5)
- ExampleButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ExampleButton.BackgroundTransparency = 1.000
- ExampleButton.Position = UDim2.new(0.159515947, 0, 0.124840558, 0)
- ExampleButton.Selectable = true
- ExampleButton.Size = UDim2.new(0, 162, 0, 40)
- ExampleButton.Image = "rbxassetid://3570695787"
- ExampleButton.ImageColor3 = Color3.fromRGB(45, 45, 45)
- ExampleButton.ScaleType = Enum.ScaleType.Slice
- ExampleButton.SliceCenter = Rect.new(100, 100, 100, 100)
- TextLabel.Parent = ExampleButton
- TextLabel.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.154320985, 0, 0, 0)
- TextLabel.Size = UDim2.new(0, 107, 0, 40)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "name"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextSize = 14.000
- ExampleButton1.Name = "ExampleButton1"
- ExampleButton1.Parent = Frame
- ExampleButton1.Active = true
- ExampleButton1.AnchorPoint = Vector2.new(0.5, 0.5)
- ExampleButton1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ExampleButton1.BackgroundTransparency = 1.000
- ExampleButton1.Position = UDim2.new(0.352191091, 0, 0.653953433, 0)
- ExampleButton1.Selectable = true
- ExampleButton1.Size = UDim2.new(0, 162, 0, 40)
- ExampleButton1.Image = "rbxassetid://3570695787"
- ExampleButton1.ImageColor3 = Color3.fromRGB(45, 45, 45)
- ExampleButton1.ScaleType = Enum.ScaleType.Slice
- ExampleButton1.SliceCenter = Rect.new(100, 100, 100, 100)
- TextButton.Parent = ExampleButton1
- TextButton.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- TextButton.BackgroundTransparency = 1.000
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.174617887, 0, -0.0131144524, 0)
- TextButton.Size = UDim2.new(0, 102, 0, 40)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = name
- TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.TextSize = 14.000
- end
- UIListLayout.Parent = Frame
- UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 5)
- return GamerLibrary;
- end
- return Library;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement