Advertisement
HEHEJ

Untitled

Mar 19th, 2020
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6.  
  7. local imgui = game:GetService("CoreGui"):FindFirstChild("UiLIB")
  8. if imgui then imgui:Destroy() end
  9.  
  10.  
  11.  
  12. local library = {}
  13.  
  14. --Properties:
  15. function library:CreateMain()
  16.  
  17. local UiLIB = Instance.new("ScreenGui")
  18. local YouGayBoi = Instance.new("Frame")
  19. local OnlyThingKeepingYouAlive = Instance.new("UIListLayout")
  20.  
  21.  
  22. UiLIB.Name = "UiLIB"
  23. UiLIB.Parent = game:GetService("CoreGui")
  24. UiLIB.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  25.  
  26. YouGayBoi.Name = "YouGayBoi"
  27. YouGayBoi.Parent = UiLIB
  28. YouGayBoi.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
  29. YouGayBoi.Position = UDim2.new(0.00870457292, 0, 0.00823724456, 0)
  30. YouGayBoi.Size = UDim2.new(0, 203, 0, 677)
  31.  
  32. OnlyThingKeepingYouAlive.Name = "Only Thing Keeping You Alive"
  33. OnlyThingKeepingYouAlive.Parent = YouGayBoi
  34. OnlyThingKeepingYouAlive.SortOrder = Enum.SortOrder.LayoutOrder
  35.  
  36. local GamerLibrary = {}
  37.  
  38. function GamerLibrary:NewButton(name)
  39. local TextButton = Instance.new("TextButton")
  40.  
  41.  
  42. TextButton.Parent = YouGayBoi
  43. TextButton.BackgroundColor3 = Color3.fromRGB(66, 121, 163)
  44. TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  45. TextButton.BorderSizePixel = 4
  46. TextButton.Size = UDim2.new(0, 203, 0, 35)
  47. TextButton.Font = Enum.Font.SourceSans
  48. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  49. TextButton.TextScaled = true
  50. TextButton.TextSize = 14.000
  51. TextButton.TextWrapped = true
  52. TextButton.Text = name
  53.  
  54.  
  55.  
  56. end
  57.  
  58.  
  59. return GamerLibrary;
  60.  
  61.  
  62. end
  63.  
  64.  
  65.  
  66. return library;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement