Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local library = {}
- function library:CreateWindow()
- local ScreenGui = Instance.new("ScreenGui")
- local text1 = Instance.new("TextLabel", game.Workspace)
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Frame.Position = UDim2.new(0.341240883, 0, 0.361328125, 0)
- Frame.Size = UDim2.new(0, 353, 0, 151)
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.Position = UDim2.new(0.0198300276, 0, 0.0529801324, 0)
- TextButton.Size = UDim2.new(0, 49, 0, 10)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 14.000
- local EpiccLib = {}
- function EpiccLib:CreateButton()
- text1.Text = ("Text")
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.Position = UDim2.new(0.0198300276, 0, 0.0529801324, 0)
- TextButton.Size = UDim2.new(0, 49, 0, 10)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 14.000
- TextButton.Text = (text1.Text)
- end
- return
- end
- return library
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement