Legend_Dev

Untitled

Feb 14th, 2020
93
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Library = {}
  2.  
  3. function Library:CreateMain()
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local UIListLayout = Instance.new("UIListLayout")
  7.  
  8.  
  9. ScreenGui.Parent = game:GetService("CoreGui")
  10. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  11.  
  12. Frame.Parent = ScreenGui
  13. Frame.BackgroundColor3 = Color3.new(0.168627, 0.168627, 0.168627)
  14. Frame.Position = UDim2.new(0.747491598, 0, 0.22850123, 0)
  15. Frame.Size = UDim2.new(0, 267, 0, 158)
  16.  
  17. UIListLayout.Parent = Frame
  18. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  19.  
  20. local GamerLibrary = {}
  21.  
  22. function GamerLibrary:Label(name)
  23. local TextButton = Instance.new("TextButton")
  24.  
  25. TextButton.Parent = Frame
  26. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  27. TextButton.Size = UDim2.new(0, 200, 0, 38)
  28. TextButton.Font = Enum.Font.SourceSans
  29. TextButton.Text = name
  30. TextButton.TextColor3 = Color3.new(0, 0, 0)
  31. TextButton.TextSize = 14
  32. end
  33.  
  34. function GamerLibrary:Labl(name)
  35. local TextButton = Instance.new("TextButton")
  36.  
  37. TextButton.Parent = Frame
  38. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  39. TextButton.Size = UDim2.new(0, 200, 0, 38)
  40. TextButton.Font = Enum.Font.Cartoon
  41. TextButton.Text = name
  42. TextButton.TextColor3 = Color3.new(0, 0, 0)
  43. TextButton.TextSize = 14
  44. end
  45.  
  46. return GamerLibrary;
  47. end
  48.  
  49. return Library;
RAW Paste Data