tazerzx

Untitled

Jun 24th, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5. local Library = {}
  6.  
  7. function Library:CreateMain()
  8. local UILib = Instance.new("ScreenGui")
  9. local Window = Instance.new("ImageLabel")
  10. local Contents = Instance.new("Frame")
  11. local UIPadding = Instance.new("UIPadding")
  12. local UIListLayout = Instance.new("UIListLayout")
  13. local button = Instance.new("TextButton")
  14. local Circle = Instance.new("ImageLabel")
  15. local toggle = Instance.new("Frame")
  16. local TextLabel = Instance.new("TextLabel")
  17. local ImageButton = Instance.new("ImageButton")
  18. local Circle_2 = Instance.new("ImageLabel")
  19. local TextLabel_2 = Instance.new("TextLabel")
  20. local FoldButton = Instance.new("TextButton")
  21.  
  22. --Properties:
  23.  
  24. UILib.Name = "UI Lib"
  25. UILib.Parent = game:GetService("CoreGui")
  26.  
  27. Window.Name = "Window"
  28. Window.Parent = UILib
  29. Window.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  30. Window.BackgroundTransparency = 1.000
  31. Window.BorderColor3 = Color3.fromRGB(255, 255, 255)
  32. Window.Position = UDim2.new(0.330012441, 0, 0.353675455, 0)
  33. Window.Size = UDim2.new(0, 150, 0, 50)
  34. Window.ZIndex = 3
  35. Window.Image = "rbxassetid://3570695787"
  36. Window.ImageColor3 = Color3.fromRGB(0, 0, 0)
  37. Window.ImageTransparency = 0.100
  38. Window.ScaleType = Enum.ScaleType.Slice
  39. Window.SliceCenter = Rect.new(100, 100, 100, 100)
  40. Window.SliceScale = 0.050
  41.  
  42. Contents.Name = "Contents"
  43. Contents.Parent = Window
  44. Contents.Active = true
  45. Contents.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  46. Contents.BackgroundTransparency = 0.200
  47. Contents.BorderColor3 = Color3.fromRGB(64, 64, 64)
  48. Contents.BorderSizePixel = 0
  49. Contents.Position = UDim2.new(0, 0, 1, -3)
  50. Contents.Size = UDim2.new(0, 150, 0, 255)
  51.  
  52. UIPadding.Parent = Contents
  53. UIPadding.PaddingTop = UDim.new(0, 5)
  54.  
  55. UIListLayout.Parent = Contents
  56. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  57. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  58. UIListLayout.Padding = UDim.new(0, 10)
  59.  
  60.  
  61. local librarycontent = {}
  62.  
  63. function librarycontent:NewLabel(text)
  64. local label = Instance.new("TextLabel")
  65. label.Name = text
  66. label.Parent = Contents
  67. label.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  68. label.BackgroundTransparency = 1.000
  69. label.BorderColor3 = Color3.fromRGB(64, 64, 64)
  70. label.Size = UDim2.new(0, 125, 0, 25)
  71. label.Font = Enum.Font.SourceSansSemibold
  72. label.TextColor3 = Color3.fromRGB(255, 255, 255)
  73. label.TextSize = 22.000
  74. label.TextStrokeColor3 = Color3.fromRGB(64, 64, 64)
  75. label.TextStrokeTransparency = 0.000
  76. end
  77.  
  78.  
  79. return librarycontent
  80.  
  81.  
  82.  
  83.  
  84. end
  85.  
  86. return Library;
Advertisement
Add Comment
Please, Sign In to add comment