Advertisement
DeezBigNuts

asdassdasdasdasdaddasasdsa

Oct 2nd, 2022
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.00 KB | None | 0 0
  1. local library = {}
  2.  
  3. function library:NewWindow(LibName)
  4.     local Cravo = Instance.new("ScreenGui")
  5.     local Main = Instance.new("Frame")
  6.     local MainCorner = Instance.new("UICorner")
  7.     local Holder = Instance.new("Frame")
  8.     local BackCorner = Instance.new("UICorner")
  9.     local TabScroll = Instance.new("ScrollingFrame")
  10.     local UIListLayout = Instance.new("UIListLayout")
  11.     local ButtonScroll = Instance.new("ScrollingFrame")
  12.     local ScrollCorner = Instance.new("UICorner")
  13.     local UIListLayout_2 = Instance.new("UIListLayout")
  14.     local CloseGui = Instance.new("ImageButton")
  15.     local GuiTitle = Instance.new("TextLabel")
  16.  
  17.     Cravo.Name = "Cravo"
  18.     Cravo.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  19.     Cravo.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  20.    
  21.     Main.Name = "Main"
  22.     Main.Parent = Cravo
  23.     Main.BackgroundColor3 = Color3.fromRGB(130, 130, 130)
  24.     Main.BorderSizePixel = 0
  25.     Main.Position = UDim2.new(0.307491273, 0, 0.307167202, 0)
  26.     Main.Size = UDim2.new(0, 619, 0, 42)
  27.    
  28.     MainCorner.Name = "MainCorner"
  29.     MainCorner.Parent = Main
  30.    
  31.     Holder.Name = "Holder"
  32.     Holder.Parent = Main
  33.     Holder.BackgroundColor3 = Color3.fromRGB(85, 85, 85)
  34.     Holder.Position = UDim2.new(-0.000732520479, 0, 0.986880779, 0)
  35.     Holder.Size = UDim2.new(0, 619, 0, 270)
  36.    
  37.     BackCorner.Name = "BackCorner"
  38.     BackCorner.Parent = Holder
  39.    
  40.     TabScroll.Name = "TabScroll"
  41.     TabScroll.Parent = Main
  42.     TabScroll.Active = true
  43.     TabScroll.BackgroundColor3 = Color3.fromRGB(130, 130, 130)
  44.     TabScroll.BorderColor3 = Color3.fromRGB(27, 42, 53)
  45.     TabScroll.BorderSizePixel = 0
  46.     TabScroll.Position = UDim2.new(0.0194568057, 0, 1.20670033, 0)
  47.     TabScroll.Size = UDim2.new(0, 263, 0, 248)
  48.     TabScroll.ScrollBarThickness = 0
  49.  
  50.     UIListLayout.Parent = TabScroll
  51.     UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  52.     UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  53.     UIListLayout.Padding = UDim.new(0, 7)
  54.    
  55.     ButtonScroll.Name = "ButtonScroll"
  56.     ButtonScroll.Parent = Main
  57.     ButtonScroll.Active = true
  58.     ButtonScroll.BackgroundColor3 = Color3.fromRGB(130, 130, 130)
  59.     ButtonScroll.BackgroundTransparency = 1.000
  60.     ButtonScroll.Position = UDim2.new(0.45187363, 0, 1.91574144, 0)
  61.     ButtonScroll.Size = UDim2.new(0, 315, 0, 218)
  62.     ButtonScroll.ScrollBarThickness = 0
  63.    
  64.     ScrollCorner.Name = "ScrollCorner"
  65.     ScrollCorner.Parent = ButtonScroll
  66.  
  67.     UIListLayout_2.Parent = ButtonScroll
  68.     UIListLayout_2.HorizontalAlignment = Enum.HorizontalAlignment.Center
  69.     UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  70.     UIListLayout_2.Padding = UDim.new(9, 9)
  71.    
  72.     CloseGui.Name = "CloseGui"
  73.     CloseGui.Parent = Main
  74.     CloseGui.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  75.     CloseGui.BackgroundTransparency = 1.000
  76.     CloseGui.BorderSizePixel = 0
  77.     CloseGui.Position = UDim2.new(0.921331942, 0, -0.0868461207, 0)
  78.     CloseGui.Size = UDim2.new(0, 48, 0, 49)
  79.     CloseGui.Image = "rbxassetid://2777727756"
  80.  
  81.     GuiTitle.Name = LibName
  82.     GuiTitle.Parent = Main
  83.     GuiTitle.BackgroundColor3 = Color3.fromRGB(130, 130, 130)
  84.     GuiTitle.BorderSizePixel = 0
  85.     GuiTitle.Position = UDim2.new(0.0194179341, 0, 0.219402313, 0)
  86.     GuiTitle.Size = UDim2.new(0, 173, 0, 23)
  87.     GuiTitle.Font = Enum.Font.FredokaOne
  88.     GuiTitle.Text = LibName
  89.     GuiTitle.TextColor3 = Color3.fromRGB(0, 0, 0)
  90.     GuiTitle.TextSize = 30.000
  91.  
  92.     local function LRRPLP_fake_script()
  93.         local script = Instance.new('LocalScript', CloseGui)
  94.    
  95.         script.Parent.Parent.CloseGui.MouseButton1Click:Connect(function()
  96.             script.Parent.Parent.Parent.Parent.Cravo:Destroy()
  97.             print("Cravo has been Destroyed")
  98.         end)
  99.     end
  100.     coroutine.wrap(LRRPLP_fake_script)()
  101.  
  102.     local Cravo = {}
  103.  
  104.     function Cravo:NewButton(ButtonName)
  105.         local CravoButton = Instance.new("TextButton")
  106.         local ButtonCorner = Instance.new("UICorner")
  107.  
  108.         CravoButton.Name = ButtonName
  109.         CravoButton.Parent = ButtonScroll
  110.         CravoButton.BackgroundColor3 = Color3.fromRGB(130, 130, 130)
  111.         CravoButton.Position = UDim2.new(0.0322269537, 0, 0.0481606163, 0)
  112.         CravoButton.Size = UDim2.new(0, 294, 0, 36)
  113.         CravoButton.Font = Enum.Font.FredokaOne
  114.         CravoButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  115.         CravoButton.TextSize = 30.000
  116.         CravoButton.Text = ButtonName
  117.        
  118.         ButtonCorner.Name = ButtonName.." corner"
  119.         ButtonCorner.Parent = CravoButton
  120.     end
  121.  
  122.     function Cravo:NewSection(SecName)
  123.         local SectionTitle = Instance.new("TextLabel")
  124.         local SectionCorner = Instance.new("UICorner")
  125.  
  126.         SectionTitle.Name = SecName
  127.         SectionTitle.Parent = Main
  128.         SectionTitle.BackgroundColor3 = Color3.fromRGB(130, 130, 130)
  129.         SectionTitle.BorderSizePixel = 0
  130.         SectionTitle.Position = UDim2.new(0.468377173, 0, 1.06384277, 0)
  131.         SectionTitle.Size = UDim2.new(0, 294, 0, 26)
  132.         SectionTitle.Font = Enum.Font.FredokaOne
  133.         SectionTitle.Text = SecName
  134.         SectionTitle.TextColor3 = Color3.fromRGB(0, 0, 0)
  135.         SectionTitle.TextSize = 30.000
  136.        
  137.         SectionCorner.Name = SecName.." corner"
  138.         SectionCorner.Parent = SectionTitle
  139.     end
  140.  
  141.     function Cravo:NewTab(TabName)
  142.         local CravoTab = Instance.new("TextButton")
  143.         local TabCorner = Instance.new("UICorner")
  144.  
  145.         CravoTab.Name = TabName
  146.         CravoTab.Parent = TabScroll
  147.         CravoTab.BackgroundColor3 = Color3.fromRGB(85, 85, 85)
  148.         CravoTab.Position = UDim2.new(0.14884004, 0, 0.208611518, 0)
  149.         CravoTab.Size = UDim2.new(0, 172, 0, 37)
  150.         CravoTab.Font = Enum.Font.FredokaOne
  151.         CravoTab.Text = TabName
  152.         CravoTab.TextColor3 = Color3.fromRGB(0, 0, 0)
  153.         CravoTab.TextSize = 30.000
  154.        
  155.         TabCorner.Name = TabName.." corner"
  156.         TabCorner.Parent = CravoTab
  157.     end
  158.     return Cravo
  159. end
  160.  
  161. return library
  162.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement