joefromsansnite

Untitled

Oct 26th, 2021
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.03 KB | None | 0 0
  1. local library = {}
  2.  
  3. function library:AddWindow(title: string, settingsEnabled: boolean)
  4. settingsEnabled = (type(settingsEnabled) ~= "boolean") and false or settingsEnabled
  5. title = (type(title) ~= "string") and "Title" or title
  6.  
  7. local runService = game:GetService("RunService")
  8. local tweenService = game:GetService("TweenService")
  9. local userInputService = game:GetService("UserInputService")
  10. local marketPlaceService = game:GetService("MarketplaceService")
  11. local players = game:GetService("Players")
  12.  
  13. local gameId = game.PlaceId
  14.  
  15. local player = players.LocalPlayer
  16. local mouse = player:GetMouse()
  17.  
  18. local name, profilePicture = player.Name, players:GetUserThumbnailAsync(player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420)
  19. local gameName = (not runService:IsStudio()) and marketPlaceService:GetProductInfo(gameId).Name or "Game: Studio"
  20. local pages = 0
  21. local textureSpeed = 0.1
  22.  
  23. -- Gui
  24. local ScreenGui = Instance.new("ScreenGui")
  25. local Menu = Instance.new("Frame")
  26. local Background = Instance.new("Frame")
  27. local Tabs = Instance.new("ScrollingFrame")
  28. local UIListLayout = Instance.new("UIListLayout")
  29. local Frames = Instance.new("Frame")
  30. local PlayerInfo = Instance.new("Frame")
  31. local Profile = Instance.new("ImageLabel")
  32. local UICorner_5 = Instance.new("UICorner")
  33. local Name = Instance.new("TextLabel")
  34. local GameName = Instance.new("TextLabel")
  35. local Seperator_2 = Instance.new("Frame")
  36. local Dropshadow = Instance.new("Frame")
  37. local Dropshadow2 = Instance.new("Frame")
  38. local UIGradient = Instance.new("UIGradient")
  39. local Pattern = Instance.new("ImageLabel")
  40. local Exit = Instance.new("ImageButton")
  41. local Maximize = Instance.new("ImageButton")
  42. local Minimize = Instance.new("ImageButton")
  43. local Title = Instance.new("TextLabel")
  44. local UIPageLayout = Instance.new("UIPageLayout")
  45. local UIScale = Instance.new("UIScale")
  46. local UIGradient_2 = Instance.new("UIGradient")
  47. local UIScale_2 = Instance.new("UIScale")
  48. local UIGradient_3 = Instance.new("UIGradient")
  49.  
  50. ScreenGui.Name = "NewLibrary"
  51. ScreenGui.Parent = player.PlayerGui
  52. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  53. ScreenGui.ResetOnSpawn = false
  54.  
  55. Menu.Name = "Menu"
  56. Menu.Parent = ScreenGui
  57. Menu.AnchorPoint = Vector2.new(0.5, 0.5)
  58. Menu.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  59. Menu.BorderSizePixel = 0
  60. Menu.Position = UDim2.new(0.521222174, 0, 0.295204312, 0)
  61. Menu.Size = UDim2.new(0, 488, 0, 15)
  62.  
  63. UIScale.Parent = Menu
  64.  
  65. Background.Name = "Background"
  66. Background.Parent = Menu
  67. Background.AnchorPoint = Vector2.new(0.5, 0.5)
  68. Background.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  69. Background.BorderSizePixel = 0
  70. Background.Position = UDim2.new(0.5, 0, 10.667, 0)
  71. Background.Size = UDim2.new(0, 488, 0, 290)
  72. Background.ClipsDescendants = true
  73.  
  74. UIScale_2.Parent = Background
  75.  
  76. Tabs.Name = "Tabs"
  77. Tabs.AnchorPoint = Vector2.new(0.5, 0.5)
  78. Tabs.Parent = Background
  79. Tabs.Active = true
  80. Tabs.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  81. Tabs.BorderSizePixel = 0
  82. Tabs.Position = UDim2.new(0.154, 0, 0.567, 0)
  83. Tabs.Size = UDim2.new(0, 150, 0, 250)
  84. Tabs.ScrollBarThickness = 8
  85. Tabs.AutomaticCanvasSize = Enum.AutomaticSize.Y
  86. Tabs.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
  87.  
  88. UIListLayout.Parent = Tabs
  89. UIListLayout.Padding = UDim.new(0, 0)
  90.  
  91. Frames.Name = "Frames"
  92. Frames.Parent = Background
  93. Frames.AnchorPoint = Vector2.new(0.5, 0.5)
  94. Frames.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  95. Frames.BackgroundTransparency = 1.000
  96. Frames.Position = UDim2.new(0.654, 0, 0.5, 0)
  97. Frames.Size = UDim2.new(0, 337, 0, 290)
  98. Frames.ClipsDescendants = true
  99.  
  100. UIPageLayout.Parent = Frames
  101.  
  102. PlayerInfo.Name = "PlayerInfo"
  103. PlayerInfo.Parent = Background
  104. PlayerInfo.AnchorPoint = Vector2.new(0.5, 0.5)
  105. PlayerInfo.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  106. PlayerInfo.BorderSizePixel = 0
  107. PlayerInfo.Position = UDim2.new(0.154, 0, 0.067, 0)
  108. PlayerInfo.Size = UDim2.new(0, 150, 0, 40)
  109.  
  110. Profile.Name = "Profile"
  111. Profile.Parent = PlayerInfo
  112. Profile.AnchorPoint = Vector2.new(0.5, 0.5)
  113. Profile.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  114. Profile.BackgroundTransparency = 0
  115. Profile.Position = UDim2.new(0.142, 0, 0.5, 0)
  116. Profile.Size = UDim2.new(0, 28, 0, 28)
  117. Profile.Image = profilePicture
  118. Profile.BorderSizePixel = 0
  119.  
  120. UICorner_5.CornerRadius = UDim.new(1, 0)
  121. UICorner_5.Parent = Profile
  122.  
  123. Name.Name = "Name"
  124. Name.AnchorPoint = Vector2.new(0.5, 0.5)
  125. Name.Parent = PlayerInfo
  126. Name.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  127. Name.BackgroundTransparency = 1.000
  128. Name.Position = UDim2.new(0.624, 0, 0.232, 0)
  129. Name.Size = UDim2.new(0, 95, 0, 25)
  130. Name.Font = Enum.Font.SourceSansBold
  131. Name.Text = name
  132. Name.TextColor3 = Color3.fromRGB(255, 255, 255)
  133. Name.TextScaled = true
  134. Name.TextSize = 14.000
  135. Name.TextWrapped = true
  136. Name.TextXAlignment = Enum.TextXAlignment.Left
  137.  
  138. GameName.Name = "GameName"
  139. GameName.Parent = PlayerInfo
  140. GameName.AnchorPoint = Vector2.new(0.5, 0.5)
  141. GameName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  142. GameName.BackgroundTransparency = 1.000
  143. GameName.Position = UDim2.new(0.624, 0, 0.727, 0)
  144. GameName.Size = UDim2.new(0, 95, 0, 25)
  145. GameName.Font = Enum.Font.SourceSansLight
  146. GameName.Text = gameName
  147. GameName.TextColor3 = Color3.fromRGB(255, 255, 255)
  148. GameName.TextScaled = true
  149. GameName.TextSize = 14.000
  150. GameName.TextWrapped = true
  151. GameName.TextXAlignment = Enum.TextXAlignment.Left
  152.  
  153. Seperator_2.Name = "Seperator"
  154. Seperator_2.Parent = PlayerInfo
  155. Seperator_2.AnchorPoint = Vector2.new(0.5, 0.5)
  156. Seperator_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  157. Seperator_2.BackgroundTransparency = 0.750
  158. Seperator_2.BorderSizePixel = 0
  159. Seperator_2.Position = UDim2.new(0.624, 0, 0.5, 0)
  160. Seperator_2.Size = UDim2.new(0, 95, 0, 1)
  161.  
  162. UIGradient_2.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0.00, 1.00), NumberSequenceKeypoint.new(0.29, 0.10), NumberSequenceKeypoint.new(0.50, 0.00), NumberSequenceKeypoint.new(0.70, 0.09), NumberSequenceKeypoint.new(1.00, 1.00)}
  163. UIGradient_2.Parent = Seperator_2
  164.  
  165. Dropshadow.Name = "Dropshadow"
  166. Dropshadow.Parent = Background
  167. Dropshadow.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  168. Dropshadow.BackgroundTransparency = 0.500
  169. Dropshadow.BorderSizePixel = 0
  170. Dropshadow.Position = UDim2.new(0.30737704, 0, 0, 0)
  171. Dropshadow.Size = UDim2.new(0, 14, 0, 269)
  172. Dropshadow.ZIndex = 0
  173.  
  174. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(13, 13, 13)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(13, 13, 13))}
  175. UIGradient.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0.00, 0.00), NumberSequenceKeypoint.new(1.00, 1.00)}
  176. UIGradient.Parent = Dropshadow
  177.  
  178. Dropshadow2.Name = "Dropshadow2"
  179. Dropshadow2.Parent = Background
  180. Dropshadow2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  181. Dropshadow2.BackgroundTransparency = 0.500
  182. Dropshadow2.BorderSizePixel = 0
  183. Dropshadow2.Position = UDim2.new(0.30737704, 0, 0.718518496, 0)
  184. Dropshadow2.Size = UDim2.new(0, 338, 0, 75)
  185. Dropshadow2.Visible = false
  186.  
  187. UIGradient_3.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 0))}
  188. UIGradient_3.Rotation = -90
  189. UIGradient_3.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0.00, 0.00), NumberSequenceKeypoint.new(1.00, 1.00)}
  190. UIGradient_3.Parent = Dropshadow2
  191.  
  192. Pattern.Name = "Pattern"
  193. Pattern.Parent = Background
  194. Pattern.AnchorPoint = Vector2.new(0.5, 0.5)
  195. Pattern.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  196. Pattern.BackgroundTransparency = 1.000
  197. Pattern.Position = UDim2.new(0.5, 0, 0.5, 0)
  198. Pattern.Size = UDim2.new(-9999, 0, -9999, 0)
  199. Pattern.Visible = true
  200. Pattern.ZIndex = -1
  201. Pattern.Image = "rbxassetid://3899340539"
  202. Pattern.ScaleType = Enum.ScaleType.Tile
  203. Pattern.SliceCenter = Rect.new(0, 256, 0, 256)
  204. Pattern.TileSize = UDim2.new(0, 240, 0, 240)
  205. Pattern.ImageTransparency = 0.5
  206.  
  207. Exit.Name = "Exit"
  208. Exit.Parent = Menu
  209. Exit.AnchorPoint = Vector2.new(0.5, 0.5)
  210. Exit.BackgroundTransparency = 1.000
  211. Exit.Position = UDim2.new(0.982222199, 0, 0.5, 0)
  212. Exit.Size = UDim2.new(0, 13, 0, 13)
  213. Exit.ImageColor3 = Color3.fromRGB(200, 200, 200)
  214. Exit.Image = "rbxassetid://7072725342"
  215.  
  216. Maximize.Name = "Maximize"
  217. Maximize.Parent = Menu
  218. Maximize.AnchorPoint = Vector2.new(0.5, 0.5)
  219. Maximize.BackgroundTransparency = 1.000
  220. Maximize.Position = UDim2.new(0.931111097, 0, 0.5, 0)
  221. Maximize.Size = UDim2.new(0, 13, 0, 13)
  222. Maximize.Image = "rbxassetid://7072718726"
  223. Maximize.ImageColor3 = Color3.fromRGB(200, 200, 200)
  224.  
  225. Minimize.Name = "Minimize"
  226. Minimize.Parent = Menu
  227. Minimize.AnchorPoint = Vector2.new(0.5, 0.5)
  228. Minimize.BackgroundTransparency = 1.000
  229. Minimize.Position = UDim2.new(0.879888833, 0, 0.5, 0)
  230. Minimize.Size = UDim2.new(0, 13, 0, 13)
  231. Minimize.Image = "rbxassetid://7072719185"
  232. Minimize.ImageColor3 = Color3.fromRGB(200, 200, 200)
  233.  
  234. Title.Name = "Title"
  235. Title.Parent = Menu
  236. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  237. Title.BackgroundTransparency = 1.000
  238. Title.Size = UDim2.new(0, 420, 0, 15)
  239. Title.Font = Enum.Font.SourceSansBold
  240. Title.Text = title
  241. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  242. Title.TextScaled = true
  243. Title.TextSize = 14.000
  244. Title.TextWrapped = true
  245. Title.Selectable = true
  246. Title.ZIndex = 0
  247.  
  248. local function setDraggable()
  249. Menu.Active = true
  250. Menu.Draggable = true
  251. end
  252. local function backgroundAnimation()
  253. local distance = 0
  254.  
  255. runService.RenderStepped:Connect(function(dt)
  256. distance += dt*textureSpeed
  257.  
  258. if Pattern.Position.X.Scale >= 9999 or Pattern.Position.Y.Scale >= 9999 then -- Takes ~3 days to get to x 9999, y 9999 at this speed
  259. distance = -9999
  260. end
  261. Pattern.Position = UDim2.new(distance, 0, distance, 0)
  262. end)
  263. end
  264. local function scaleTween(uiScale, scale)
  265. local properties = {
  266. Scale = scale
  267. }
  268. local info = TweenInfo.new(.5, Enum.EasingStyle.Back, Enum.EasingDirection.InOut, 0, false)
  269.  
  270. local tween = tweenService:Create(uiScale, info, properties)
  271.  
  272. return tween
  273. end
  274. local function onExit()
  275. local tween = scaleTween(UIScale, 0)
  276.  
  277. tween:Play()
  278.  
  279. tween.Completed:Wait()
  280. ScreenGui:Destroy()
  281. end
  282. local function onMaximize()
  283. local tween = scaleTween(UIScale_2, 1)
  284.  
  285. tween:Play()
  286. end
  287. local function onMinimize()
  288. local tween = scaleTween(UIScale_2, 0)
  289.  
  290. tween:Play()
  291. end
  292.  
  293. local function onEnterHighlight(ui)
  294. ui.ImageColor3 = Color3.fromRGB(255, 255, 255)
  295. end
  296. local function onLeaveHighlight(ui)
  297. ui.ImageColor3 = Color3.fromRGB(200, 200, 200)
  298. end
  299. local function ButtonClickEffect(parent)
  300. parent.ClipsDescendants = true
  301.  
  302. local mouseLocation = userInputService:GetMouseLocation()
  303. local absolutePosition = parent.AbsolutePosition
  304.  
  305. local effectXPosition = UDim2.new(0, mouseLocation.X-absolutePosition.X, 0, (mouseLocation.Y-absolutePosition.Y)-36)
  306.  
  307. local ButtonEffect = Instance.new("ImageLabel")
  308.  
  309. ButtonEffect.Name = "ButtonEffect"
  310. ButtonEffect.Parent = parent
  311. ButtonEffect.AnchorPoint = Vector2.new(0.5, 0.5)
  312. ButtonEffect.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  313. ButtonEffect.BackgroundTransparency = 1.000
  314. ButtonEffect.BorderSizePixel = 0
  315. ButtonEffect.Position = UDim2.new(0, 0, 0, 0)
  316. ButtonEffect.Size = UDim2.new(0, 25, 0, 25)
  317. ButtonEffect.Image = "rbxassetid://7658630902"
  318. ButtonEffect.ImageTransparency = 0.500
  319. ButtonEffect.Position = effectXPosition
  320.  
  321. ButtonEffect:TweenSize(UDim2.new(0, 200, 0, 200))
  322.  
  323. spawn(function()
  324. for i = 0.5, 1.05, 0.05 do
  325. ButtonEffect.ImageTransparency = i
  326. if i >= 1 then
  327. ButtonEffect:Destroy()
  328. end
  329. wait()
  330. end
  331. end)
  332. end
  333. local function DropdownEffect(parent, ui, itemType, visible, rot1, rot2)
  334. if parent ~= nil and itemType ~= nil then
  335. task.spawn(function()
  336. for i, v in pairs(parent:GetChildren()) do
  337. if v:IsA(itemType) then
  338. v.Visible = visible
  339. task.wait()
  340. end
  341. end
  342. end)
  343. end
  344.  
  345. local properties = (visible == true) and {
  346. Rotation = rot1
  347. } or {
  348. Rotation = rot2
  349. }
  350.  
  351. local info = TweenInfo.new(0.5)
  352. local tween = tweenService:Create(ui, info, properties)
  353.  
  354. tween:Play()
  355. end
  356.  
  357. local l2 = {}
  358.  
  359. function l2:Prompt(args)
  360. if player.PlayerGui:FindFirstChild("LIB_Prompt") then
  361. return
  362. end
  363. local title, text, duration = "Title", "Text.", 3
  364.  
  365. title = (args.Title == nil) and title or args.Title
  366. text = (args.Text == nil) and text or args.Text
  367. duration = (args.Duration == nil) and duration or args.Duration
  368.  
  369. local Prompt = Instance.new("ScreenGui")
  370. local BlackBackground = Instance.new("Frame")
  371. local Menu = Instance.new("Frame")
  372. local Title = Instance.new("TextLabel")
  373. local Background = Instance.new("Frame")
  374. local Description = Instance.new("TextLabel")
  375. local OkayButton = Instance.new("TextButton")
  376. local UICorner = Instance.new("UICorner")
  377. local Frame = Instance.new("Frame")
  378. local UICorner_2 = Instance.new("UICorner")
  379. local UIStroke = Instance.new("UIStroke")
  380.  
  381. Prompt.Name = "LIB_Prompt"
  382. Prompt.Parent = player.PlayerGui
  383. Prompt.Enabled = true
  384. Prompt.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  385.  
  386. BlackBackground.Name = "BlackBackground"
  387. BlackBackground.Parent = Prompt
  388. BlackBackground.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  389. BlackBackground.BackgroundTransparency = 0.500
  390. BlackBackground.BorderSizePixel = 0
  391. BlackBackground.Size = UDim2.new(10, 0, 10, 0)
  392. BlackBackground.ZIndex = -999999999
  393.  
  394. Menu.Name = "Menu"
  395. Menu.Parent = Prompt
  396. Menu.AnchorPoint = Vector2.new(0.5, 0.5)
  397. Menu.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  398. Menu.BorderSizePixel = 0
  399. Menu.Position = UDim2.new(0.5, 0, 2, 0)
  400. Menu.Size = UDim2.new(0, 350, 0, 15)
  401.  
  402. Title.Name = "Title"
  403. Title.Parent = Menu
  404. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  405. Title.BackgroundTransparency = 1.000
  406. Title.Position = UDim2.new(0.00303951371, 0, 0, 0)
  407. Title.Size = UDim2.new(0, 350, 0, 15)
  408. Title.Font = Enum.Font.SourceSansBold
  409. Title.Text = title
  410. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  411. Title.TextScaled = true
  412. Title.TextSize = 14.000
  413. Title.TextWrapped = true
  414.  
  415. Background.Name = "Background"
  416. Background.Parent = Menu
  417. Background.AnchorPoint = Vector2.new(0.5, 0.5)
  418. Background.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  419. Background.BorderSizePixel = 0
  420. Background.ClipsDescendants = true
  421. Background.Position = UDim2.new(0.500805378, 0, 8.26666641, 0)
  422. Background.Size = UDim2.new(0, 350, 0, 218)
  423.  
  424. Description.Name = "Description"
  425. Description.Parent = Background
  426. Description.AnchorPoint = Vector2.new(0.5, 0.5)
  427. Description.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  428. Description.BackgroundTransparency = 1.000
  429. Description.ClipsDescendants = true
  430. Description.Position = UDim2.new(0.5, 0, 0.389999986, 0)
  431. Description.Size = UDim2.new(0, 324, 0, 151)
  432. Description.Font = Enum.Font.SourceSansLight
  433. Description.Text = text
  434. Description.TextColor3 = Color3.fromRGB(255, 255, 255)
  435. Description.TextSize = 14.000
  436. Description.TextWrapped = true
  437. Description.TextYAlignment = Enum.TextYAlignment.Top
  438.  
  439. OkayButton.Name = "OkayButton"
  440. OkayButton.Parent = Background
  441. OkayButton.AnchorPoint = Vector2.new(0.5, 0.5)
  442. OkayButton.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  443. OkayButton.Position = UDim2.new(0.5, 0, 0.819000006, 0)
  444. OkayButton.Size = UDim2.new(0, 200, 0, 35)
  445. OkayButton.Font = Enum.Font.SourceSansLight
  446. OkayButton.Text = "Okay"
  447. OkayButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  448. OkayButton.TextSize = 20.000
  449. OkayButton.TextWrapped = true
  450. OkayButton.AutoButtonColor = false
  451.  
  452. UICorner.Parent = OkayButton
  453.  
  454. Frame.Parent = OkayButton
  455. Frame.AnchorPoint = Vector2.new(0.5, 0.5)
  456. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  457. Frame.BackgroundTransparency = 1.000
  458. Frame.Position = UDim2.new(0.509506047, 0, 0.461233079, 0)
  459. Frame.Size = UDim2.new(0, 200, 0, 35)
  460.  
  461. UICorner_2.Parent = Frame
  462.  
  463. UIStroke.Parent = Frame
  464. UIStroke.Color = Color3.fromRGB(200, 200, 200)
  465.  
  466. task.spawn(function()
  467. task.wait(duration)
  468. Menu:TweenPosition(UDim2.new(0.5, 0, 2, 0), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 1, false, function()
  469. Prompt:Destroy()
  470. end)
  471. end)
  472.  
  473. Menu:TweenPosition(UDim2.new(0.5, 0, 0.35, 0))
  474.  
  475. OkayButton.MouseButton1Click:Connect(function()
  476. ButtonClickEffect(Frame)
  477. Menu:TweenPosition(UDim2.new(0.5, 0, 2, 0), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 1, false, function()
  478. Prompt:Destroy()
  479. end)
  480. end)
  481. end
  482.  
  483. local function CreateContainer(parent, text, description)
  484. local Container = Instance.new("Frame")
  485. local Label = Instance.new("TextLabel")
  486. local Info = Instance.new("ImageLabel")
  487. local InfoMain = Instance.new("TextButton")
  488.  
  489. Container.Name = "Container"
  490. Container.Parent = parent
  491. Container.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  492. Container.BackgroundTransparency = 1.000
  493. Container.Size = UDim2.new(0, 296, 0, 50)
  494. Container.AutomaticSize = Enum.AutomaticSize.Y
  495.  
  496. Label.Name = "Label"
  497. Label.Parent = Container
  498. Label.AnchorPoint = Vector2.new(0.5, 0.5)
  499. Label.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  500. Label.BackgroundTransparency = 1.000
  501. Label.Position = UDim2.new(0.305000007, 0, 0.5, 0)
  502. Label.Size = UDim2.new(0, 110, 0, 25)
  503. Label.Font = Enum.Font.SourceSansBold
  504. Label.Text = text
  505. Label.TextColor3 = Color3.fromRGB(255, 255, 255)
  506. Label.TextScaled = true
  507. Label.TextSize = 25.000
  508. Label.TextWrapped = true
  509. Label.TextXAlignment = Enum.TextXAlignment.Left
  510.  
  511. Info.Name = "Info"
  512. Info.Parent = Container
  513. Info.AnchorPoint = Vector2.new(0.5, 0.5)
  514. Info.BackgroundTransparency = 1.000
  515. Info.Position = UDim2.new(0.0599999987, 0, 0.5, 0)
  516. Info.Size = UDim2.new(0, 20, 0, 20)
  517. Info.Image = "rbxassetid://7072717857"
  518. Info.ImageColor3 = Color3.fromRGB(200, 200, 200)
  519.  
  520. InfoMain.Name = "InfoMain"
  521. InfoMain.Parent = Info
  522. InfoMain.AnchorPoint = Vector2.new(0.5, 0.5)
  523. InfoMain.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  524. InfoMain.BackgroundTransparency = 1.000
  525. InfoMain.Position = UDim2.new(0.5, 0, 0.5, 0)
  526. InfoMain.Size = UDim2.new(0, 15, 0, 15)
  527. InfoMain.AutoButtonColor = false
  528. InfoMain.Font = Enum.Font.SourceSans
  529. InfoMain.Text = ""
  530. InfoMain.TextColor3 = Color3.fromRGB(0, 0, 0)
  531. InfoMain.TextSize = 14.000
  532.  
  533. Info.MouseEnter:Connect(function()
  534. onEnterHighlight(Info)
  535. end)
  536. Info.MouseLeave:Connect(function()
  537. onLeaveHighlight(Info)
  538. end)
  539. InfoMain.MouseButton1Click:Connect(function()
  540. l2:Prompt({
  541. Title = text,
  542. Text = description,
  543. Duration = 8
  544. })
  545. end)
  546. return Container
  547. end
  548.  
  549. function l2:AddTab(text, tabImage)
  550. -- Set Variables
  551. tabImage = (tabImage == nil) and "rbxassetid://3926305904" or tabImage
  552. text = (type(text) ~= "string") and "Tab" or text
  553.  
  554. pages += 1
  555.  
  556.  
  557. -- Gui
  558. local Tab = Instance.new("TextButton")
  559. local TabLabel = Instance.new("TextLabel")
  560. local tab = Instance.new("ImageLabel")
  561. local Seperator = Instance.new("Frame")
  562. local Page = Instance.new("ScrollingFrame")
  563. local UIListLayout = Instance.new("UIListLayout")
  564. local SectionOffset = Instance.new("Frame")
  565. local Highlight = Instance.new("ImageLabel")
  566.  
  567. Tab.Name = "Tab"
  568. Tab.Parent = Tabs
  569. Tab.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  570. Tab.BorderSizePixel = 0
  571. Tab.Size = UDim2.new(0, 150, 0, 40)
  572. Tab.Font = Enum.Font.SourceSansLight
  573. Tab.Text = ""
  574. Tab.TextColor3 = Color3.fromRGB(255, 255, 255)
  575. Tab.TextSize = 14.000
  576. Tab.TextWrapped = true
  577. Tab.AutoButtonColor = false
  578.  
  579. TabLabel.Name = "TabLabel"
  580. TabLabel.Parent = Tab
  581. TabLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  582. TabLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  583. TabLabel.BackgroundTransparency = 1.000
  584. TabLabel.Position = UDim2.new(0.6, 0, 0.5, 0)
  585. TabLabel.Size = UDim2.new(0, 100, 0, 18)
  586. TabLabel.Font = Enum.Font.SourceSansLight
  587. TabLabel.Text = text
  588. TabLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  589. TabLabel.TextSize = 14.000
  590. TabLabel.TextWrapped = true
  591. TabLabel.TextXAlignment = Enum.TextXAlignment.Left
  592. TabLabel.Font = Enum.Font.SourceSansSemibold
  593.  
  594. tab.Name = "tab"
  595. tab.Parent = Tab
  596. tab.AnchorPoint = Vector2.new(0.5, 0.5)
  597. tab.BackgroundTransparency = 1.000
  598. tab.Position = UDim2.new(0.15, 0, 0.5, 0)
  599. tab.Size = UDim2.new(0, 18, 0, 18)
  600. tab.ZIndex = 2
  601. tab.Image = tabImage
  602. tab.ImageRectOffset = Vector2.new(484, 484)
  603. tab.ImageRectSize = Vector2.new(36, 36)
  604. tab.ImageColor3 = Color3.fromRGB(200, 200, 200)
  605.  
  606. Seperator.Name = "Seperator"
  607. Seperator.Parent = Tab
  608. Seperator.AnchorPoint = Vector2.new(0.5, 0.5)
  609. Seperator.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  610. Seperator.BackgroundTransparency = 1
  611. Seperator.BorderSizePixel = 0
  612. Seperator.Position = UDim2.new(0.5, 0, .99, 0)
  613. Seperator.Size = UDim2.new(0, 150, 0, 1)
  614. Seperator.ClipsDescendants = true
  615.  
  616. Highlight.Name = "Highlight"
  617. Highlight.Parent = Seperator
  618. Highlight.AnchorPoint = Vector2.new(0.5, 0.5)
  619. Highlight.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  620. Highlight.BackgroundTransparency = 1.000
  621. Highlight.Position = UDim2.new(10, 0, 10, 0)
  622. Highlight.Size = UDim2.new(0, 125, 0, 125)
  623. Highlight.Image = "rbxassetid://1066722231"
  624. Highlight.ImageTransparency = 0.750
  625.  
  626. Page.Parent = Frames
  627. Page.Name = "Page"..(pages)
  628. Page.Active = true
  629. Page.AnchorPoint = Vector2.new(0.5, 0.5)
  630. Page.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  631. Page.BackgroundTransparency = 1.000
  632. Page.BorderSizePixel = 0
  633. Page.Position = UDim2.new(0.5, 0, 0.5, 0)
  634. Page.Size = UDim2.new(0, 337, 0, 290)
  635. Page.ScrollBarThickness = 8
  636. Page.CanvasSize = UDim2.new(0, 0, 0.5, 0)
  637. Page.AutomaticCanvasSize = Enum.AutomaticSize.Y
  638. Page.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
  639. Page.ElasticBehavior = Enum.ElasticBehavior.Always
  640.  
  641. UIListLayout.Parent = Page
  642. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  643. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  644. UIListLayout.Padding = UDim.new(0, 25)
  645.  
  646. SectionOffset.Name = "SectionOffset"
  647. SectionOffset.Parent = Page
  648. SectionOffset.BackgroundTransparency = 1.000
  649. SectionOffset.Position = UDim2.new(0, 0, 0, 0)
  650.  
  651.  
  652. -- Functions
  653. -- Set CanvasSize
  654. runService.RenderStepped:Connect(function() -- AutomaticCanvasSize Broken
  655. Page.CanvasSize = UDim2.new(0, 0, 0, UIListLayout.AbsoluteContentSize.Y)
  656. end)
  657.  
  658. -- Mouse Highlight Effect
  659. mouse.Move:Connect(function()
  660. local mousePosition = userInputService:GetMouseLocation()
  661.  
  662. Highlight.Position = UDim2.new(0, mousePosition.X - Seperator.AbsolutePosition.X, 0, mousePosition.Y - Seperator.AbsolutePosition.Y)
  663. end)
  664.  
  665. -- Jump To Page
  666. Tab.MouseButton1Click:Connect(function()
  667. ButtonClickEffect(Tab)
  668.  
  669. local pageName = Page.Name
  670. local pageIndex = string.gsub(pageName, "%D", "")
  671.  
  672. UIPageLayout:JumpToIndex(pageIndex-1)
  673. end)
  674.  
  675. -- Tab Highlight
  676. Tab.MouseEnter:Connect(function()
  677. onEnterHighlight(tab)
  678. end)
  679. Tab.MouseLeave:Connect(function()
  680. onLeaveHighlight(tab)
  681. end)
  682.  
  683.  
  684. -- Section
  685. local l3 = {}
  686.  
  687. function l3:AddSection(text)
  688. text = (type(text) ~= "string") and "Section" or text
  689.  
  690. local Section = Instance.new("Frame")
  691. local SectionLabel = Instance.new("TextLabel")
  692. local UIListLayout_3 = Instance.new("UIListLayout")
  693. local UIStroke = Instance.new("UIStroke")
  694.  
  695. Section.Name = "Section"
  696. Section.Parent = Page
  697. Section.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  698. Section.BackgroundTransparency = 1.000
  699. Section.Position = UDim2.new(0.0608308613, 0, 0.0944444463, 0)
  700. Section.Size = UDim2.new(0, 296, 0, 50)
  701. Section.AutomaticSize = Enum.AutomaticSize.Y
  702.  
  703. UIStroke.Parent = Section
  704. UIStroke.Color = Color3.fromRGB(200, 200, 200)
  705.  
  706. SectionLabel.Name = "Section"
  707. SectionLabel.Parent = Section
  708. SectionLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  709. SectionLabel.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  710. SectionLabel.BorderColor3 = Color3.fromRGB(25, 25, 25)
  711. SectionLabel.BorderSizePixel = 15
  712. SectionLabel.Position = UDim2.new(0, 0, 0, 0)
  713. SectionLabel.Size = UDim2.new(0, 0, 0, 0)
  714. SectionLabel.Font = Enum.Font.SourceSansBold
  715. SectionLabel.Text = text
  716. SectionLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  717. SectionLabel.TextSize = 20
  718. SectionLabel.AutomaticSize = Enum.AutomaticSize.X
  719.  
  720. UIListLayout_3.Parent = Section
  721. UIListLayout_3.HorizontalAlignment = Enum.HorizontalAlignment.Center
  722. UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
  723.  
  724. local l4 = {}
  725.  
  726. function l4:AddButton(text, description, callback)
  727. -- Set Variables
  728. text = (type(text) ~= "string") and "Button" or text
  729. description = (type(description) ~= "string") and "Description." or description
  730. callback = (type(callback) ~= "function") and function()
  731. print("Clicked!")
  732. end or callback
  733.  
  734.  
  735. -- Gui
  736. local Button = Instance.new("TextButton")
  737. local UICorner = Instance.new("UICorner")
  738. local UIStroke = Instance.new("UIStroke")
  739. local Frame = Instance.new("Frame")
  740. local UICorner_2 = Instance.new("UICorner")
  741. local Icon = Instance.new("ImageLabel")
  742. local Container = CreateContainer(Section, text, description)
  743.  
  744. Button.Name = "Button"
  745. Button.Parent = Container
  746. Button.AnchorPoint = Vector2.new(0.5, 0.5)
  747. Button.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  748. Button.BackgroundTransparency = 0
  749. Button.Position = UDim2.new(0.731304467, 0, 0.5, 0)
  750. Button.Size = UDim2.new(0, 144, 0, 32)
  751. Button.Font = Enum.Font.SourceSansLight
  752. Button.Text = ""
  753. Button.TextColor3 = Color3.fromRGB(255, 255, 255)
  754. Button.TextSize = 20.000
  755. Button.TextWrapped = true
  756. Button.AutoButtonColor = false
  757.  
  758. UICorner.Parent = Button
  759.  
  760. Frame.Parent = Button
  761. Frame.AnchorPoint = Vector2.new(0.5, 0.5)
  762. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  763. Frame.BackgroundTransparency = 1.000
  764. Frame.Position = UDim2.new(0.506931901, 0, 0.5, 0)
  765. Frame.Size = UDim2.new(0, 144, 0, 32)
  766.  
  767. UICorner_2.Parent = Frame
  768.  
  769. UIStroke.Parent = Frame
  770. UIStroke.Color = Color3.fromRGB(200, 200, 200)
  771.  
  772. Icon.Name = "Icon"
  773. Icon.Parent = Button
  774. Icon.AnchorPoint = Vector2.new(0.5, 0.5)
  775. Icon.BackgroundTransparency = 1.000
  776. Icon.Position = UDim2.new(0.5, 0, 0.5, 0)
  777. Icon.Size = UDim2.new(0, 20, 0, 20)
  778. Icon.Image = "rbxassetid://7072719587"
  779. Icon.ImageColor3 = Color3.fromRGB(200, 200, 200)
  780.  
  781. -- Functions
  782. Button.MouseButton1Click:Connect(function()
  783. ButtonClickEffect(Frame)
  784. callback()
  785. end)
  786.  
  787. Button.MouseEnter:Connect(function()
  788. onEnterHighlight(Icon)
  789. end)
  790. Button.MouseLeave:Connect(function()
  791. onLeaveHighlight(Icon)
  792. end)
  793. end
  794. function l4:AddInput(text, description, callback)
  795. -- Set Variables
  796. text = (type(text) ~= "string") and "Input" or text
  797. description = (type(description) ~= "string") and "Description." or description
  798. callback = (type(callback) ~= "function") and function()
  799. print("Lost Focus!")
  800. end or callback
  801.  
  802.  
  803. -- Gui
  804. local Input = Instance.new("TextBox")
  805. local UICorner = Instance.new("UICorner")
  806. local UIStroke = Instance.new("UIStroke")
  807. local Outline = Instance.new("Frame")
  808. local UICorner_2 = Instance.new("UICorner")
  809. local Clipboard = Instance.new("ImageButton")
  810. local Container = CreateContainer(Section, text, description)
  811.  
  812. Input.Name = "Input"
  813. Input.Parent = Container
  814. Input.AnchorPoint = Vector2.new(0.5, 0.5)
  815. Input.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  816. Input.Position = UDim2.new(0.731000006, 0, 0.5, 0)
  817. Input.Size = UDim2.new(0, 144, 0, 32)
  818. Input.ClearTextOnFocus = false
  819. Input.Font = Enum.Font.SourceSansLight
  820. Input.PlaceholderColor3 = Color3.fromRGB(200, 200, 200)
  821. Input.PlaceholderText = "Input"
  822. Input.Text = ""
  823. Input.TextColor3 = Color3.fromRGB(255, 255, 255)
  824. Input.TextSize = 14.000
  825. Input.TextWrapped = true
  826.  
  827. UICorner.Parent = Input
  828.  
  829. Outline.Parent = Input
  830. Outline.AnchorPoint = Vector2.new(0.5, 0.5)
  831. Outline.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  832. Outline.BackgroundTransparency = 1.000
  833. Outline.Position = UDim2.new(0.506931901, 0, 0.5, 0)
  834. Outline.Size = UDim2.new(0, 144, 0, 32)
  835.  
  836. UICorner_2.Parent = Outline
  837.  
  838. UIStroke.Parent = Outline
  839. UIStroke.Color = Color3.fromRGB(200, 200, 200)
  840.  
  841. Clipboard.Name = "Clipboard"
  842. Clipboard.Parent = Input
  843. Clipboard.AnchorPoint = Vector2.new(0.5, 0.5)
  844. Clipboard.BackgroundTransparency = 1.000
  845. Clipboard.Position = UDim2.new(0.925000012, 0, 0.409999996, 0)
  846. Clipboard.Size = UDim2.new(0, 17, 0, 17)
  847. Clipboard.Image = "rbxassetid://7072707198"
  848. Clipboard.ImageColor3 = Color3.fromRGB(200, 200, 200)
  849.  
  850. -- Functions
  851. Input.FocusLost:Connect(function()
  852. callback(Input.Text)
  853. end)
  854.  
  855. Clipboard.MouseEnter:Connect(function()
  856. onEnterHighlight(Clipboard)
  857. end)
  858. Clipboard.MouseLeave:Connect(function()
  859. onLeaveHighlight(Clipboard)
  860. end)
  861.  
  862. Clipboard.MouseButton1Click:Connect(function()
  863. if runService:IsStudio() then
  864. print("Copied: "..(Input.Text))
  865. return
  866. end
  867. setclipboard(Input.Text)
  868. end)
  869. end
  870. function l4:AddSlider(text, description, min, max, callback)
  871. -- Set Variables
  872. text = (type(text) ~= "string") and "Slider" or text
  873. description = (type(description) ~= "string") and "Description." or description
  874. min = (type(min) ~= "number") and 0 or min
  875. max = (type(max) ~= "number") and 10 or max
  876. callback = (type(callback) ~= "function") and function()
  877. print("Moved Slider!")
  878. end or callback
  879.  
  880. -- Variables
  881. local holding = false
  882. local selecting = false
  883.  
  884.  
  885. -- Gui
  886. local Slider = Instance.new("Frame")
  887. local UICorner = Instance.new("UICorner")
  888. local UIStroke = Instance.new("UIStroke")
  889. local Fill = Instance.new("Frame")
  890. local UICorner_2 = Instance.new("UICorner")
  891. local ValueLabel = Instance.new("TextLabel")
  892. local FillButton = Instance.new("Frame")
  893. local UICorner_3 = Instance.new("UICorner")
  894. local Container = CreateContainer(Section, text, description)
  895. local TransparentFillButton = Instance.new("TextButton")
  896.  
  897. Slider.Name = "Slider"
  898. Slider.Parent = Container
  899. Slider.AnchorPoint = Vector2.new(0.5, 0.5)
  900. Slider.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  901. Slider.BackgroundTransparency = 1.000
  902. Slider.Position = UDim2.new(0.735, 0, 0.5, 0)
  903. Slider.Size = UDim2.new(0, 140, 0, 2)
  904.  
  905. UICorner.Parent = Slider
  906.  
  907. UIStroke.Parent = Slider
  908. UIStroke.Color = Color3.fromRGB(200, 200, 200)
  909.  
  910. Fill.Name = "Fill"
  911. Fill.Parent = Slider
  912. Fill.AnchorPoint = Vector2.new(0.5, 0.5)
  913. Fill.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  914. Fill.Position = UDim2.new(0, 0, 0.5, 0)
  915. Fill.Size = UDim2.new(0, 1, 0, 4)
  916.  
  917. UICorner_2.Parent = Fill
  918.  
  919. ValueLabel.Name = "ValueLabel"
  920. ValueLabel.Parent = Slider
  921. ValueLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  922. ValueLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  923. ValueLabel.BackgroundTransparency = 1.000
  924. ValueLabel.Position = UDim2.new(0.5, 0, 8, 0)
  925. ValueLabel.Size = UDim2.new(0, 158, 0, 14)
  926. ValueLabel.Font = Enum.Font.SourceSansLight
  927. ValueLabel.Text = min
  928. ValueLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  929. ValueLabel.TextSize = 14.000
  930.  
  931. FillButton.Name = "FillButton"
  932. FillButton.Parent = Slider
  933. FillButton.AnchorPoint = Vector2.new(0.5, 0.5)
  934. FillButton.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
  935. FillButton.Position = UDim2.new(0, 0, 0.5, 0)
  936. FillButton.Size = UDim2.new(0, 8, 0, 16)
  937.  
  938. TransparentFillButton.Name = "TransparentFillButton"
  939. TransparentFillButton.Parent = Slider
  940. TransparentFillButton.AnchorPoint = Vector2.new(0.5, 0.5)
  941. TransparentFillButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  942. TransparentFillButton.BackgroundTransparency = 1.000
  943. TransparentFillButton.Position = UDim2.new(0.5, 0, 0.5, 0)
  944. TransparentFillButton.Size = UDim2.new(0, 140, 0, 16)
  945. TransparentFillButton.Font = Enum.Font.SourceSans
  946. TransparentFillButton.Text = ""
  947. TransparentFillButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  948. TransparentFillButton.TextSize = 14.000
  949.  
  950. UICorner_3.Parent = FillButton
  951.  
  952. TransparentFillButton.MouseButton1Down:Connect(function()
  953. holding = true
  954. end)
  955. TransparentFillButton.MouseButton1Up:Connect(function()
  956. holding = false
  957. end)
  958.  
  959. TransparentFillButton.MouseEnter:Connect(function()
  960. selecting = true
  961. end)
  962. TransparentFillButton.MouseLeave:Connect(function()
  963. selecting = false
  964. end)
  965.  
  966. runService.RenderStepped:Connect(function()
  967. FillButton.BackgroundColor3 = (selecting == true) and Color3.fromRGB(255, 255, 255) or Color3.fromRGB(0, 150, 255)
  968.  
  969. if holding then
  970. local mouseLocation = userInputService:GetMouseLocation()
  971. local xPos = (mouseLocation.X-Slider.AbsolutePosition.X)/Slider.AbsoluteSize.X
  972.  
  973. xPos = math.clamp(xPos, 0, 1)
  974.  
  975. local value = min + (xPos * (max-min))
  976.  
  977. ValueLabel.Text = tostring(math.round(value))
  978.  
  979. Fill.Size = UDim2.new(xPos, 0, 0, 6)
  980. Fill.Position = UDim2.new(xPos/2, 0, 0.5, 0)
  981. FillButton.Position = UDim2.new(xPos, 0, 0.5, 0)
  982.  
  983. callback(value)
  984. end
  985. end)
  986. end
  987. function l4:AddToggle(text, description, callback)
  988. -- Set Variables
  989. text = (type(text) ~= "string") and "Toggle" or text
  990. description = (type(description) ~= "string") and "Description." or description
  991. callback = (type(callback) ~= "function") and function()
  992. print("Toggled!")
  993. end or callback
  994.  
  995.  
  996. -- Variables
  997. local toggled = false
  998. local debounce = false
  999.  
  1000.  
  1001. -- Gui
  1002. local Toggle = Instance.new("Frame")
  1003. local UICorner = Instance.new("UICorner")
  1004. local UIStroke = Instance.new("UIStroke")
  1005. local ToggleButton = Instance.new("TextButton")
  1006. local UICorner_2 = Instance.new("UICorner")
  1007. local Container = CreateContainer(Section, text, description)
  1008.  
  1009. Toggle.Name = "Toggle"
  1010. Toggle.Parent = Container
  1011. Toggle.AnchorPoint = Vector2.new(0.5, 0.5)
  1012. Toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1013. Toggle.BackgroundTransparency = 1.000
  1014. Toggle.Position = UDim2.new(0.879, 0, 0.5, 0)
  1015. Toggle.Size = UDim2.new(0, 42, 0, 21)
  1016.  
  1017. UICorner.CornerRadius = UDim.new(1, 0)
  1018. UICorner.Parent = Toggle
  1019.  
  1020. UIStroke.Parent = Toggle
  1021. UIStroke.Color = Color3.fromRGB(200, 200, 200)
  1022.  
  1023. ToggleButton.Name = "ToggleButton"
  1024. ToggleButton.Parent = Toggle
  1025. ToggleButton.AnchorPoint = Vector2.new(0.5, 0.5)
  1026. ToggleButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  1027. ToggleButton.Position = UDim2.new(0.27, 0, 0.5, 0)
  1028. ToggleButton.Size = UDim2.new(0, 18, 0, 18)
  1029. ToggleButton.ZIndex = 1
  1030. ToggleButton.AutoButtonColor = false
  1031. ToggleButton.Font = Enum.Font.SourceSans
  1032. ToggleButton.Text = ""
  1033. ToggleButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1034. ToggleButton.TextSize = 14.000
  1035.  
  1036. UICorner_2.CornerRadius = UDim.new(1, 0)
  1037. UICorner_2.Parent = ToggleButton
  1038.  
  1039.  
  1040. -- Functions
  1041. ToggleButton.MouseButton1Click:Connect(function()
  1042. if debounce == false then
  1043. debounce = true
  1044.  
  1045. toggled = not toggled
  1046.  
  1047. local pos = (toggled == true) and UDim2.new(0.74, 0, 0.5, 0) or UDim2.new(0.27, 0, 0.5, 0)
  1048. local properties = (toggled == true) and {
  1049. BackgroundColor3 = Color3.fromRGB(255, 255, 0)
  1050. } or {
  1051. BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  1052. }
  1053.  
  1054. local info = TweenInfo.new(0.75, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
  1055. local tween = tweenService:Create(ToggleButton, info, properties)
  1056.  
  1057. ToggleButton:TweenPosition(pos, Enum.EasingDirection.InOut, Enum.EasingStyle.Sine, 0.75, false)
  1058. tween:Play()
  1059.  
  1060. callback(toggled)
  1061.  
  1062. task.wait(1)
  1063. debounce = false
  1064. end
  1065. end)
  1066. end
  1067. function l4:AddColorPicker(text, description, callback)
  1068. -- Set Variables
  1069. text = (type(text) ~= "string") and "Color Picker" or text
  1070. description = (type(description) ~= "string") and "Description." or description
  1071. callback = (type(callback) ~= "function") and function()
  1072. print("Picked Color!")
  1073. end or callback
  1074.  
  1075.  
  1076. -- Variables
  1077. local color = Color3.fromHSV(1, 1, 1)
  1078.  
  1079. local holdingHS = false
  1080. local holdingV = false
  1081.  
  1082.  
  1083. -- Gui
  1084. local ColorPicker = Instance.new("Frame")
  1085. local ColorPickerMain = Instance.new("ImageLabel")
  1086. local ColorPickerSelection = Instance.new("TextButton")
  1087. local ValueSelection = Instance.new("TextButton")
  1088. local ValuePickerMain = Instance.new("ImageLabel")
  1089. local CursorHS = Instance.new("ImageLabel")
  1090. local CursorV = Instance.new("ImageLabel")
  1091. local UIStroke = Instance.new("UIStroke")
  1092. local UIStroke_2 = Instance.new("UIStroke")
  1093. local UICorner = Instance.new("UICorner")
  1094. local UICorner_2 = Instance.new("UICorner")
  1095. local UIGradient = Instance.new("UIGradient")
  1096. local ColorValues = Instance.new("Frame")
  1097. local UIListLayout = Instance.new("UIListLayout")
  1098. local HSVLabel = Instance.new("TextLabel")
  1099. local RGBLabel = Instance.new("TextLabel")
  1100. local HEXLabel = Instance.new("TextLabel")
  1101. local Container = CreateContainer(Section, text, description)
  1102.  
  1103. ColorPicker.Name = "ColorPicker"
  1104. ColorPicker.Parent = Container
  1105. ColorPicker.AnchorPoint = Vector2.new(0.5, 0.5)
  1106. ColorPicker.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1107. ColorPicker.BackgroundTransparency = 1.000
  1108. ColorPicker.BorderColor3 = Color3.fromRGB(27, 42, 53)
  1109. ColorPicker.Position = UDim2.new(0.75, 0, 1.05, 0)
  1110. ColorPicker.Size = UDim2.new(0, 130, 0, 80)
  1111.  
  1112. ColorPickerMain.Name = "ColorPickerMain"
  1113. ColorPickerMain.Parent = ColorPicker
  1114. ColorPickerMain.AnchorPoint = Vector2.new(0.5, 0.5)
  1115. ColorPickerMain.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1116. ColorPickerMain.BorderSizePixel = 0
  1117. ColorPickerMain.Position = UDim2.new(0.414, 0, 0.5, 0)
  1118. ColorPickerMain.Size = UDim2.new(0, 100, 0, 75)
  1119. ColorPickerMain.Image = "rbxassetid://6320992248"
  1120.  
  1121. ColorPickerSelection.Parent = ColorPickerMain
  1122. ColorPickerSelection.BackgroundTransparency = 1
  1123. ColorPickerSelection.AnchorPoint = Vector2.new(0.5, 0.5)
  1124. ColorPickerSelection.Position = UDim2.new(0.5, 0, 0.5, 0)
  1125. ColorPickerSelection.Size = UDim2.new(0, 140, 0, 80)
  1126. ColorPickerSelection.Text = ""
  1127.  
  1128. ValuePickerMain.Name = "ValuePickerMain"
  1129. ValuePickerMain.Parent = ColorPicker
  1130. ValuePickerMain.AnchorPoint = Vector2.new(0.5, 0.5)
  1131. ValuePickerMain.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1132. ValuePickerMain.BorderSizePixel = 0
  1133. ValuePickerMain.LayoutOrder = 132
  1134. ValuePickerMain.Position = UDim2.new(0.957216084, 0, 0.5, 0)
  1135. ValuePickerMain.Size = UDim2.new(0, 15, 0, 75)
  1136.  
  1137. ValueSelection.Parent = ValuePickerMain
  1138. ValueSelection.BackgroundTransparency = 1
  1139. ValueSelection.AnchorPoint = Vector2.new(0.5, 0.5)
  1140. ValueSelection.Position = UDim2.new(0.5, 0, 0.5, 0)
  1141. ValueSelection.Size = UDim2.new(0, 15, 0, 80)
  1142. ValueSelection.Text = ""
  1143.  
  1144. UICorner_2.CornerRadius = UDim.new(0, 4)
  1145. UICorner_2.Parent = ValuePickerMain
  1146.  
  1147. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 0))}
  1148. UIGradient.Rotation = 90
  1149. UIGradient.Parent = ValuePickerMain
  1150.  
  1151. UIStroke_2.Parent = ValuePickerMain
  1152. UIStroke_2.Color = Color3.fromRGB(200, 200, 200)
  1153.  
  1154. CursorHS.Parent = ColorPickerMain
  1155. CursorHS.AnchorPoint = Vector2.new(0.5, 0.5)
  1156. CursorHS.Position = UDim2.new(0.5, 0, 0.5, 0)
  1157. CursorHS.Size = UDim2.new(0, 12, 0, 12)
  1158. CursorHS.BackgroundTransparency = 1
  1159. CursorHS.Image = "rbxassetid://7072707153"
  1160. CursorHS.ImageColor3 = Color3.fromRGB(0, 0, 0)
  1161.  
  1162. CursorV.Parent = ValuePickerMain
  1163. CursorV.AnchorPoint = Vector2.new(0.5, 0.5)
  1164. CursorV.Position = UDim2.new(0.5, 0, 0.5, 0)
  1165. CursorV.Size = UDim2.new(0, 12, 0, 12)
  1166. CursorV.BackgroundTransparency = 1
  1167. CursorV.Image = "rbxassetid://7072707153"
  1168. CursorV.ImageColor3 = Color3.fromRGB(0, 0, 0)
  1169.  
  1170. UICorner.CornerRadius = UDim.new(0, 4)
  1171. UICorner.Parent = ColorPickerMain
  1172.  
  1173. UIStroke.Parent = ColorPickerMain
  1174. UIStroke.Color = Color3.fromRGB(200, 200, 200)
  1175.  
  1176. ColorValues.Name = "ColorValues"
  1177. ColorValues.Parent = ColorPicker
  1178. ColorValues.AnchorPoint = Vector2.new(0.5, 0.5)
  1179. ColorValues.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1180. ColorValues.BackgroundTransparency = 1.000
  1181. ColorValues.Position = UDim2.new(-0.527472556, 0, 0.634970188, 0)
  1182. ColorValues.Size = UDim2.new(0, 115, 0, 56)
  1183.  
  1184. UIListLayout.Parent = ColorValues
  1185. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  1186.  
  1187. HSVLabel.Name = "HSVLabel"
  1188. HSVLabel.Parent = ColorValues
  1189. HSVLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  1190. HSVLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1191. HSVLabel.BackgroundTransparency = 1.000
  1192. HSVLabel.Position = UDim2.new(-0.515512824, 0, 0.857142866, 0)
  1193. HSVLabel.Size = UDim2.new(0, 110, 0, 18)
  1194. HSVLabel.Font = Enum.Font.SourceSansLight
  1195. HSVLabel.Text = "HSV: 360, 255, 255"
  1196. HSVLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  1197. HSVLabel.TextScaled = true
  1198. HSVLabel.TextSize = 18.000
  1199. HSVLabel.TextWrapped = true
  1200. HSVLabel.TextXAlignment = Enum.TextXAlignment.Left
  1201.  
  1202. RGBLabel.Name = "RGBLabel"
  1203. RGBLabel.Parent = ColorValues
  1204. RGBLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  1205. RGBLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1206. RGBLabel.BackgroundTransparency = 1.000
  1207. RGBLabel.Position = UDim2.new(-0.515512824, 0, 0.547619045, 0)
  1208. RGBLabel.Size = UDim2.new(0, 110, 0, 18)
  1209. RGBLabel.Font = Enum.Font.SourceSansLight
  1210. RGBLabel.Text = "RGB: 255, 255, 255"
  1211. RGBLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  1212. RGBLabel.TextScaled = true
  1213. RGBLabel.TextSize = 18.000
  1214. RGBLabel.TextWrapped = true
  1215. RGBLabel.TextXAlignment = Enum.TextXAlignment.Left
  1216.  
  1217. HEXLabel.Name = "HEXLabel"
  1218. HEXLabel.Parent = ColorValues
  1219. HEXLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  1220. HEXLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1221. HEXLabel.BackgroundTransparency = 1.000
  1222. HEXLabel.Position = UDim2.new(-0.515512824, 0, 0.547619045, 0)
  1223. HEXLabel.Size = UDim2.new(0, 110, 0, 18)
  1224. HEXLabel.Font = Enum.Font.SourceSansLight
  1225. HEXLabel.Text = "HEX: #FFFFFF"
  1226. HEXLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  1227. HEXLabel.TextScaled = true
  1228. HEXLabel.TextSize = 18.000
  1229. HEXLabel.TextWrapped = true
  1230. HEXLabel.TextXAlignment = Enum.TextXAlignment.Left
  1231.  
  1232. ColorPickerSelection.MouseButton1Down:Connect(function()
  1233. holdingHS = true
  1234. end)
  1235. ColorPickerSelection.MouseButton1Up:Connect(function()
  1236. holdingHS = false
  1237. end)
  1238.  
  1239. ValueSelection.MouseButton1Down:Connect(function()
  1240. holdingV = true
  1241. end)
  1242. ValueSelection.MouseButton1Up:Connect(function()
  1243. holdingV = false
  1244. end)
  1245.  
  1246. runService.RenderStepped:Connect(function()
  1247. local mouseLocation = userInputService:GetMouseLocation()
  1248. local x, y = (mouseLocation.X - ColorPickerMain.AbsolutePosition.X)/ColorPickerMain.AbsoluteSize.X, (mouseLocation.Y - ColorPickerMain.AbsolutePosition.Y)/ColorPickerMain.AbsoluteSize.Y
  1249.  
  1250. if holdingHS and holdingV == false then
  1251. x = math.clamp(x, 0, 1)
  1252. y = math.clamp((y-.4), 0, 1)
  1253.  
  1254. CursorHS.Position = UDim2.new(x, 0, y, 0)
  1255.  
  1256. local h, s, v = Color3.toHSV(color)
  1257. local newColor = Color3.fromHSV(x, 1 - y, v)
  1258.  
  1259. color = newColor
  1260.  
  1261. callback(color)
  1262. end
  1263. if holdingV and holdingHS == false then
  1264. y = math.clamp((y-.4), 0, 1)
  1265.  
  1266. CursorV.Position = UDim2.new(0.5, 0, y, 0)
  1267.  
  1268. local h, s, v = Color3.toHSV(color)
  1269.  
  1270. local newColor = Color3.fromHSV(h, s, 1 - y)
  1271.  
  1272. color = newColor
  1273.  
  1274. callback(color)
  1275. end
  1276.  
  1277. local h, s, v = Color3.toHSV(color)
  1278. local r, g, b = color.R, color.G, color.B
  1279. local hex = string.format("#%02X%02X%02X", r*255, g*255, b*255)
  1280.  
  1281. h, s, v = math.floor(h * 10) / 10, math.floor(s * 10) / 10, math.floor(v * 10) / 10
  1282. r, g, b = math.floor(r * 10), math.floor(g * 10), math.floor(b * 10)
  1283.  
  1284. RGBLabel.Text = "RGB: "..(r*25)..", "..(g*25)..", "..(b*25)
  1285. HSVLabel.Text = "HSV: "..(h*360)..", "..(s*255)..", "..(v*255)
  1286. HEXLabel.Text = "HEX: "..(hex)
  1287. end)
  1288. end
  1289. function l4:AddDropdown(text, description, items, callback)
  1290. text = (type(text) ~= "string") and "Dropdown" or text
  1291. description = (type(description) ~= "string") and "Description" or description
  1292. items = (type(items) ~= "table") and {} or items
  1293. callback = (type(callback) ~= "function") and function()
  1294. print("Selected item")
  1295. end or callback
  1296.  
  1297. local visible = true
  1298.  
  1299.  
  1300. local Dropdown = Instance.new("Frame")
  1301. local UICorner = Instance.new("UICorner")
  1302. local TextLabel = Instance.new("TextLabel")
  1303. local navigate_next = Instance.new("ImageButton")
  1304. local ScrollingFrame = Instance.new("ScrollingFrame")
  1305. local UIListLayout = Instance.new("UIListLayout")
  1306. local UIStroke = Instance.new("UIStroke")
  1307. local Container = CreateContainer(Section, text, description)
  1308. local ContainerLabel = Container.Label
  1309. local ContainerIcon = Container.Info
  1310.  
  1311. ContainerLabel.Position = UDim2.new(0.305, 0, 0.205, 0)
  1312. ContainerIcon.Position = UDim2.new(0.06, 0, 0.205, 0)
  1313.  
  1314. Dropdown.Name = "Dropdown"
  1315. Dropdown.Parent = Container
  1316. Dropdown.AnchorPoint = Vector2.new(0.5, 0)
  1317. Dropdown.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  1318. Dropdown.BorderSizePixel = 0
  1319. Dropdown.Position = UDim2.new(0.748, 0, 0.123, 0)
  1320. Dropdown.Size = UDim2.new(0, 140, 0, 10)
  1321. Dropdown.AutomaticSize = Enum.AutomaticSize.Y
  1322. UICorner.Parent = Dropdown
  1323.  
  1324. UIStroke.Color = Color3.fromRGB(200, 200, 200)
  1325. UIStroke.Parent = Dropdown
  1326.  
  1327. TextLabel.Parent = Dropdown
  1328. TextLabel.AnchorPoint = Vector2.new(0.5, 0)
  1329. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1330. TextLabel.BackgroundTransparency = 1.000
  1331. TextLabel.Position = UDim2.new(0.63, 0, 0.05, 0)
  1332. TextLabel.Size = UDim2.new(0, 100, 0, 15)
  1333. TextLabel.Font = Enum.Font.SourceSansLight
  1334. TextLabel.Text = "Selected: nil"
  1335. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  1336. TextLabel.TextScaled = true
  1337. TextLabel.TextSize = 15.000
  1338. TextLabel.TextWrapped = true
  1339. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  1340.  
  1341. navigate_next.Name = "navigate_next"
  1342. navigate_next.Parent = Dropdown
  1343. navigate_next.AnchorPoint = Vector2.new(0.5, 0)
  1344. navigate_next.BackgroundTransparency = 1.000
  1345. navigate_next.LayoutOrder = 13
  1346. navigate_next.Position = UDim2.new(0.07, 0, 0.05, 0)
  1347. navigate_next.Size = UDim2.new(0, 17, 0, 17)
  1348. navigate_next.ZIndex = 2
  1349. navigate_next.Image = "rbxassetid://3926305904"
  1350. navigate_next.ImageRectOffset = Vector2.new(444, 844)
  1351. navigate_next.ImageRectSize = Vector2.new(36, 36)
  1352.  
  1353. ScrollingFrame.Parent = Dropdown
  1354. ScrollingFrame.Active = true
  1355. ScrollingFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  1356. ScrollingFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  1357. ScrollingFrame.BackgroundTransparency = 1.000
  1358. ScrollingFrame.BorderSizePixel = 0
  1359. ScrollingFrame.Position = UDim2.new(0.5, 0, 0.75, 0)
  1360. ScrollingFrame.Size = UDim2.new(0, 140, 0, 75)
  1361. ScrollingFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
  1362.  
  1363. UIListLayout.Parent = ScrollingFrame
  1364. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  1365. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  1366.  
  1367. for _, item in pairs(items) do
  1368. item = (typeof(item) == "Instance") and item.Name or item
  1369.  
  1370. local Item = Instance.new("TextButton")
  1371. local UICorner_2 = Instance.new("UICorner")
  1372. local ButtonLabel = Instance.new("TextLabel")
  1373.  
  1374. Item.Name = "Item"
  1375. Item.Parent = ScrollingFrame
  1376. Item.AnchorPoint = Vector2.new(0.5, 0.5)
  1377. Item.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  1378. Item.Position = UDim2.new(0.5, 0, 0.150000006, 0)
  1379. Item.Size = UDim2.new(0, 140, 0, 30)
  1380. Item.AutoButtonColor = false
  1381. Item.Font = Enum.Font.SourceSansLight
  1382. Item.Text = ""
  1383. Item.TextColor3 = Color3.fromRGB(255, 255, 255)
  1384. Item.TextScaled = true
  1385. Item.TextSize = 14.000
  1386. Item.TextWrapped = true
  1387.  
  1388. UICorner_2.Parent = Item
  1389.  
  1390. ButtonLabel.Name = "ButtonLabel"
  1391. ButtonLabel.Parent = Item
  1392. ButtonLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  1393. ButtonLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1394. ButtonLabel.BackgroundTransparency = 1.000
  1395. ButtonLabel.Position = UDim2.new(0.5, 0, 0.5, 0)
  1396. ButtonLabel.Size = UDim2.new(0, 140, 0, 15)
  1397. ButtonLabel.Font = Enum.Font.SourceSansLight
  1398. ButtonLabel.Text = item
  1399. ButtonLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  1400. ButtonLabel.TextScaled = true
  1401. ButtonLabel.TextSize = 14.000
  1402. ButtonLabel.TextWrapped = true
  1403.  
  1404. Item.MouseButton1Click:Connect(function()
  1405. ButtonClickEffect(Item)
  1406.  
  1407. DropdownEffect(ScrollingFrame, navigate_next, "TextButton", false, -90, 0)
  1408.  
  1409. ScrollingFrame.Parent = UIStroke
  1410. --Dropdown.Size = UDim2.new(0, 140, 0, 10)
  1411.  
  1412. TextLabel.Text = "Selected: "..(item)
  1413.  
  1414. callback(item)
  1415. end)
  1416. end
  1417. navigate_next.MouseButton1Click:Connect(function()
  1418. visible = not visible
  1419.  
  1420. DropdownEffect(ScrollingFrame, navigate_next, "TextButton", visible, -90, 0)
  1421.  
  1422. ScrollingFrame.Parent = (visible == true) and Dropdown or UIStroke
  1423. --Dropdown.Size = (visible == true) and UDim2.new(0, 140, 0, 100) or UDim2.new(0, 140, 0, 10)
  1424. end)
  1425. end
  1426. return l4
  1427. end
  1428. function l3:SetIcon(imageId)
  1429. tab.Image = imageId
  1430. tab.ImageRectOffset = Vector2.new(0, 0)
  1431. tab.ImageRectSize = Vector2.new(0, 0)
  1432. end
  1433.  
  1434. return l3
  1435. end
  1436.  
  1437.  
  1438. -- Settings
  1439. if settingsEnabled then
  1440. local settingsTab = l2:AddTab("Settings")
  1441. local settingsSection = settingsTab:AddSection("Settings")
  1442.  
  1443. settingsTab:SetIcon("rbxassetid://7072721682")
  1444.  
  1445. settingsSection:AddInput("Scale", "Changes library scale.", function(v)
  1446. if tonumber(v) then
  1447. v = math.clamp(v, 0.5, 2)
  1448. UIScale.Scale = v
  1449. end
  1450. end)
  1451. settingsSection:AddSlider("Background Texture Speed", "Changes the background texture speed 0 - 1.", 0, 1, function(v)
  1452. textureSpeed = v
  1453. end)
  1454. settingsSection:AddToggle("Draggable", "", function(v)
  1455. Menu.Draggable = v
  1456. end)
  1457. end
  1458.  
  1459.  
  1460. -- Call Local Functions
  1461. setDraggable()
  1462. backgroundAnimation()
  1463.  
  1464. -- Exit, Maximize and Minimize
  1465. Exit.MouseButton1Click:Connect(function()
  1466. onExit()
  1467. end)
  1468. Maximize.MouseButton1Click:Connect(function()
  1469. onMaximize()
  1470. end)
  1471. Minimize.MouseButton1Click:Connect(function()
  1472. onMinimize()
  1473. end)
  1474.  
  1475. -- Exit, Maximize and Minimize Mouse Highlight
  1476. for _, button in pairs(Menu:GetChildren()) do
  1477. if button:IsA("ImageButton") then
  1478. button.MouseEnter:Connect(function()
  1479. onEnterHighlight(button)
  1480. end)
  1481. button.MouseLeave:Connect(function()
  1482. onLeaveHighlight(button)
  1483. end)
  1484. end
  1485. end
  1486.  
  1487. return l2
  1488. end
  1489.  
  1490. return library
  1491.  
  1492. --[[
  1493. library:AddWindow(string: name, boolean: settingsEnabled):Prompt(table: args)
  1494. :AddTab(string: name, string: imageId):AddSection(string: name):AddButton(string: name, string: description, function: callback)
  1495. :SetIcon(string: imageId) AddInput(string: name, string: description, function: callback)
  1496. AddToggle(string: name, string: description, function: callback)
  1497. AddSlider(string: name, string: description, number: min, number: max, function: callback)
  1498. AddColorPicker(string: name, string: description, function: callback)
  1499. AddDropdown(string: name, string: description, table: items, function: callback)
  1500. ]]
Add Comment
Please, Sign In to add comment