Messi33536086

Untitled

Nov 12th, 2025
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 162.30 KB | None | 0 0
  1. Library = {}
  2. SaveTheme = {}
  3.  
  4. local themes = {
  5. index = {'Dark', 'Amethyst'},
  6. Amethyst = {
  7. ['Shadow'] = Color3.fromRGB(24, 24, 31),
  8. ['Background'] = Color3.fromRGB(29, 28, 38),
  9. ['Page'] = Color3.fromRGB(24, 24, 31),
  10. ['Main'] = Color3.fromRGB(91, 68, 209),
  11. ['Text & Icon'] = Color3.fromRGB(255, 255, 255),
  12. ['Function'] = {
  13. ['Toggle'] = {
  14. ['Background'] = Color3.fromRGB(29, 28, 38),
  15. ['True'] = {
  16. ['Toggle Background'] = Color3.fromRGB(44, 34, 103),
  17. ['Toggle Value'] = Color3.fromRGB(91, 68, 209),
  18. },
  19. ['False'] = {
  20. ['Toggle Background'] = Color3.fromRGB(36, 35, 48),
  21. ['Toggle Value'] = Color3.fromRGB(44, 42, 62),
  22. }
  23. },
  24. ['Label'] = {
  25. ['Background'] = Color3.fromRGB(29, 28, 38),
  26. },
  27. ['Dropdown'] = {
  28. ['Background'] = Color3.fromRGB(29, 28, 38),
  29. ['Value Background'] = Color3.fromRGB(24, 24, 31),
  30. ['Value Stroke'] = Color3.fromRGB(255, 255, 255),
  31. ['Dropdown Select'] = {
  32. ['Background'] = Color3.fromRGB(24, 24, 31),
  33. ['Search'] = Color3.fromRGB(35, 35, 42),
  34. ['Item Background'] = Color3.fromRGB(45, 45, 52),
  35. }
  36. },
  37. ['Slider'] = {
  38. ['Background'] = Color3.fromRGB(29, 28, 38),
  39. ['Value Background'] = Color3.fromRGB(24, 24, 31),
  40. ['Value Stroke'] = Color3.fromRGB(255, 255, 255),
  41. ['Slider Bar'] = Color3.fromRGB(44, 34, 103),
  42. ['Slider Bar Value'] = Color3.fromRGB(91, 68, 209),
  43. ['Circle Value'] = Color3.fromRGB(255, 255, 255)
  44. },
  45. ['Code'] = {
  46. ['Background'] = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(29, 28, 38)), ColorSequenceKeypoint.new(1, Color3.fromRGB(29, 28, 38))},
  47. ['Background Code'] = Color3.fromRGB(51, 62, 68),
  48. ['Background Code Value'] = Color3.fromRGB(38, 50, 56),
  49. ['ScrollingFrame Code'] = Color3.fromRGB(216, 150, 179)
  50. },
  51. ['Button'] = {
  52. ['Background'] = Color3.fromRGB(29, 28, 38),
  53. ['Click'] = Color3.fromRGB(255, 255, 255)
  54. },
  55. ['Textbox'] = {
  56. ['Background'] = Color3.fromRGB(29, 28, 38),
  57. ['Value Background'] = Color3.fromRGB(24, 24, 31),
  58. ['Value Stroke'] = Color3.fromRGB(255, 255, 255),
  59. },
  60. ['Keybind'] = {
  61. ['Background'] = Color3.fromRGB(29, 28, 38),
  62. ['Value Background'] = Color3.fromRGB(24, 24, 31),
  63. ['Value Stroke'] = Color3.fromRGB(255, 255, 255),
  64. ['True'] = {
  65. ['Toggle Background'] = Color3.fromRGB(44, 34, 103),
  66. ['Toggle Value'] = Color3.fromRGB(91, 68, 209),
  67. },
  68. ['False'] = {
  69. ['Toggle Background'] = Color3.fromRGB(36, 35, 48),
  70. ['Toggle Value'] = Color3.fromRGB(44, 42, 62),
  71. }
  72. },
  73. ['Color Picker'] = {
  74. ['Background'] = Color3.fromRGB(29, 28, 38),
  75. ['Color Select'] = {
  76. ['Background'] = Color3.fromRGB(24, 24, 31),
  77. ['UIStroke'] = Color3.fromRGB(255, 255, 255),
  78. }
  79. }
  80. }
  81. },
  82. Dark = {
  83. ['Shadow'] = Color3.fromRGB(15, 15, 15),
  84. ['Background'] = Color3.fromRGB(20, 20, 20),
  85. ['Page'] = Color3.fromRGB(18, 18, 18),
  86. ['Main'] = Color3.fromRGB(50, 50, 50),
  87. ['Text & Icon'] = Color3.fromRGB(230, 230, 230),
  88. ['Function'] = {
  89. ['Toggle'] = {
  90. ['Background'] = Color3.fromRGB(25, 25, 25),
  91. ['True'] = {
  92. ['Toggle Background'] = Color3.fromRGB(40, 40, 40),
  93. ['Toggle Value'] = Color3.fromRGB(70, 130, 180),
  94. },
  95. ['False'] = {
  96. ['Toggle Background'] = Color3.fromRGB(30, 30, 30),
  97. ['Toggle Value'] = Color3.fromRGB(40, 40, 40),
  98. }
  99. },
  100. ['Label'] = {
  101. ['Background'] = Color3.fromRGB(25, 25, 25),
  102. },
  103. ['Dropdown'] = {
  104. ['Background'] = Color3.fromRGB(25, 25, 25),
  105. ['Value Background'] = Color3.fromRGB(20, 20, 20),
  106. ['Value Stroke'] = Color3.fromRGB(230, 230, 230),
  107. ['Dropdown Select'] = {
  108. ['Background'] = Color3.fromRGB(20, 20, 20),
  109. ['Search'] = Color3.fromRGB(30, 30, 30),
  110. ['Item Background'] = Color3.fromRGB(30, 30, 30),
  111. }
  112. },
  113. ['Slider'] = {
  114. ['Background'] = Color3.fromRGB(25, 25, 25),
  115. ['Value Background'] = Color3.fromRGB(20, 20, 20),
  116. ['Value Stroke'] = Color3.fromRGB(230, 230, 230),
  117. ['Slider Bar'] = Color3.fromRGB(40, 40, 40),
  118. ['Slider Bar Value'] = Color3.fromRGB(70, 130, 180),
  119. ['Circle Value'] = Color3.fromRGB(255, 255, 255)
  120. },
  121. ['Code'] = {
  122. ['Background'] = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(25, 25, 25)), ColorSequenceKeypoint.new(1, Color3.fromRGB(25, 25, 25))},
  123. ['Background Code'] = Color3.fromRGB(35, 35, 35),
  124. ['Background Code Value'] = Color3.fromRGB(28, 28, 28),
  125. ['ScrollingFrame Code'] = Color3.fromRGB(150, 150, 150)
  126. },
  127. ['Button'] = {
  128. ['Background'] = Color3.fromRGB(25, 25, 25),
  129. ['Click'] = Color3.fromRGB(230, 230, 230)
  130. },
  131. ['Textbox'] = {
  132. ['Background'] = Color3.fromRGB(25, 25, 25),
  133. ['Value Background'] = Color3.fromRGB(20, 20, 20),
  134. ['Value Stroke'] = Color3.fromRGB(230, 230, 230),
  135. },
  136. ['Keybind'] = {
  137. ['Background'] = Color3.fromRGB(25, 25, 25),
  138. ['Value Background'] = Color3.fromRGB(20, 20, 20),
  139. ['Value Stroke'] = Color3.fromRGB(230, 230, 230),
  140. ['True'] = {
  141. ['Toggle Background'] = Color3.fromRGB(40, 40, 40),
  142. ['Toggle Value'] = Color3.fromRGB(70, 130, 180),
  143. },
  144. ['False'] = {
  145. ['Toggle Background'] = Color3.fromRGB(30, 30, 30),
  146. ['Toggle Value'] = Color3.fromRGB(40, 40, 40),
  147. }
  148. },
  149. ['Color Picker'] = {
  150. ['Background'] = Color3.fromRGB(25, 25, 25),
  151. ['Color Select'] = {
  152. ['Background'] = Color3.fromRGB(20, 20, 20),
  153. ['UIStroke'] = Color3.fromRGB(230, 230, 230),
  154. }
  155. }
  156. }
  157. },
  158. }
  159.  
  160. local ScreenGui = Instance.new("ScreenGui")
  161. ScreenGui.Name = "Dummy Kawaii"
  162. ScreenGui.Parent = not game:GetService("RunService"):IsStudio() and game:GetService("CoreGui") or game:GetService("Players").LocalPlayer.PlayerGui
  163. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  164.  
  165. local U, Tw = game:GetService("UserInputService"), game:GetService("TweenService")
  166.  
  167. do
  168. function addToTheme(name, obj)
  169. if not SaveTheme[name] then
  170. SaveTheme[name] = {}
  171. end
  172. table.insert(SaveTheme[name], obj)
  173. end
  174. function getColorFromPath(tbl, path)
  175. local result = tbl
  176. for _, part in ipairs(string.split(path, ".")) do
  177. result = result and result[part]
  178. end
  179. return result
  180. end
  181. function Library:setTheme(st)
  182. for name, objs in pairs(SaveTheme) do
  183. local color = getColorFromPath(st, name)
  184. if color then
  185. for _, obj in pairs(objs) do
  186. if SaveTheme[name] then
  187. for _, obj in pairs(SaveTheme[name]) do
  188. if obj:IsA("Frame") or obj:IsA("CanvasGroup") then
  189. obj.BackgroundColor3 = color
  190. elseif obj:IsA("TextLabel") or obj:IsA("TextButton") or obj:IsA("TextBox") then
  191. obj.TextColor3 = color
  192. elseif obj:IsA("ImageLabel") or obj:IsA("ImageButton") then
  193. obj.ImageColor3 = color
  194. elseif obj:IsA("ScrollingFrame") then
  195. obj.ScrollBarImageColor3 = color
  196. elseif obj:IsA("UIStroke") then
  197. obj.Color = color
  198. elseif obj:IsA("UIGradient") then
  199. obj.Color = color
  200. end
  201. end
  202. end
  203. end
  204. end
  205. end
  206. end
  207.  
  208. local IconList = loadstring(game:HttpGet('https://raw.githubusercontent.com/Dummyrme/Library/refs/heads/main/Icon.lua'))()
  209. function gl(i)
  210. local iconData = IconList.Icons[i]
  211. if iconData then
  212. local spriteSheet = IconList.Spritesheets[tostring(iconData.Image)]
  213. if spriteSheet then
  214. return {
  215. Image = spriteSheet,
  216. ImageRectSize = iconData.ImageRectSize,
  217. ImageRectPosition = iconData.ImageRectPosition,
  218. }
  219. end
  220. end
  221. if type(i) == 'string' and not i:find('rbxassetid://') then
  222. return {
  223. Image = "rbxassetid://".. i,
  224. ImageRectSize = Vector2.new(0, 0),
  225. ImageRectPosition = Vector2.new(0, 0),
  226. }
  227. elseif type(i) == 'number' then
  228. return {
  229. Image = "rbxassetid://".. i,
  230. ImageRectSize = Vector2.new(0, 0),
  231. ImageRectPosition = Vector2.new(0, 0),
  232. }
  233. else
  234. return i
  235. end
  236. end
  237. function tw(info)
  238. return Tw:Create(info.v,TweenInfo.new(info.t, info.s, Enum.EasingDirection[info.d]),info.g)
  239. end
  240. function changecanvas(ScrollingFrame, UIListLayout, Plus)
  241. UIListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
  242. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, UIListLayout.AbsoluteContentSize.Y + Plus or 5)
  243. end)
  244. end
  245. function gs(side, pl, pr)
  246. if not side then
  247. return pl
  248. end
  249.  
  250. local sideLower = string.lower(tostring(side))
  251. if sideLower == "r" or sideLower == "right" or side == 2 then
  252. return pr
  253. elseif sideLower == "l" or sideLower == "left" or side == 1 then
  254. return pl
  255. else
  256. return pl
  257. end
  258. end
  259. function jc(c, p)
  260. local Mouse = game.Players.LocalPlayer:GetMouse()
  261.  
  262. local relativeX = Mouse.X - c.AbsolutePosition.X
  263. local relativeY = Mouse.Y - c.AbsolutePosition.Y
  264.  
  265. if relativeX < 0 or relativeY < 0 or relativeX > c.AbsoluteSize.X or relativeY > c.AbsoluteSize.Y then
  266. return
  267. end
  268.  
  269. local ClickButtonCircle = Instance.new("Frame")
  270. ClickButtonCircle.Parent = p
  271. ClickButtonCircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  272. ClickButtonCircle.BackgroundTransparency = 0.7
  273. ClickButtonCircle.BorderSizePixel = 0
  274. ClickButtonCircle.AnchorPoint = Vector2.new(0.5, 0.5)
  275. ClickButtonCircle.Position = UDim2.new(0, relativeX, 0, relativeY)
  276. ClickButtonCircle.Size = UDim2.new(0, 0, 0, 0)
  277. ClickButtonCircle.ZIndex = 10
  278.  
  279. local UICorner = Instance.new("UICorner")
  280. UICorner.CornerRadius = UDim.new(1, 0)
  281. UICorner.Parent = ClickButtonCircle
  282.  
  283. local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  284.  
  285. local goal = {
  286. Size = UDim2.new(0, c.AbsoluteSize.X * 1.5, 0, c.AbsoluteSize.X * 1.5),
  287. BackgroundTransparency = 1
  288. }
  289.  
  290. local expandTween = game:GetService("TweenService"):Create(ClickButtonCircle, tweenInfo, goal)
  291.  
  292. expandTween.Completed:Connect(function()
  293. ClickButtonCircle:Destroy()
  294. end)
  295.  
  296. expandTween:Play()
  297. end
  298. function jcf(p, p2)
  299. local ClickButtonCircle = Instance.new("Frame")
  300. ClickButtonCircle.Parent = p
  301. ClickButtonCircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  302. ClickButtonCircle.BackgroundTransparency = 0.7
  303. ClickButtonCircle.BorderSizePixel = 0
  304. ClickButtonCircle.AnchorPoint = Vector2.new(0.5, 0.5)
  305. ClickButtonCircle.Position = UDim2.new(0, p2.AbsolutePosition.X - p.AbsolutePosition.X + p2.AbsoluteSize.X / 2,
  306. 0, p2.AbsolutePosition.Y - p.AbsolutePosition.Y + p2.AbsoluteSize.Y / 2)
  307. ClickButtonCircle.Size = UDim2.new(0, 0, 0, 0)
  308. ClickButtonCircle.ZIndex = 10
  309.  
  310. local UICorner = Instance.new("UICorner")
  311. UICorner.CornerRadius = UDim.new(1, 0)
  312. UICorner.Parent = ClickButtonCircle
  313.  
  314. local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  315.  
  316. local goal = {
  317. Size = UDim2.new(0, p2.AbsoluteSize.X * 5, 0, p2.AbsoluteSize.X * 5),
  318. BackgroundTransparency = 1
  319. }
  320.  
  321. local expandTween = game:GetService("TweenService"):Create(ClickButtonCircle, tweenInfo, goal)
  322.  
  323. expandTween.Completed:Connect(function()
  324. ClickButtonCircle:Destroy()
  325. end)
  326.  
  327. expandTween:Play()
  328. end
  329. function lak(t, o)
  330. local a, b, c, d
  331. local function u(i)
  332. local dt = i.Position - c
  333. tw({v = o, t = 0.05, s = Enum.EasingStyle.Linear, d = "InOut", g = {Position = UDim2.new(d.X.Scale, d.X.Offset + dt.X, d.Y.Scale, d.Y.Offset + dt.Y)}}):Play()
  334. end
  335. t.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then a = true c = i.Position d = o.Position; i.Changed:Connect(function() if i.UserInputState == Enum.UserInputState.End then a = false end end) end end)
  336. t.InputChanged:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch then b = i end end)
  337. U.InputChanged:Connect(function(i) if i == b and a then u(i) end end)
  338. end
  339. function click(p)
  340. local Click = Instance.new("TextButton")
  341.  
  342. Click.Name = "Click"
  343. Click.Parent = p
  344. Click.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  345. Click.BackgroundTransparency = 1.000
  346. Click.BorderColor3 = Color3.fromRGB(0, 0, 0)
  347. Click.BorderSizePixel = 0
  348. Click.Size = UDim2.new(1, 0, 1, 0)
  349. Click.Font = Enum.Font.SourceSans
  350. Click.Text = ""
  351. Click.TextColor3 = Color3.fromRGB(0, 0, 0)
  352. Click.TextSize = 14.000
  353.  
  354. return Click
  355. end
  356. function background(pl, t, d, i, ty)
  357. local RealBackground = Instance.new("Frame")
  358. local Background = Instance.new("Frame")
  359. local UICorner_1 = Instance.new("UICorner")
  360. local T_1 = Instance.new("Frame")
  361. local UIListLayout_2 = Instance.new("UIListLayout")
  362. local UIPadding_3 = Instance.new("UIPadding")
  363. local TextLabel_1 = Instance.new("TextLabel")
  364. local TextLabel_2 = Instance.new("TextLabel")
  365.  
  366. RealBackground.Name = "Real Background"
  367. RealBackground.Parent = pl
  368. RealBackground.BackgroundTransparency = 1
  369. RealBackground.BorderColor3 = Color3.fromRGB(0,0,0)
  370. RealBackground.BorderSizePixel = 0
  371. RealBackground.Size = UDim2.new(1, 0,0, 35)
  372. RealBackground.ClipsDescendants = true
  373.  
  374. Background.Name = "Background"
  375. Background.Parent = RealBackground
  376. Background.BackgroundColor3 = Color3.fromRGB(29,28,38)
  377. Background.BorderColor3 = Color3.fromRGB(0,0,0)
  378. Background.BorderSizePixel = 0
  379. Background.Size = UDim2.new(1, 0,1, 0)
  380. Background.ClipsDescendants = true
  381.  
  382. addToTheme('Function.'..ty..'.Background', Background)
  383.  
  384. UICorner_1.Parent = Background
  385.  
  386. T_1.Name = "T"
  387. T_1.Parent = Background
  388. T_1.AnchorPoint = Vector2.new(0, 0.5)
  389. T_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  390. T_1.BackgroundTransparency = 1
  391. T_1.BorderColor3 = Color3.fromRGB(0,0,0)
  392. T_1.BorderSizePixel = 0
  393. T_1.Position = UDim2.new(0, 0,0.5, 0)
  394. T_1.Size = UDim2.new(1, 0,1, 0)
  395.  
  396. UIListLayout_2.Parent = T_1
  397. UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  398. UIListLayout_2.VerticalAlignment = Enum.VerticalAlignment.Center
  399.  
  400. UIPadding_3.Parent = T_1
  401. UIPadding_3.PaddingLeft = UDim.new(0,13)
  402. UIPadding_3.PaddingRight = UDim.new(0,70)
  403.  
  404. TextLabel_1.Parent = T_1
  405. TextLabel_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  406. TextLabel_1.BackgroundTransparency = 1
  407. TextLabel_1.BorderColor3 = Color3.fromRGB(0,0,0)
  408. TextLabel_1.BorderSizePixel = 0
  409. TextLabel_1.LayoutOrder = 1
  410. TextLabel_1.Size = UDim2.new(1, 0,0, 14)
  411. TextLabel_1.Font = Enum.Font.GothamBold
  412. TextLabel_1.RichText = true
  413. TextLabel_1.Text = tostring(d)
  414. TextLabel_1.TextColor3 = Color3.fromRGB(255,255,255)
  415. TextLabel_1.TextSize = 10
  416. TextLabel_1.TextTransparency = 0.699999988079071
  417. TextLabel_1.TextWrapped = true
  418. TextLabel_1.TextXAlignment = Enum.TextXAlignment.Left
  419. TextLabel_1.Visible = false
  420. TextLabel_1.AutomaticSize = Enum.AutomaticSize.Y
  421. TextLabel_1.Name = 'Desc'
  422.  
  423. addToTheme('Text & Icon', TextLabel_1)
  424.  
  425. TextLabel_2.Parent = T_1
  426. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
  427. TextLabel_2.BackgroundTransparency = 1
  428. TextLabel_2.BorderColor3 = Color3.fromRGB(0,0,0)
  429. TextLabel_2.BorderSizePixel = 0
  430. TextLabel_2.Size = UDim2.new(1, 0,0, 14)
  431. TextLabel_2.Font = Enum.Font.GothamBold
  432. TextLabel_2.RichText = true
  433. TextLabel_2.Text = tostring(t)
  434. TextLabel_2.TextColor3 = Color3.fromRGB(255,255,255)
  435. TextLabel_2.TextSize = 12
  436. TextLabel_2.TextWrapped = true
  437. TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
  438. TextLabel_2.AutomaticSize = Enum.AutomaticSize.Y
  439. TextLabel_2.Name = 'Title'
  440.  
  441. addToTheme('Text & Icon', TextLabel_2)
  442.  
  443. if d and d ~= "" then
  444. TextLabel_1.Visible = true
  445. end
  446.  
  447. if i and i ~= "" then
  448. UIPadding_3.PaddingLeft = UDim.new(0, 50)
  449. local Image = Instance.new("Frame")
  450. local Icon_1 = Instance.new("ImageLabel")
  451. local Frame_1 = Instance.new("Frame")
  452.  
  453. Image.Name = "Image"
  454. Image.Parent = Background
  455. Image.BackgroundColor3 = Color3.fromRGB(255,255,255)
  456. Image.BackgroundTransparency = 1
  457. Image.BorderColor3 = Color3.fromRGB(0,0,0)
  458. Image.BorderSizePixel = 0
  459. Image.Size = UDim2.new(0, 40,1, 0)
  460.  
  461. Icon_1.Name = "Icon"
  462. Icon_1.Parent = Image
  463. Icon_1.AnchorPoint = Vector2.new(0.5, 0.5)
  464. Icon_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  465. Icon_1.BackgroundTransparency = 1
  466. Icon_1.BorderColor3 = Color3.fromRGB(0,0,0)
  467. Icon_1.BorderSizePixel = 0
  468. Icon_1.Position = UDim2.new(0.5, 0,0.5, 0)
  469. Icon_1.Size = UDim2.new(0, 20,0, 20)
  470. Icon_1.Image = gl(i).Image
  471. Icon_1.ImageRectSize = gl(i).ImageRectSize
  472. Icon_1.ImageRectOffset = gl(i).ImageRectPosition
  473. Icon_1.ImageTransparency = 0.7
  474.  
  475. Frame_1.Parent = Image
  476. Frame_1.AnchorPoint = Vector2.new(1, 0.5)
  477. Frame_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  478. Frame_1.BackgroundTransparency = 0.8999999761581421
  479. Frame_1.BorderColor3 = Color3.fromRGB(0,0,0)
  480. Frame_1.BorderSizePixel = 0
  481. Frame_1.Position = UDim2.new(1, 0,0.5, 0)
  482. Frame_1.Size = UDim2.new(0, 1,0.699999988, 0)
  483.  
  484. addToTheme('Text & Icon', Icon_1)
  485.  
  486. addToTheme('Text & Icon', Frame_1)
  487. end
  488.  
  489. local function updateSize()
  490. task.defer(function()
  491. local newSize = UIListLayout_2.AbsoluteContentSize.Y + 21
  492. if RealBackground.Size.Y.Offset ~= newSize then
  493. RealBackground.Size = UDim2.new(1, 0, 0, newSize)
  494. end
  495. end)
  496. end
  497.  
  498. delay(.1, updateSize)
  499.  
  500. UIListLayout_2:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(updateSize)
  501.  
  502. local f = {}
  503.  
  504. function f:SetTextTransparencyTitle(vs)
  505. tw({v = TextLabel_2, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {TextTransparency = vs}}):Play()
  506. if i and i ~= "" then
  507. tw({v = Background.Image.Icon, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {ImageTransparency = vs}}):Play()
  508. end
  509. end
  510.  
  511. function f:SetSizeT(vs)
  512. UIPadding_3.PaddingRight = UDim.new(0, vs)
  513. end
  514.  
  515. function f:SetTitle(vs)
  516. TextLabel_2.Text = tostring(vs)
  517. end
  518.  
  519. function f:SetDesc(vs)
  520. TextLabel_1.Text = tostring(vs)
  521. if vs and vs ~= "" then
  522. TextLabel_1.Visible = true
  523. else
  524. TextLabel_1.Visible = false
  525. end
  526. end
  527.  
  528. function f:SetVisibleDesc(vs)
  529. TextLabel_2.Visible = vs
  530. end
  531.  
  532. return Background, f
  533. end
  534. function addDropdownSelect(p, p2, Multi, Callback, Value, List)
  535. local F = Instance.new("Frame")
  536. local UIListLayout_1 = Instance.new("UIListLayout")
  537. local UIPadding_1 = Instance.new("UIPadding")
  538. local DropdownValue = Instance.new("Frame")
  539. local UICorner_1 = Instance.new("UICorner")
  540. local UIStroke_1 = Instance.new("UIStroke")
  541. local TextLabelValue_1 = Instance.new("TextLabel")
  542. local UIPadding_2 = Instance.new("UIPadding")
  543. local ImageLabel_1 = Instance.new("ImageLabel")
  544.  
  545. F.Name = "F"
  546. F.Parent = p
  547. F.AnchorPoint = Vector2.new(1, 0.5)
  548. F.BackgroundColor3 = Color3.fromRGB(255,255,255)
  549. F.BackgroundTransparency = 1
  550. F.BorderColor3 = Color3.fromRGB(0,0,0)
  551. F.BorderSizePixel = 0
  552. F.Position = UDim2.new(1, 0,0.5, 0)
  553. F.Size = UDim2.new(0, 120,0.800000012, 0)
  554.  
  555. UIListLayout_1.Parent = F
  556. UIListLayout_1.Padding = UDim.new(0,15)
  557. UIListLayout_1.FillDirection = Enum.FillDirection.Horizontal
  558. UIListLayout_1.HorizontalAlignment = Enum.HorizontalAlignment.Right
  559. UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
  560. UIListLayout_1.VerticalAlignment = Enum.VerticalAlignment.Center
  561.  
  562. UIPadding_1.Parent = F
  563. UIPadding_1.PaddingRight = UDim.new(0,13)
  564.  
  565. DropdownValue.Parent = F
  566. DropdownValue.BackgroundColor3 = Color3.fromRGB(24,24,31)
  567. DropdownValue.BorderColor3 = Color3.fromRGB(0,0,0)
  568. DropdownValue.BorderSizePixel = 0
  569. DropdownValue.Size = UDim2.new(0, 100,0, 20)
  570.  
  571. addToTheme('Function.Dropdown.Value Background', DropdownValue)
  572.  
  573. UICorner_1.Parent = DropdownValue
  574. UICorner_1.CornerRadius = UDim.new(0,4)
  575.  
  576. UIStroke_1.Parent = DropdownValue
  577. UIStroke_1.Color = Color3.fromRGB(255,255,255)
  578. UIStroke_1.Thickness = 1
  579. UIStroke_1.Transparency = 0.95
  580.  
  581. addToTheme('Function.Dropdown.Value Stroke', UIStroke_1)
  582.  
  583. TextLabelValue_1.Parent = DropdownValue
  584. TextLabelValue_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  585. TextLabelValue_1.BackgroundTransparency = 1
  586. TextLabelValue_1.BorderColor3 = Color3.fromRGB(0,0,0)
  587. TextLabelValue_1.BorderSizePixel = 0
  588. TextLabelValue_1.Size = UDim2.new(0.8, 0,1, 0)
  589. TextLabelValue_1.Font = Enum.Font.GothamBold
  590. TextLabelValue_1.RichText = true
  591. TextLabelValue_1.Text = "--"
  592. TextLabelValue_1.TextColor3 = Color3.fromRGB(255,255,255)
  593. TextLabelValue_1.TextSize = 10
  594. TextLabelValue_1.TextTransparency = 0.3
  595. TextLabelValue_1.TextXAlignment = Enum.TextXAlignment.Left
  596. TextLabelValue_1.TextTruncate = Enum.TextTruncate.AtEnd
  597.  
  598. addToTheme('Text & Icon', TextLabelValue_1)
  599.  
  600. UIPadding_2.Parent = DropdownValue
  601. UIPadding_2.PaddingLeft = UDim.new(0,5)
  602. UIPadding_2.PaddingRight = UDim.new(0,5)
  603.  
  604. ImageLabel_1.Parent = DropdownValue
  605. ImageLabel_1.AnchorPoint = Vector2.new(1, 0.5)
  606. ImageLabel_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  607. ImageLabel_1.BackgroundTransparency = 1
  608. ImageLabel_1.BorderColor3 = Color3.fromRGB(0,0,0)
  609. ImageLabel_1.BorderSizePixel = 0
  610. ImageLabel_1.Position = UDim2.new(1, 0,0.5, 0)
  611. ImageLabel_1.Size = UDim2.new(0, 20,0, 20)
  612. ImageLabel_1.Image = "rbxassetid://14937709869"
  613. ImageLabel_1.ImageTransparency = 0.3
  614.  
  615. addToTheme('Text & Icon', ImageLabel_1)
  616.  
  617. local DropdownSelect = Instance.new("Frame")
  618. local UICorner_1 = Instance.new("UICorner")
  619. local UIStrokeDropdown_1 = Instance.new("UIStroke")
  620. local UIPadding_1 = Instance.new("UIPadding")
  621. local Search_1 = Instance.new("Frame")
  622. local UICorner_2 = Instance.new("UICorner")
  623. local TextBox_1 = Instance.new("TextBox")
  624. local Frame_1 = Instance.new("Frame")
  625. local Frame_2 = Instance.new("Frame")
  626. local Frame_3 = Instance.new("Frame")
  627. local UICorner_3 = Instance.new("UICorner")
  628. local ScrollingFrame_1 = Instance.new("ScrollingFrame")
  629. local UIListLayout_1 = Instance.new("UIListLayout")
  630. local UIPadding_2 = Instance.new("UIPadding")
  631. local UIPadding_3 = Instance.new("UIPadding")
  632. local UIPadding_4 = Instance.new("UIPadding")
  633.  
  634. DropdownSelect.Parent = ScreenGui
  635. DropdownSelect.BackgroundColor3 = Color3.fromRGB(24,24,31)
  636. DropdownSelect.BorderColor3 = Color3.fromRGB(0,0,0)
  637. DropdownSelect.BorderSizePixel = 0
  638. DropdownSelect.Size = UDim2.new(0, 150,0, 0)
  639. DropdownSelect.ClipsDescendants = true
  640.  
  641. addToTheme('Function.Dropdown.Dropdown Select.Background', DropdownSelect)
  642.  
  643. DropdownSelect.Position = UDim2.new(0, DropdownValue.AbsolutePosition.X - DropdownSelect.Parent.AbsolutePosition.X + DropdownValue.Size.X.Offset - 119, 0, DropdownValue.AbsolutePosition.Y - DropdownSelect.Parent.AbsolutePosition.Y + DropdownValue.Size.Y.Offset - 25)
  644.  
  645. UICorner_1.Parent = DropdownSelect
  646. UICorner_1.CornerRadius = UDim.new(0,4)
  647.  
  648. UIStrokeDropdown_1.Parent = DropdownSelect
  649. UIStrokeDropdown_1.Color = Color3.fromRGB(255,255,255)
  650. UIStrokeDropdown_1.Thickness = 1
  651. UIStrokeDropdown_1.Transparency = 1
  652.  
  653. UIPadding_1.Parent = DropdownSelect
  654. UIPadding_1.PaddingBottom = UDim.new(0,5)
  655. UIPadding_1.PaddingLeft = UDim.new(0,5)
  656. UIPadding_1.PaddingRight = UDim.new(0,5)
  657. UIPadding_1.PaddingTop = UDim.new(0,5)
  658.  
  659. Search_1.Name = "Search"
  660. Search_1.Parent = DropdownSelect
  661. Search_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  662. Search_1.BackgroundTransparency = 0.949999988079071
  663. Search_1.BorderColor3 = Color3.fromRGB(0,0,0)
  664. Search_1.BorderSizePixel = 0
  665. Search_1.Size = UDim2.new(1, 0,0, 20)
  666.  
  667. addToTheme('Function.Dropdown.Dropdown Select.Search', Search_1)
  668.  
  669. UICorner_2.Parent = Search_1
  670. UICorner_2.CornerRadius = UDim.new(0,4)
  671.  
  672. TextBox_1.Parent = Search_1
  673. TextBox_1.Active = true
  674. TextBox_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  675. TextBox_1.BackgroundTransparency = 1
  676. TextBox_1.BorderColor3 = Color3.fromRGB(0,0,0)
  677. TextBox_1.BorderSizePixel = 0
  678. TextBox_1.CursorPosition = -1
  679. TextBox_1.Size = UDim2.new(1, 0,1, 0)
  680. TextBox_1.Font = Enum.Font.Gotham
  681. TextBox_1.PlaceholderColor3 = Color3.fromRGB(178,178,178)
  682. TextBox_1.PlaceholderText = "Search . . ."
  683. TextBox_1.Text = ""
  684. TextBox_1.TextColor3 = Color3.fromRGB(255,255,255)
  685. TextBox_1.TextSize = 11
  686.  
  687. addToTheme('Text & Icon', Search_1)
  688.  
  689. addToTheme('Text & Icon', TextBox_1)
  690.  
  691. Frame_1.Parent = Search_1
  692. Frame_1.AnchorPoint = Vector2.new(0, 1)
  693. Frame_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  694. Frame_1.BackgroundTransparency = 0.8999999761581421
  695. Frame_1.BorderColor3 = Color3.fromRGB(0,0,0)
  696. Frame_1.BorderSizePixel = 0
  697. Frame_1.Position = UDim2.new(0, 0,1, 0)
  698. Frame_1.Size = UDim2.new(1, 0,0, 2)
  699.  
  700. Frame_2.Parent = DropdownSelect
  701. Frame_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
  702. Frame_2.BackgroundTransparency = 1
  703. Frame_2.BorderColor3 = Color3.fromRGB(0,0,0)
  704. Frame_2.BorderSizePixel = 0
  705. Frame_2.Size = UDim2.new(1, 0,1, 0)
  706.  
  707. Frame_3.Parent = Frame_2
  708. Frame_3.BackgroundColor3 = Color3.fromRGB(255,255,255)
  709. Frame_3.BackgroundTransparency = 0.949999988079071
  710. Frame_3.BorderColor3 = Color3.fromRGB(0,0,0)
  711. Frame_3.BorderSizePixel = 0
  712. Frame_3.Size = UDim2.new(1, 0,1, 0)
  713.  
  714. UICorner_3.Parent = Frame_3
  715. UICorner_3.CornerRadius = UDim.new(0,4)
  716.  
  717. ScrollingFrame_1.Name = "ScrollingFrame"
  718. ScrollingFrame_1.Parent = Frame_3
  719. ScrollingFrame_1.Active = true
  720. ScrollingFrame_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  721. ScrollingFrame_1.BackgroundTransparency = 1
  722. ScrollingFrame_1.BorderColor3 = Color3.fromRGB(0,0,0)
  723. ScrollingFrame_1.BorderSizePixel = 0
  724. ScrollingFrame_1.Size = UDim2.new(1, 0,1, 0)
  725. ScrollingFrame_1.ClipsDescendants = true
  726. ScrollingFrame_1.AutomaticCanvasSize = Enum.AutomaticSize.None
  727. ScrollingFrame_1.BottomImage = "rbxasset://textures/ui/Scroll/scroll-bottom.png"
  728. ScrollingFrame_1.CanvasPosition = Vector2.new(0, 0)
  729. ScrollingFrame_1.ElasticBehavior = Enum.ElasticBehavior.WhenScrollable
  730. ScrollingFrame_1.HorizontalScrollBarInset = Enum.ScrollBarInset.None
  731. ScrollingFrame_1.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  732. ScrollingFrame_1.ScrollBarImageColor3 = Color3.fromRGB(107,84,255)
  733. ScrollingFrame_1.ScrollBarImageTransparency = 0
  734. ScrollingFrame_1.ScrollBarThickness = 2
  735. ScrollingFrame_1.ScrollingDirection = Enum.ScrollingDirection.XY
  736. ScrollingFrame_1.TopImage = "rbxasset://textures/ui/Scroll/scroll-top.png"
  737. ScrollingFrame_1.VerticalScrollBarInset = Enum.ScrollBarInset.None
  738. ScrollingFrame_1.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Right
  739.  
  740. UIListLayout_1.Parent = ScrollingFrame_1
  741. UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
  742. UIListLayout_1.Padding = UDim.new(0, 3)
  743.  
  744. UIPadding_2.Parent = ScrollingFrame_1
  745. UIPadding_2.PaddingRight = UDim.new(0,5)
  746.  
  747. UIPadding_3.Parent = Frame_3
  748. UIPadding_3.PaddingBottom = UDim.new(0,5)
  749. UIPadding_3.PaddingLeft = UDim.new(0,5)
  750. UIPadding_3.PaddingRight = UDim.new(0,3)
  751. UIPadding_3.PaddingTop = UDim.new(0,5)
  752.  
  753. UIPadding_4.Parent = Frame_2
  754. UIPadding_4.PaddingTop = UDim.new(0,25)
  755.  
  756. local Click = click(p2)
  757.  
  758. local isopen = false
  759.  
  760. local function updateDropdownSize()
  761. if not isopen then return end
  762.  
  763. local visibleCount = 0
  764. for i, v in pairs(ScrollingFrame_1:GetChildren()) do
  765. if v:IsA("Frame") and v.Visible then
  766. visibleCount = visibleCount + 1
  767. end
  768. end
  769.  
  770. local contentHeight = (UIListLayout_1.AbsoluteContentSize.Y + 54)
  771. if contentHeight > 200 then
  772. contentHeight = 200
  773. end
  774.  
  775. tw({v = DropdownSelect, t = 0.15, s = Enum.EasingStyle.Exponential, d = "Out", g = {Size = UDim2.new(0, 150, 0, contentHeight)}}):Play()
  776. end
  777.  
  778. TextBox_1.Changed:Connect(function()
  779. local SearchT = string.lower(TextBox_1.Text)
  780. for i, v in pairs(ScrollingFrame_1:GetChildren()) do
  781. if v:IsA("Frame") then
  782. if SearchT ~= "" and v:FindFirstChild("TextLabel") then
  783. if string.find(string.lower(v.TextLabel.Text), SearchT) then
  784. v.Visible = true
  785. else
  786. v.Visible = false
  787. end
  788. else
  789. v.Visible = true
  790. end
  791. end
  792. end
  793. updateDropdownSize()
  794. end)
  795.  
  796. local function open()
  797. if isopen then
  798. return
  799. end
  800. DropdownSelect.Visible = true
  801. local targetX = DropdownValue.AbsolutePosition.X - DropdownSelect.Parent.AbsolutePosition.X + DropdownValue.Size.X.Offset - 119
  802. local targetY = DropdownValue.AbsolutePosition.Y - DropdownSelect.Parent.AbsolutePosition.Y + DropdownValue.Size.Y.Offset - 25
  803. local contentHeight = UIListLayout_1.AbsoluteContentSize.Y + 54
  804. if contentHeight <= 200 then
  805. tw({v = DropdownSelect, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {Size = UDim2.new(0, 150, 0, contentHeight), Position = UDim2.new(0, targetX, 0, targetY)}}):Play()
  806. else
  807. tw({v = DropdownSelect, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {Size = UDim2.new(0, 150, 0, 200), Position = UDim2.new(0, targetX, 0, targetY)}}):Play()
  808. end
  809. tw({v = UIStrokeDropdown_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {Transparency = 0.95}}):Play()
  810. isopen = true
  811. end
  812.  
  813. local function close()
  814. if not isopen then
  815. return
  816. end
  817. tw({v = UIStrokeDropdown_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {Transparency = 1}}):Play()
  818. local gf = tw({v = DropdownSelect, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {Size = UDim2.new(0, 150,0, 0)}})
  819. gf:Play()
  820. gf.Completed:Connect(function()
  821. DropdownSelect.Visible = false
  822. isopen = false
  823. end)
  824. end
  825.  
  826. U.InputBegan:Connect(function(A)
  827. if A.UserInputType == Enum.UserInputType.MouseButton1 or A.UserInputType == Enum.UserInputType.Touch then
  828. local B, C = DropdownSelect.AbsolutePosition, DropdownSelect.AbsoluteSize
  829. if game:GetService "Players".LocalPlayer:GetMouse().X < B.X or game:GetService "Players".LocalPlayer:GetMouse().X > B.X + C.X or game:GetService "Players".LocalPlayer:GetMouse().Y < (B.Y - 20 - 1) or game:GetService "Players".LocalPlayer:GetMouse().Y > B.Y + C.Y then
  830. close()
  831. end
  832. end
  833. end)
  834.  
  835. Click.MouseButton1Click:Connect(function()
  836. if not isopen then
  837. open()
  838. else
  839. close()
  840. end
  841. end)
  842.  
  843. local itemslist = {}
  844. local selectedValues = {}
  845. local selectedItem
  846.  
  847. function itemslist:Clear(a)
  848. local function shouldClear(v)
  849. if a == nil then
  850. return true
  851. elseif type(a) == "string" then
  852. return v:FindFirstChild("TextLabel") and v.TextLabel.Text == a
  853. elseif type(a) == "table" then
  854. for _, name in ipairs(a) do
  855. if v:FindFirstChild("TextLabel") and v.TextLabel.Text == name then
  856. return true
  857. end
  858. end
  859. end
  860. return false
  861. end
  862.  
  863. if Multi then
  864. selectedValues = {}
  865. TextLabelValue_1.Text = "--"
  866. pcall(Callback ,selectedValues)
  867. end
  868.  
  869. for _, v in ipairs(ScrollingFrame_1:GetChildren()) do
  870. if v:IsA("Frame") and shouldClear(v) then
  871. if selectedItem and v:FindFirstChild("TextLabel") and v.TextLabel.Text == selectedItem then
  872. selectedItem = nil
  873. TextLabelValue_1.Text = "--"
  874. pcall(Callback, TextLabelValue_1.Text)
  875. end
  876. v:Destroy()
  877. end
  878. end
  879.  
  880. if selectedItem == a or TextLabelValue_1.Text == a then
  881. selectedItem = nil
  882. TextLabelValue_1.Text = "--"
  883. end
  884.  
  885. if a == nil then
  886. selectedItem = nil
  887. TextLabelValue_1.Text = "--"
  888. end
  889.  
  890. Value = nil
  891. end
  892.  
  893. function itemslist:Add(text)
  894.  
  895. local Item_1 = Instance.new("Frame")
  896. local TextLabel_1 = Instance.new("TextLabel")
  897.  
  898. Item_1.Name = "Item"
  899. Item_1.Parent = ScrollingFrame_1
  900. Item_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  901. Item_1.BackgroundTransparency = 0.95
  902. Item_1.BorderColor3 = Color3.fromRGB(0,0,0)
  903. Item_1.BorderSizePixel = 0
  904. Item_1.Size = UDim2.new(1, 0,0, 18)
  905.  
  906. TextLabel_1.Parent = Item_1
  907. TextLabel_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  908. TextLabel_1.BackgroundTransparency = 1
  909. TextLabel_1.BorderColor3 = Color3.fromRGB(0,0,0)
  910. TextLabel_1.BorderSizePixel = 0
  911. TextLabel_1.Size = UDim2.new(1, 0,1, 0)
  912. TextLabel_1.Font = Enum.Font.GothamBold
  913. TextLabel_1.Text = text
  914. TextLabel_1.TextColor3 = Color3.fromRGB(255,255,255)
  915. TextLabel_1.TextSize = 12
  916. TextLabel_1.TextXAlignment = Enum.TextXAlignment.Left
  917. TextLabel_1.TextTransparency = 0.8
  918.  
  919. addToTheme('Function.Dropdown.Dropdown Select.Item Background', Item_1)
  920. addToTheme('Text & Icon', TextLabel_1)
  921.  
  922. Instance.new("UICorner", Item_1).CornerRadius = UDim.new(0, 4)
  923. Instance.new("UIPadding", Item_1).PaddingLeft = UDim.new(0, 5)
  924.  
  925. local ClickItem = click(Item_1)
  926. local function unselect()
  927. tw({v = TextLabel_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {TextTransparency = 0.8}}):Play()
  928. end
  929. local function hasselect()
  930. tw({v = TextLabel_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {TextTransparency = 0}}):Play()
  931. end
  932.  
  933. ClickItem.MouseButton1Click:Connect(function()
  934. if Multi then
  935. if selectedValues[text] then
  936. selectedValues[text] = nil
  937. unselect()
  938. else
  939. selectedValues[text] = true
  940. hasselect()
  941. end
  942. local selectedList = {}
  943. for i, v in pairs(selectedValues) do
  944. table.insert(selectedList, i)
  945. end
  946. if #selectedList > 0 then
  947. TextLabelValue_1.Text = table.concat(selectedList, ", ")
  948. else
  949. TextLabelValue_1.Text = "--"
  950. end
  951. pcall(Callback, selectedList)
  952. else
  953. for i,v in pairs(ScrollingFrame_1:GetChildren()) do
  954. if v:IsA("Frame") then
  955. tw({v = v.TextLabel, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {TextTransparency = 0.8}}):Play()
  956. end
  957. end
  958. hasselect()
  959. Value = text
  960. TextLabelValue_1.Text = text
  961. pcall(Callback, TextLabelValue_1.Text)
  962. end
  963. end)
  964.  
  965. local function isValueInTable(val, tbl)
  966. if type(tbl) ~= "table" then
  967. return false
  968. end
  969.  
  970. for _, v in pairs(tbl) do
  971. if v == val then
  972. return true
  973. end
  974. end
  975. return false
  976. end
  977.  
  978. delay(0,function()
  979. if Multi then
  980. if isValueInTable(text, Value) then
  981. hasselect()
  982. selectedValues[text] = true
  983. local selectedList = {}
  984. for i, v in pairs(selectedValues) do
  985. table.insert(selectedList, i)
  986. end
  987. if #selectedList > 0 then
  988. TextLabelValue_1.Text = table.concat(selectedList, ", ")
  989. else
  990. TextLabelValue_1.Text = "--"
  991. end
  992. pcall(Callback,selectedList)
  993. end
  994. else
  995. if text == Value then
  996. hasselect()
  997. Value = text
  998. TextLabelValue_1.Text = text
  999. pcall(Callback,TextLabelValue_1.Text)
  1000. end
  1001. end
  1002. end)
  1003. end
  1004.  
  1005. function itemslist:SetValue(value)
  1006. if Multi then
  1007. selectedValues = {}
  1008. selectedValues[value] = true
  1009. TextLabelValue_1.Text = value
  1010. for _, v in ipairs(ScrollingFrame_1:GetChildren()) do
  1011. if v:IsA("Frame") and v:FindFirstChild("TextLabel") then
  1012. if v.TextLabel.Text == value then
  1013. tw({v = v.TextLabel, t = 0.05, s = Enum.EasingStyle.Exponential, d = "Out", g = {TextTransparency = 0}}):Play()
  1014. else
  1015. tw({v = v.TextLabel, t = 0.05, s = Enum.EasingStyle.Exponential, d = "Out", g = {TextTransparency = 0.8}}):Play()
  1016. end
  1017. end
  1018. end
  1019. pcall(Callback, selectedValues)
  1020. else
  1021. Value = value
  1022. TextLabelValue_1.Text = value
  1023. for _, v in ipairs(ScrollingFrame_1:GetChildren()) do
  1024. if v:IsA("Frame") and v:FindFirstChild("TextLabel") then
  1025. if v.TextLabel.Text == value then
  1026. tw({v = v.TextLabel, t = 0.05, s = Enum.EasingStyle.Exponential, d = "Out", g = {TextTransparency = 0}}):Play()
  1027. else
  1028. tw({v = v.TextLabel, t = 0.05, s = Enum.EasingStyle.Exponential, d = "Out", g = {TextTransparency = 0.8}}):Play()
  1029. end
  1030. end
  1031. end
  1032. pcall(Callback, value)
  1033. end
  1034. end
  1035.  
  1036. for i, v in ipairs(List) do
  1037. itemslist:Add(v, i)
  1038. end
  1039.  
  1040. changecanvas(ScrollingFrame_1, UIListLayout_1, 5)
  1041.  
  1042. return itemslist
  1043. end
  1044. end
  1045.  
  1046. function Library:Window(p)
  1047.  
  1048. local Title = p.Title or 'null'
  1049. local Desc = p.Desc or ''
  1050. local Icon = p.Icon or 'door-open'
  1051. local Theme = p.Theme or 'Dark'
  1052. local Keybind = p.Config.Keybind or Enum.KeyCode.LeftControl
  1053. local Size = p.Config.Size or UDim2.new(0, 530,0, 400)
  1054.  
  1055. local R, HAA = false, false
  1056. local HasChangeTheme = p.Theme
  1057. local IsTheme = p.Theme
  1058.  
  1059. local Shadow_1 = Instance.new("ImageLabel")
  1060. local UIPadding_1 = Instance.new("UIPadding")
  1061. local Background_1 = Instance.new("CanvasGroup")
  1062. local UICorner_1 = Instance.new("UICorner")
  1063. local Page_1 = Instance.new("Frame")
  1064. local UIPadding_2 = Instance.new("UIPadding")
  1065.  
  1066. Shadow_1.Name = "Shadow"
  1067. Shadow_1.Parent = ScreenGui
  1068. Shadow_1.AnchorPoint = Vector2.new(0.5, 0.5)
  1069. Shadow_1.BackgroundColor3 = Color3.fromRGB(163,162,165)
  1070. Shadow_1.BackgroundTransparency = 1
  1071. Shadow_1.Position = UDim2.new(0.5, 0,0.5, 0)
  1072. Shadow_1.Size = Size
  1073. Shadow_1.Image = "rbxassetid://1316045217"
  1074. Shadow_1.ImageColor3 = Color3.fromRGB(24, 24, 31)
  1075. Shadow_1.ImageTransparency = 0.8
  1076. Shadow_1.ScaleType = Enum.ScaleType.Slice
  1077. Shadow_1.SliceCenter = Rect.new(10, 10, 118, 118)
  1078. Shadow_1.Visible = false
  1079.  
  1080. addToTheme('Shadow', Shadow_1)
  1081.  
  1082. UIPadding_1.Parent = Shadow_1
  1083. UIPadding_1.PaddingBottom = UDim.new(0,8)
  1084. UIPadding_1.PaddingLeft = UDim.new(0,8)
  1085. UIPadding_1.PaddingRight = UDim.new(0,8)
  1086. UIPadding_1.PaddingTop = UDim.new(0,8)
  1087.  
  1088. Background_1.Name = "Background"
  1089. Background_1.Parent = Shadow_1
  1090. Background_1.AnchorPoint = Vector2.new(0.5, 0.5)
  1091. Background_1.BackgroundColor3 = Color3.fromRGB(29, 28, 38)
  1092. Background_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1093. Background_1.BorderSizePixel = 0
  1094. Background_1.Position = UDim2.new(0.5, 0,0.5, 0)
  1095. Background_1.Size = UDim2.new(1, 0,1, 0)
  1096. Background_1.ClipsDescendants = true
  1097. Background_1.GroupTransparency = 1
  1098.  
  1099. Shadow_1.Visible = true
  1100. local org = Background_1.Size
  1101.  
  1102. local DropShadowHolder = Instance.new("Frame")
  1103. DropShadowHolder.Name = "DropShadowHolder"
  1104. DropShadowHolder.BackgroundTransparency = 1
  1105. DropShadowHolder.BorderSizePixel = 0
  1106. DropShadowHolder.ZIndex = 0
  1107. DropShadowHolder.Parent = Shadow_1
  1108.  
  1109. local DropShadow = Instance.new("ImageLabel")
  1110. DropShadow.Name = "DropShadow"
  1111. DropShadow.Image = "rbxassetid://6015897843"
  1112. DropShadow.ImageColor3 = Color3.fromRGB(0,0,0)
  1113. DropShadow.ImageTransparency = 0.6
  1114. DropShadow.ScaleType = Enum.ScaleType.Slice
  1115. DropShadow.SliceCenter = Rect.new(49,49,450,450)
  1116. DropShadow.AnchorPoint = Vector2.new(0.5,0.5)
  1117. DropShadow.BackgroundTransparency = 1
  1118. DropShadow.BorderSizePixel = 0
  1119. DropShadow.Position = UDim2.new(0.5,0,0.5,0)
  1120. DropShadow.Size = UDim2.new(1,50,1,50)
  1121. DropShadow.ZIndex = 0
  1122. DropShadow.Parent = DropShadowHolder
  1123.  
  1124. local function UpdateLibraryShadow()
  1125. DropShadowHolder.Size = Shadow_1.Size
  1126. DropShadowHolder.Position = Shadow_1.Position
  1127. DropShadowHolder.AnchorPoint = Shadow_1.AnchorPoint
  1128. end
  1129. UpdateLibraryShadow()
  1130. Shadow_1:GetPropertyChangedSignal("Size"):Connect(UpdateLibraryShadow)
  1131. Shadow_1:GetPropertyChangedSignal("Position"):Connect(UpdateLibraryShadow)
  1132.  
  1133. Background_1.Size = org - UDim2.fromOffset(5, 5)
  1134. tw({
  1135. v = Background_1,
  1136. t = 0.15,
  1137. s = Enum.EasingStyle.Linear,
  1138. d = "InOut",
  1139. g = {
  1140. GroupTransparency = 0,
  1141. Size = org
  1142. }
  1143. }):Play()
  1144.  
  1145. addToTheme('Background', Background_1)
  1146.  
  1147. UICorner_1.Parent = Background_1
  1148. UICorner_1.CornerRadius = UDim.new(0,17)
  1149.  
  1150. Page_1.Name = "Page"
  1151. Page_1.Parent = Background_1
  1152. Page_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1153. Page_1.BackgroundTransparency = 1
  1154. Page_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1155. Page_1.BorderSizePixel = 0
  1156. Page_1.Size = UDim2.new(1, 0,1, 0)
  1157.  
  1158. UIPadding_2.Parent = Page_1
  1159. UIPadding_2.PaddingBottom = UDim.new(0,5)
  1160. UIPadding_2.PaddingLeft = UDim.new(0,120)
  1161. UIPadding_2.PaddingRight = UDim.new(0,5)
  1162. UIPadding_2.PaddingTop = UDim.new(0,45)
  1163.  
  1164. local Topbar_1 = Instance.new("Frame")
  1165. local Frame_5 = Instance.new("Frame")
  1166. local Ct_1 = Instance.new("Frame")
  1167. local UIPadding_11 = Instance.new("UIPadding")
  1168. local Minisize_1 = Instance.new("ImageButton")
  1169. local UIListLayout_6 = Instance.new("UIListLayout")
  1170. local Close_1 = Instance.new("ImageButton")
  1171. local DropdownValue_1 = Instance.new("Frame")
  1172. local Td_1 = Instance.new("Frame")
  1173. local UIPadding_13 = Instance.new("UIPadding")
  1174. local UIListLayout_7 = Instance.new("UIListLayout")
  1175. local Icon_1 = Instance.new("ImageLabel")
  1176. local Title_1 = Instance.new("Frame")
  1177. local Desc_1 = Instance.new("TextLabel")
  1178. local UIListLayout_8 = Instance.new("UIListLayout")
  1179. local Title_2 = Instance.new("TextLabel")
  1180. local ChSize_1 = Instance.new("ImageButton")
  1181.  
  1182. Topbar_1.Name = "Topbar"
  1183. Topbar_1.Parent = Background_1
  1184. Topbar_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1185. Topbar_1.BackgroundTransparency = 1
  1186. Topbar_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1187. Topbar_1.BorderSizePixel = 0
  1188. Topbar_1.Size = UDim2.new(1, 0,0, 42)
  1189.  
  1190. Frame_5.Parent = Topbar_1
  1191. Frame_5.AnchorPoint = Vector2.new(0, 1)
  1192. Frame_5.BackgroundColor3 = Color3.fromRGB(24,24,31)
  1193. Frame_5.BorderColor3 = Color3.fromRGB(0,0,0)
  1194. Frame_5.BorderSizePixel = 0
  1195. Frame_5.Position = UDim2.new(0, 0,1, 0)
  1196. Frame_5.Size = UDim2.new(1, 0,0, 2)
  1197.  
  1198. addToTheme('Page', Frame_5)
  1199.  
  1200. Ct_1.Name = "Ct"
  1201. Ct_1.Parent = Topbar_1
  1202. Ct_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1203. Ct_1.BackgroundTransparency = 1
  1204. Ct_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1205. Ct_1.BorderSizePixel = 0
  1206. Ct_1.Size = UDim2.new(1, 0,1, 0)
  1207.  
  1208. UIPadding_11.Parent = Ct_1
  1209. UIPadding_11.PaddingBottom = UDim.new(0,5)
  1210. UIPadding_11.PaddingLeft = UDim.new(0,10)
  1211. UIPadding_11.PaddingRight = UDim.new(0,10)
  1212. UIPadding_11.PaddingTop = UDim.new(0,5)
  1213.  
  1214. Minisize_1.Name = "Minisize"
  1215. Minisize_1.Parent = Ct_1
  1216. Minisize_1.Active = true
  1217. Minisize_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1218. Minisize_1.BackgroundTransparency = 1
  1219. Minisize_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1220. Minisize_1.BorderSizePixel = 0
  1221. Minisize_1.LayoutOrder = 2
  1222. Minisize_1.Size = UDim2.new(0, 16,0, 16)
  1223. Minisize_1.Image = "rbxassetid://13857987062"
  1224. Minisize_1.ImageTransparency = 0.5
  1225.  
  1226. addToTheme('Text & Icon', Minisize_1)
  1227.  
  1228. UIListLayout_6.Parent = Ct_1
  1229. UIListLayout_6.Padding = UDim.new(0,10)
  1230. UIListLayout_6.FillDirection = Enum.FillDirection.Horizontal
  1231. UIListLayout_6.HorizontalAlignment = Enum.HorizontalAlignment.Right
  1232. UIListLayout_6.SortOrder = Enum.SortOrder.LayoutOrder
  1233. UIListLayout_6.VerticalAlignment = Enum.VerticalAlignment.Center
  1234.  
  1235. Close_1.Name = "Close"
  1236. Close_1.Parent = Ct_1
  1237. Close_1.Active = true
  1238. Close_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1239. Close_1.BackgroundTransparency = 1
  1240. Close_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1241. Close_1.BorderSizePixel = 0
  1242. Close_1.LayoutOrder = 3
  1243. Close_1.Size = UDim2.new(0, 16,0, 16)
  1244. Close_1.Image = "rbxassetid://15082305656"
  1245.  
  1246. ChSize_1.Name = "Size"
  1247. ChSize_1.Parent = Ct_1
  1248. ChSize_1.Active = true
  1249. ChSize_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1250. ChSize_1.BackgroundTransparency = 1
  1251. ChSize_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1252. ChSize_1.BorderSizePixel = 0
  1253. ChSize_1.LayoutOrder = 1
  1254. ChSize_1.Size = UDim2.new(0, 16,0, 16)
  1255. ChSize_1.Image = "rbxassetid://15082210525"
  1256. ChSize_1.ImageTransparency = 0.5
  1257.  
  1258. DropdownValue_1.Name = "DropdownValue"
  1259. DropdownValue_1.Parent = Ct_1
  1260. DropdownValue_1.AnchorPoint = Vector2.new(1, 0.5)
  1261. DropdownValue_1.BackgroundColor3 = Color3.fromRGB(24,24,31)
  1262. DropdownValue_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1263. DropdownValue_1.BorderSizePixel = 0
  1264. DropdownValue_1.Position = UDim2.new(1, 0,0.5, 0)
  1265. DropdownValue_1.Size = UDim2.new(0, 120,0, 20)
  1266. DropdownValue_1.Transparency = 1
  1267.  
  1268. Td_1.Name = "Td"
  1269. Td_1.Parent = Topbar_1
  1270. Td_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1271. Td_1.BackgroundTransparency = 1
  1272. Td_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1273. Td_1.BorderSizePixel = 0
  1274. Td_1.Size = UDim2.new(1, 0,1, 0)
  1275.  
  1276. UIPadding_13.Parent = Td_1
  1277. UIPadding_13.PaddingBottom = UDim.new(0,5)
  1278. UIPadding_13.PaddingLeft = UDim.new(0,10)
  1279. UIPadding_13.PaddingRight = UDim.new(0,10)
  1280. UIPadding_13.PaddingTop = UDim.new(0,5)
  1281.  
  1282. UIListLayout_7.Parent = Td_1
  1283. UIListLayout_7.Padding = UDim.new(0,8)
  1284. UIListLayout_7.FillDirection = Enum.FillDirection.Horizontal
  1285. UIListLayout_7.SortOrder = Enum.SortOrder.LayoutOrder
  1286. UIListLayout_7.VerticalAlignment = Enum.VerticalAlignment.Center
  1287.  
  1288. Icon_1.Name = "Icon"
  1289. Icon_1.Parent = Td_1
  1290. Icon_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1291. Icon_1.BackgroundTransparency = 1
  1292. Icon_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1293. Icon_1.BorderSizePixel = 0
  1294. Icon_1.Size = UDim2.new(0, 30,0, 30)
  1295. Icon_1.Image = gl(Icon).Image
  1296. Icon_1.ImageRectSize = gl(Icon).ImageRectSize
  1297. Icon_1.ImageRectOffset = gl(Icon).ImageRectPosition
  1298.  
  1299. addToTheme('Text & Icon', Icon_1)
  1300.  
  1301. Title_1.Name = "Title"
  1302. Title_1.Parent = Td_1
  1303. Title_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1304. Title_1.BackgroundTransparency = 4
  1305. Title_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1306. Title_1.BorderSizePixel = 0
  1307. Title_1.LayoutOrder = 1
  1308. Title_1.Size = UDim2.new(0, 100,1, 0)
  1309.  
  1310. Desc_1.Name = "Desc"
  1311. Desc_1.Parent = Title_1
  1312. Desc_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1313. Desc_1.BackgroundTransparency = 1
  1314. Desc_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1315. Desc_1.BorderSizePixel = 0
  1316. Desc_1.LayoutOrder = 1
  1317. Desc_1.Size = UDim2.new(1, 0,0, 13)
  1318. Desc_1.Font = Enum.Font.GothamBold
  1319. Desc_1.Text = Desc
  1320. Desc_1.TextColor3 = Color3.fromRGB(255,255,255)
  1321. Desc_1.TextSize = 10
  1322. Desc_1.TextTransparency = 0.5
  1323. Desc_1.TextXAlignment = Enum.TextXAlignment.Left
  1324. Desc_1.Visible = false
  1325.  
  1326. addToTheme('Text & Icon', Desc_1)
  1327.  
  1328. if Desc and Desc ~= '' then
  1329. Desc_1.Visible = true
  1330. end
  1331.  
  1332. UIListLayout_8.Parent = Title_1
  1333. UIListLayout_8.SortOrder = Enum.SortOrder.LayoutOrder
  1334. UIListLayout_8.VerticalAlignment = Enum.VerticalAlignment.Center
  1335.  
  1336. Title_2.Name = "Title"
  1337. Title_2.Parent = Title_1
  1338. Title_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1339. Title_2.BackgroundTransparency = 1
  1340. Title_2.BorderColor3 = Color3.fromRGB(0,0,0)
  1341. Title_2.BorderSizePixel = 0
  1342. Title_2.Size = UDim2.new(1, 0,0, 13)
  1343. Title_2.Font = Enum.Font.GothamBold
  1344. Title_2.Text = Title
  1345. Title_2.TextColor3 = Color3.fromRGB(255,255,255)
  1346. Title_2.TextSize = 12
  1347. Title_2.TextXAlignment = Enum.TextXAlignment.Left
  1348.  
  1349. addToTheme('Text & Icon', Title_2)
  1350.  
  1351. local TabP_1 = Instance.new("Frame")
  1352. local Frame_6 = Instance.new("Frame")
  1353. local ScrollingFrame_2 = Instance.new("ScrollingFrame")
  1354. local TabList_1 = Instance.new("Frame")
  1355. local Select_1 = Instance.new("Frame")
  1356. local UICorner_10 = Instance.new("UICorner")
  1357. local UIStroke_3 = Instance.new("UIStroke")
  1358. local UIPadding_16 = Instance.new("UIPadding")
  1359. local UIPadding_17 = Instance.new("UIPadding")
  1360. local UIListLayout_10 = Instance.new("UIListLayout")
  1361.  
  1362. TabP_1.Name = "TabP"
  1363. TabP_1.Parent = Background_1
  1364. TabP_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1365. TabP_1.BackgroundTransparency = 1
  1366. TabP_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1367. TabP_1.BorderSizePixel = 0
  1368. TabP_1.Size = UDim2.new(1, 0,1, 0)
  1369.  
  1370. Frame_6.Parent = TabP_1
  1371. Frame_6.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1372. Frame_6.BackgroundTransparency = 1
  1373. Frame_6.BorderColor3 = Color3.fromRGB(0,0,0)
  1374. Frame_6.BorderSizePixel = 0
  1375. Frame_6.Size = UDim2.new(0, 110,1, 0)
  1376.  
  1377. ScrollingFrame_2.Name = "ScrollingFrame"
  1378. ScrollingFrame_2.Parent = Frame_6
  1379. ScrollingFrame_2.Active = true
  1380. ScrollingFrame_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1381. ScrollingFrame_2.BackgroundTransparency = 1
  1382. ScrollingFrame_2.BorderColor3 = Color3.fromRGB(0,0,0)
  1383. ScrollingFrame_2.BorderSizePixel = 0
  1384. ScrollingFrame_2.Size = UDim2.new(1, 0,1, 0)
  1385. ScrollingFrame_2.ClipsDescendants = true
  1386. ScrollingFrame_2.AutomaticCanvasSize = Enum.AutomaticSize.None
  1387. ScrollingFrame_2.BottomImage = "rbxasset://textures/ui/Scroll/scroll-bottom.png"
  1388. ScrollingFrame_2.CanvasPosition = Vector2.new(0, 0)
  1389. ScrollingFrame_2.ElasticBehavior = Enum.ElasticBehavior.WhenScrollable
  1390. ScrollingFrame_2.HorizontalScrollBarInset = Enum.ScrollBarInset.None
  1391. ScrollingFrame_2.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1392. ScrollingFrame_2.ScrollBarImageColor3 = Color3.fromRGB(91,68,209)
  1393. ScrollingFrame_2.ScrollBarImageTransparency = 0
  1394. ScrollingFrame_2.ScrollBarThickness = 2
  1395. ScrollingFrame_2.ScrollingDirection = Enum.ScrollingDirection.XY
  1396. ScrollingFrame_2.TopImage = "rbxasset://textures/ui/Scroll/scroll-top.png"
  1397. ScrollingFrame_2.VerticalScrollBarInset = Enum.ScrollBarInset.None
  1398. ScrollingFrame_2.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Right
  1399.  
  1400. addToTheme('Main', ScrollingFrame_2)
  1401.  
  1402. TabList_1.Name = "TabList"
  1403. TabList_1.Parent = ScrollingFrame_2
  1404. TabList_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1405. TabList_1.BackgroundTransparency = 1
  1406. TabList_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1407. TabList_1.BorderSizePixel = 0
  1408. TabList_1.Size = UDim2.new(1, 0,1, 0)
  1409.  
  1410. UIListLayout_10.Parent = TabList_1
  1411. UIListLayout_10.SortOrder = Enum.SortOrder.LayoutOrder
  1412. UIListLayout_10.HorizontalAlignment = Enum.HorizontalAlignment.Center
  1413.  
  1414. Select_1.Name = "Select"
  1415. Select_1.Parent = ScrollingFrame_2
  1416. Select_1.BackgroundColor3 = Color3.fromRGB(91,68,209)
  1417. Select_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1418. Select_1.BorderSizePixel = 0
  1419. Select_1.Position = UDim2.new(0, 0,0, 5)
  1420. Select_1.Size = UDim2.new(0, 3,0, 18)
  1421.  
  1422. addToTheme('Main', Select_1)
  1423.  
  1424. UICorner_10.Parent = Select_1
  1425. UICorner_10.CornerRadius = UDim.new(1,0)
  1426.  
  1427. UIStroke_3.Parent = Select_1
  1428. UIStroke_3.Color = Color3.fromRGB(24,24,31)
  1429. UIStroke_3.Thickness = 1
  1430. UIStroke_3.Transparency = 0.9
  1431.  
  1432. UIPadding_16.Parent = ScrollingFrame_2
  1433. UIPadding_16.PaddingBottom = UDim.new(0,1)
  1434. UIPadding_16.PaddingLeft = UDim.new(0,1)
  1435. UIPadding_16.PaddingRight = UDim.new(0,1)
  1436. UIPadding_16.PaddingTop = UDim.new(0,1)
  1437.  
  1438. UIPadding_17.Parent = TabP_1
  1439. UIPadding_17.PaddingBottom = UDim.new(0,5)
  1440. UIPadding_17.PaddingLeft = UDim.new(0,3)
  1441. UIPadding_17.PaddingTop = UDim.new(0,45)
  1442.  
  1443. changecanvas(ScrollingFrame_2, UIListLayout_10, 5)
  1444.  
  1445. local Tabs = {
  1446. Value = false,
  1447. List = {},
  1448. DefaultIndex = 1
  1449. }
  1450.  
  1451. function Tabs:SelectTab(p)
  1452. Tabs.DefaultIndex = p or 1
  1453. end
  1454.  
  1455. function Tabs:Line()
  1456. local Frame = Instance.new("Frame")
  1457. local Line = Instance.new("Frame")
  1458.  
  1459. Frame.Parent = TabList_1
  1460. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1461. Frame.BackgroundTransparency = 1.000
  1462. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  1463. Frame.BorderSizePixel = 0
  1464. Frame.Size = UDim2.new(1, 0, 0, 5)
  1465. Frame.Name = 'Line'
  1466.  
  1467. Line.Name = "Line"
  1468. Line.Parent = Frame
  1469. Line.AnchorPoint = Vector2.new(0.5, 0.5)
  1470. Line.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1471. Line.BackgroundTransparency = 0.900
  1472. Line.BorderColor3 = Color3.fromRGB(0, 0, 0)
  1473. Line.BorderSizePixel = 0
  1474. Line.Position = UDim2.new(0.5, 0, 0.5, 0)
  1475. Line.Size = UDim2.new(0.85, 0, 0, 1)
  1476. end
  1477.  
  1478. function Tabs:Tab(p)
  1479. local Title = p.Title or 'null'
  1480. local Icon = p.Icon or 'house'
  1481. local Tab_1 = Instance.new("Frame")
  1482. local Title_3 = Instance.new("TextLabel")
  1483. local UIListLayout_9 = Instance.new("UIListLayout")
  1484. local ImageLabel_2 = Instance.new("ImageLabel")
  1485. local UIPadding_14 = Instance.new("UIPadding")
  1486. local UIStroke_2 = Instance.new("UIStroke")
  1487. local Func = Instance.new("Frame")
  1488.  
  1489. Tab_1.Name = "Tab"
  1490. Tab_1.Parent = TabList_1
  1491. Tab_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1492. Tab_1.BackgroundTransparency = 1
  1493. Tab_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1494. Tab_1.BorderSizePixel = 0
  1495. Tab_1.Size = UDim2.new(1, 0,0, 30)
  1496.  
  1497. Func.Name = "Func"
  1498. Func.Parent = Tab_1
  1499. Func.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1500. Func.BackgroundTransparency = 1.000
  1501. Func.BorderColor3 = Color3.fromRGB(0, 0, 0)
  1502. Func.BorderSizePixel = 0
  1503. Func.Size = UDim2.new(1, 0, 1, 0)
  1504.  
  1505. Title_3.Name = "Title"
  1506. Title_3.Parent = Func
  1507. Title_3.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1508. Title_3.BackgroundTransparency = 1
  1509. Title_3.BorderColor3 = Color3.fromRGB(0,0,0)
  1510. Title_3.BorderSizePixel = 0
  1511. Title_3.LayoutOrder = 1
  1512. Title_3.Size = UDim2.new(1, 0,1, 0)
  1513. Title_3.Font = Enum.Font.GothamBold
  1514. Title_3.Text = tostring(Title)
  1515. Title_3.TextColor3 = Color3.fromRGB(255,255,255)
  1516. Title_3.TextSize = 11
  1517. Title_3.TextTransparency = 0.7
  1518. Title_3.TextWrapped = true
  1519. Title_3.TextXAlignment = Enum.TextXAlignment.Left
  1520.  
  1521. addToTheme('Text & Icon', Title_3)
  1522.  
  1523. UIListLayout_9.Parent = Func
  1524. UIListLayout_9.Padding = UDim.new(0,8)
  1525. UIListLayout_9.FillDirection = Enum.FillDirection.Horizontal
  1526. UIListLayout_9.SortOrder = Enum.SortOrder.LayoutOrder
  1527. UIListLayout_9.VerticalAlignment = Enum.VerticalAlignment.Center
  1528.  
  1529. ImageLabel_2.Parent = Func
  1530. ImageLabel_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1531. ImageLabel_2.BackgroundTransparency = 1
  1532. ImageLabel_2.BorderColor3 = Color3.fromRGB(0,0,0)
  1533. ImageLabel_2.BorderSizePixel = 0
  1534. ImageLabel_2.Size = UDim2.new(0, 18,0, 18)
  1535. ImageLabel_2.Image = gl(Icon).Image
  1536. ImageLabel_2.ImageTransparency = 0.7
  1537. ImageLabel_2.ImageRectSize = gl(Icon).ImageRectSize
  1538. ImageLabel_2.ImageRectOffset = gl(Icon).ImageRectPosition
  1539.  
  1540. addToTheme('Text & Icon', ImageLabel_2)
  1541.  
  1542. UIPadding_14.Parent = Func
  1543. UIPadding_14.PaddingLeft = UDim.new(0,8)
  1544.  
  1545. UIStroke_2.Parent = Title_3
  1546. UIStroke_2.Color = Color3.fromRGB(24,24,31)
  1547. UIStroke_2.Thickness = 1
  1548. UIStroke_2.Transparency = 0.95
  1549.  
  1550. local InPage_1 = Instance.new("Frame")
  1551. local UICorner_2 = Instance.new("UICorner")
  1552. local ScrollingFrame_1 = Instance.new("ScrollingFrame")
  1553. local UIListLayout_1 = Instance.new("UIListLayout")
  1554. local UIPadding_10 = Instance.new("UIPadding")
  1555.  
  1556. InPage_1.Name = "InPage"
  1557. InPage_1.Parent = Page_1
  1558. InPage_1.AnchorPoint = Vector2.new(0.5 ,0.5)
  1559. InPage_1.BackgroundColor3 = Color3.fromRGB(24,24,31)
  1560. InPage_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1561. InPage_1.BorderSizePixel = 0
  1562. InPage_1.Size = UDim2.new(1, 0,1, 0)
  1563. InPage_1.Position = UDim2.new(0.5, 0, 0.5, 0)
  1564. InPage_1.Visible = false
  1565.  
  1566. addToTheme('Page', InPage_1)
  1567.  
  1568. UICorner_2.Parent = InPage_1
  1569. UICorner_2.CornerRadius = UDim.new(0,17)
  1570.  
  1571. ScrollingFrame_1.Name = "ScrollingFrame"
  1572. ScrollingFrame_1.Parent = InPage_1
  1573. ScrollingFrame_1.Active = true
  1574. ScrollingFrame_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1575. ScrollingFrame_1.BackgroundTransparency = 1
  1576. ScrollingFrame_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1577. ScrollingFrame_1.BorderSizePixel = 0
  1578. ScrollingFrame_1.Size = UDim2.new(1, 0,1, 0)
  1579. ScrollingFrame_1.ClipsDescendants = true
  1580. ScrollingFrame_1.AutomaticCanvasSize = Enum.AutomaticSize.None
  1581. ScrollingFrame_1.BottomImage = "rbxasset://textures/ui/Scroll/scroll-bottom.png"
  1582. ScrollingFrame_1.CanvasPosition = Vector2.new(0, 0)
  1583. ScrollingFrame_1.ElasticBehavior = Enum.ElasticBehavior.WhenScrollable
  1584. ScrollingFrame_1.HorizontalScrollBarInset = Enum.ScrollBarInset.None
  1585. ScrollingFrame_1.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1586. ScrollingFrame_1.ScrollBarImageTransparency = 0
  1587. ScrollingFrame_1.ScrollBarThickness = 0
  1588. ScrollingFrame_1.ScrollingDirection = Enum.ScrollingDirection.XY
  1589. ScrollingFrame_1.TopImage = "rbxasset://textures/ui/Scroll/scroll-top.png"
  1590. ScrollingFrame_1.VerticalScrollBarInset = Enum.ScrollBarInset.None
  1591. ScrollingFrame_1.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Right
  1592.  
  1593. UIListLayout_1.Parent = ScrollingFrame_1
  1594. UIListLayout_1.Padding = UDim.new(0,5)
  1595. UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
  1596.  
  1597. UIPadding_10.Parent = InPage_1
  1598. UIPadding_10.PaddingBottom = UDim.new(0,10)
  1599. UIPadding_10.PaddingLeft = UDim.new(0,10)
  1600. UIPadding_10.PaddingRight = UDim.new(0,10)
  1601. UIPadding_10.PaddingTop = UDim.new(0,10)
  1602.  
  1603. local Click = click(Tab_1)
  1604.  
  1605. table.insert(self.List, {
  1606. Page = InPage_1,
  1607. Button = Tab_1
  1608. })
  1609. local MyIndex = #self.List
  1610.  
  1611. local function twSelect()
  1612. local scrollingFrame = Select_1.Parent
  1613. local tabScrollingFrame = Tab_1.Parent
  1614.  
  1615. local tabCenterY = Tab_1.AbsolutePosition.Y + (Tab_1.AbsoluteSize.Y / 2)
  1616. local selectOffset = Select_1.AbsoluteSize.Y / 2
  1617. local relativeY = tabCenterY - tabScrollingFrame.AbsolutePosition.Y
  1618. local offset = scrollingFrame.AbsolutePosition.Y - Select_1.Parent.AbsolutePosition.Y
  1619.  
  1620. local targetY = relativeY + offset - selectOffset
  1621.  
  1622. local pos = UDim2.new(0, Select_1.Position.X.Offset, 0, targetY)
  1623.  
  1624. tw({
  1625. v = Select_1,
  1626. t = 0.5,
  1627. s = Enum.EasingStyle.Exponential,
  1628. d = "Out",
  1629. g = {
  1630. Position = pos
  1631. }
  1632. }):Play()
  1633. end
  1634.  
  1635. local function chg()
  1636. for i, v in pairs(self.List) do
  1637. v.Page.Visible = false
  1638. for i, v in pairs(ScrollingFrame_1:GetChildren()) do
  1639. if v:IsA('Frame') and v:FindFirstChild('Background') then
  1640. v.Background.Position = UDim2.new(0, 0, 0,0)
  1641. v.Background.AnchorPoint = Vector2.new(1 ,0)
  1642. end
  1643. end
  1644. task.spawn(function()
  1645. for i, v in next, ScrollingFrame_1:GetChildren() do
  1646. if v:IsA('Frame') and v:FindFirstChild('Background') then
  1647. tw({
  1648. v = v.Background,
  1649. t = 0.3,
  1650. s = Enum.EasingStyle.Exponential,
  1651. d = "InOut",
  1652. g = {AnchorPoint = Vector2.new(0 ,0)}
  1653. }):Play()
  1654. task.wait(.05)
  1655. end
  1656. end
  1657. end)
  1658. InPage_1.Visible = true
  1659. end
  1660. for i, v in pairs(TabList_1:GetChildren()) do
  1661. if v:IsA('Frame') and v.Name ~= 'Line' then
  1662. tw({
  1663. v = v.Func.Title,
  1664. t = 0.15,
  1665. s = Enum.EasingStyle.Linear,
  1666. d = "InOut",
  1667. g = {TextTransparency = 0.7}
  1668. }):Play()
  1669. tw({
  1670. v = v.Func.ImageLabel,
  1671. t = 0.15,
  1672. s = Enum.EasingStyle.Linear,
  1673. d = "InOut",
  1674. g = {ImageTransparency = 0.7}
  1675. }):Play()
  1676. end
  1677. end
  1678. tw({
  1679. v = Title_3,
  1680. t = 0.15,
  1681. s = Enum.EasingStyle.Linear,
  1682. d = "InOut",
  1683. g = {TextTransparency = 0}
  1684. }):Play()
  1685. tw({
  1686. v = ImageLabel_2,
  1687. t = 0.15,
  1688. s = Enum.EasingStyle.Linear,
  1689. d = "InOut",
  1690. g = {ImageTransparency = 0}
  1691. }):Play()
  1692. Page_1.Visible = true
  1693. twSelect()
  1694. end
  1695.  
  1696. Click.MouseButton1Click:Connect(chg)
  1697.  
  1698. changecanvas(ScrollingFrame_1, UIListLayout_1, 5)
  1699.  
  1700. delay(.1, function()
  1701. if not self.Value then
  1702. local total = #self.List
  1703. local index = self.DefaultIndex
  1704.  
  1705. if type(index) ~= "number" or index < 1 or index > total then
  1706. index = 1
  1707. end
  1708.  
  1709. if MyIndex == index then
  1710. chg()
  1711. self.Value = true
  1712. end
  1713. end
  1714. end)
  1715.  
  1716. local Func = {}
  1717.  
  1718. function Func:Section(p)
  1719. local Title = p.Title or 'null'
  1720. local RealBackground = Instance.new("Frame")
  1721. local Section = Instance.new("Frame")
  1722. local Section_1 = Instance.new("TextLabel")
  1723. local UIPadding_1 = Instance.new("UIPadding")
  1724.  
  1725. RealBackground.Name = "Real Background"
  1726. RealBackground.Parent = ScrollingFrame_1
  1727. RealBackground.BackgroundTransparency = 1
  1728. RealBackground.BorderColor3 = Color3.fromRGB(0,0,0)
  1729. RealBackground.BorderSizePixel = 0
  1730. RealBackground.Size = UDim2.new(1, 0,0, 20)
  1731. RealBackground.ClipsDescendants = true
  1732.  
  1733. Section.Name = "Background"
  1734. Section.Parent = RealBackground
  1735. Section.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1736. Section.BackgroundTransparency = 1
  1737. Section.BorderColor3 = Color3.fromRGB(0,0,0)
  1738. Section.BorderSizePixel = 0
  1739. Section.Size = UDim2.new(1, 0,0, 20)
  1740.  
  1741. Section_1.Name = "Section"
  1742. Section_1.Parent = Section
  1743. Section_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1744. Section_1.BackgroundTransparency = 1
  1745. Section_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1746. Section_1.BorderSizePixel = 0
  1747. Section_1.Size = UDim2.new(1, 0,0, 20)
  1748. Section_1.Font = Enum.Font.GothamBold
  1749. Section_1.Text = Title
  1750. Section_1.TextColor3 = Color3.fromRGB(255,255,255)
  1751. Section_1.TextSize = 12
  1752. Section_1.TextXAlignment = Enum.TextXAlignment.Left
  1753.  
  1754. addToTheme('Text & Icon', Section_1)
  1755.  
  1756. UIPadding_1.Parent = Section
  1757. UIPadding_1.PaddingLeft = UDim.new(0,5)
  1758. UIPadding_1.PaddingRight = UDim.new(0,5)
  1759.  
  1760. local New = {}
  1761.  
  1762. function New:SetTitle(t)
  1763. Section_1.Text = t
  1764. end
  1765.  
  1766. return New
  1767. end
  1768.  
  1769. function Func:Toggle(p)
  1770. local Value = p.Value or false
  1771. local Image = p.Image or ''
  1772. local Callback = p.Callback or function() end
  1773. local Title = p.Title or 'null'
  1774. local Desc = p.Desc or ''
  1775.  
  1776. local Toggle, Config = background(ScrollingFrame_1, Title, Desc, Image, 'Toggle')
  1777.  
  1778. local F_1 = Instance.new("Frame")
  1779. local UIListLayout_1 = Instance.new("UIListLayout")
  1780. local UIPadding_1 = Instance.new("UIPadding")
  1781. local Frame_1 = Instance.new("Frame")
  1782. local UICorner_2 = Instance.new("UICorner")
  1783. local Frame_2 = Instance.new("Frame")
  1784. local UICorner_3 = Instance.new("UICorner")
  1785. local UIPadding_2 = Instance.new("UIPadding")
  1786.  
  1787. F_1.Name = "F"
  1788. F_1.Parent = Toggle
  1789. F_1.AnchorPoint = Vector2.new(1, 0.5)
  1790. F_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1791. F_1.BackgroundTransparency = 1
  1792. F_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1793. F_1.BorderSizePixel = 0
  1794. F_1.Position = UDim2.new(1, 0,0.5, 0)
  1795. F_1.Size = UDim2.new(0, 100,0.800000012, 0)
  1796.  
  1797. UIListLayout_1.Parent = F_1
  1798. UIListLayout_1.HorizontalAlignment = Enum.HorizontalAlignment.Right
  1799. UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
  1800. UIListLayout_1.VerticalAlignment = Enum.VerticalAlignment.Center
  1801.  
  1802. UIPadding_1.Parent = F_1
  1803. UIPadding_1.PaddingRight = UDim.new(0,13)
  1804.  
  1805. Frame_1.Parent = F_1
  1806. Frame_1.BackgroundColor3 = Color3.fromRGB(36, 35, 48)
  1807. Frame_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1808. Frame_1.BorderSizePixel = 0
  1809. Frame_1.Size = UDim2.new(0, 34,0, 17)
  1810.  
  1811. UICorner_2.Parent = Frame_1
  1812. UICorner_2.CornerRadius = UDim.new(1,0)
  1813.  
  1814. Frame_2.Parent = Frame_1
  1815. Frame_2.AnchorPoint = Vector2.new(0, 0.5)
  1816. Frame_2.BackgroundColor3 = Color3.fromRGB(44, 42, 62)
  1817. Frame_2.BorderColor3 = Color3.fromRGB(0,0,0)
  1818. Frame_2.BorderSizePixel = 0
  1819. Frame_2.Position = UDim2.new(0, 0,0.5, 0)
  1820. Frame_2.Size = UDim2.new(0, 13,0, 13)
  1821.  
  1822. if Value then
  1823. Frame_1.BackgroundColor3 = themes[IsTheme].Function.Toggle.True['Toggle Background']
  1824. Frame_2.BackgroundColor3 = themes[IsTheme].Function.Toggle.True['Toggle Value']
  1825. else
  1826. Frame_1.BackgroundColor3 = themes[IsTheme].Function.Toggle.False['Toggle Background']
  1827. Frame_2.BackgroundColor3 = themes[IsTheme].Function.Toggle.False['Toggle Value']
  1828. end
  1829.  
  1830. UICorner_3.Parent = Frame_2
  1831. UICorner_3.CornerRadius = UDim.new(1,0)
  1832.  
  1833. UIPadding_2.Parent = Frame_1
  1834. UIPadding_2.PaddingLeft = UDim.new(0,2)
  1835. UIPadding_2.PaddingRight = UDim.new(0,2)
  1836.  
  1837. local Click = click(Toggle)
  1838.  
  1839. Value = not Value
  1840.  
  1841. local function change()
  1842. Value = not Value
  1843. if Value then
  1844. Config:SetTextTransparencyTitle(0)
  1845. tw({v = Frame_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {BackgroundColor3 = themes[IsTheme].Function.Toggle.True['Toggle Background']}}):Play()
  1846. tw({v = Frame_2, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out",
  1847. g = {
  1848. BackgroundColor3 = themes[IsTheme].Function.Toggle.True['Toggle Value'],
  1849. AnchorPoint = Vector2.new(1, 0.5),
  1850. Position = UDim2.new(1, 0,0.5, 0)
  1851. }}):Play()
  1852. else
  1853. Config:SetTextTransparencyTitle(0.7)
  1854. tw({v = Frame_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {BackgroundColor3 = themes[IsTheme].Function.Toggle.False['Toggle Background']}}):Play()
  1855. tw({v = Frame_2, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out",
  1856. g = {
  1857. BackgroundColor3 = themes[IsTheme].Function.Toggle.False['Toggle Value'],
  1858. AnchorPoint = Vector2.new(0, 0.5),
  1859. Position = UDim2.new(0, 0,0.5, 0)
  1860. }}):Play()
  1861. end
  1862. pcall(Callback, Value)
  1863. end
  1864.  
  1865. Toggle:GetPropertyChangedSignal("BackgroundColor3"):Connect(function()
  1866. if Value then
  1867. Frame_1.BackgroundColor3 = themes[IsTheme].Function.Toggle.True['Toggle Background']
  1868. Frame_2.BackgroundColor3 = themes[IsTheme].Function.Toggle.True['Toggle Value']
  1869. else
  1870. Frame_1.BackgroundColor3 = themes[IsTheme].Function.Toggle.False['Toggle Background']
  1871. Frame_2.BackgroundColor3 = themes[IsTheme].Function.Toggle.False['Toggle Value']
  1872. end
  1873. end)
  1874.  
  1875. Click.MouseButton1Click:Connect(change)
  1876.  
  1877. delay(0.1, change)
  1878.  
  1879. local New = {}
  1880.  
  1881. function New:SetTitle(t)
  1882. Config:SetTitle(t)
  1883. end
  1884.  
  1885. function New:SetDesc(t)
  1886. Config:SetDesc(t)
  1887. end
  1888.  
  1889. function New:SetVisible(t)
  1890. Toggle.Visible = t
  1891. end
  1892.  
  1893. function New:SetValue(t)
  1894. Value = not t
  1895. change()
  1896. end
  1897.  
  1898. return New
  1899. end
  1900.  
  1901. function Func:Label(p)
  1902. local Title = p.Title or 'null'
  1903. local Desc = p.Desc or ''
  1904. local Image = p.Image or ''
  1905.  
  1906. local Label, Config = background(ScrollingFrame_1, Title, Desc, Image, 'Label')
  1907.  
  1908. Config:SetTextTransparencyTitle(0)
  1909. Config:SetSizeT(0)
  1910.  
  1911. local New = {}
  1912.  
  1913. function New:SetTitle(t)
  1914. Config:SetTitle(t)
  1915. end
  1916.  
  1917. function New:SetDesc(t)
  1918. Config:SetDesc(t)
  1919. end
  1920.  
  1921. function New:SetVisible(t)
  1922. Label.Visible = t
  1923. end
  1924.  
  1925. return New
  1926. end
  1927.  
  1928. function Func:Button(p)
  1929. local Title = p.Title or 'null'
  1930. local Desc = p.Desc or ''
  1931. local Image = p.Image or ''
  1932. local Callback = p.Callback or function() end
  1933.  
  1934. local Button, Config = background(ScrollingFrame_1, Title, Desc, Image, 'Button')
  1935.  
  1936. Config:SetTextTransparencyTitle(0)
  1937. Config:SetSizeT(50)
  1938.  
  1939. Button.ClipsDescendants = true
  1940.  
  1941. local F = Instance.new("Frame")
  1942. local UIListLayout_1 = Instance.new("UIListLayout")
  1943. local UIPadding_1 = Instance.new("UIPadding")
  1944. local Image_1 = Instance.new("ImageLabel")
  1945.  
  1946. F.Name = "F"
  1947. F.Parent = Button
  1948. F.AnchorPoint = Vector2.new(1, 0.5)
  1949. F.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1950. F.BackgroundTransparency = 1
  1951. F.BorderColor3 = Color3.fromRGB(0,0,0)
  1952. F.BorderSizePixel = 0
  1953. F.Position = UDim2.new(1, 0,0.5, 0)
  1954. F.Size = UDim2.new(0, 50,0.800000012, 0)
  1955.  
  1956. UIListLayout_1.Parent = F
  1957. UIListLayout_1.Padding = UDim.new(0,8)
  1958. UIListLayout_1.FillDirection = Enum.FillDirection.Horizontal
  1959. UIListLayout_1.HorizontalAlignment = Enum.HorizontalAlignment.Right
  1960. UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
  1961. UIListLayout_1.VerticalAlignment = Enum.VerticalAlignment.Center
  1962.  
  1963. UIPadding_1.Parent = F
  1964. UIPadding_1.PaddingRight = UDim.new(0,13)
  1965.  
  1966. Image_1.Name = "Image"
  1967. Image_1.Parent = F
  1968. Image_1.AnchorPoint = Vector2.new(1, 0.5)
  1969. Image_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  1970. Image_1.BackgroundTransparency = 1
  1971. Image_1.BorderColor3 = Color3.fromRGB(0,0,0)
  1972. Image_1.BorderSizePixel = 0
  1973. Image_1.Position = UDim2.new(1, 0,0.5, 0)
  1974. Image_1.Size = UDim2.new(0, 20,0, 20)
  1975. Image_1.Image = "rbxassetid://14923748517"
  1976. Image_1.ImageTransparency = 0.3
  1977.  
  1978. local Click = click(Button)
  1979. Click.MouseButton1Click:Connect(function()
  1980. Button.AnchorPoint = Vector2.new(0.5, 0.5)
  1981. Button.Position = UDim2.new(0.5, 0, 0.5,0)
  1982. jc(Click, Button)
  1983. tw({v = Button, t = 0.15, s = Enum.EasingStyle.Back, d = "Out", g = {Size = UDim2.new(.9, 0,.9, 0)}}):Play()
  1984. delay(.06, function()
  1985. tw({v = Button, t = 0.15, s = Enum.EasingStyle.Back, d = "Out", g = {Size = UDim2.new(1, 0,1, 0)}}):Play()
  1986. end)
  1987. pcall(Callback)
  1988. end)
  1989. end
  1990.  
  1991. function Func:Slider(p)
  1992. local Title = p.Title or 'null'
  1993. local Desc = p.Desc or ''
  1994. local Image = p.Image or ''
  1995. local Min = p.Min or 0
  1996. local Max = p.Max or 100
  1997. local Value = p.Value or Min + 1
  1998. local Rounding = p.Rounding or 2
  1999. local Callback = p.Callback or function() end
  2000.  
  2001. local Slider, Config = background(ScrollingFrame_1, Title, Desc, Image, 'Slider')
  2002.  
  2003. Config:SetTextTransparencyTitle(0)
  2004. Config:SetSizeT(200)
  2005.  
  2006. local F = Instance.new("Frame")
  2007. local UIListLayout_1 = Instance.new("UIListLayout")
  2008. local UIPadding_1 = Instance.new("UIPadding")
  2009. local FrameValueTextBox = Instance.new('Frame')
  2010. local TextBox_1 = Instance.new("TextBox")
  2011. local UICorner_1 = Instance.new("UICorner")
  2012. local UIStroke_1 = Instance.new("UIStroke")
  2013. local Frame_1 = Instance.new("Frame")
  2014. local Frame_2 = Instance.new("Frame")
  2015. local UICorner_2 = Instance.new("UICorner")
  2016. local Frame_3 = Instance.new("Frame")
  2017. local UICorner_3 = Instance.new("UICorner")
  2018. local Frame_4 = Instance.new("Frame")
  2019. local UICorner_4 = Instance.new("UICorner")
  2020. local UIPadding_2 = Instance.new("UIPadding")
  2021.  
  2022. F.Name = "F"
  2023. F.Parent = Slider
  2024. F.AnchorPoint = Vector2.new(1, 0.5)
  2025. F.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2026. F.BackgroundTransparency = 1
  2027. F.BorderColor3 = Color3.fromRGB(0,0,0)
  2028. F.BorderSizePixel = 0
  2029. F.Position = UDim2.new(1, 0,0.5, 0)
  2030. F.Size = UDim2.new(0, 195,0.8, 0)
  2031.  
  2032. UIListLayout_1.Parent = F
  2033. UIListLayout_1.Padding = UDim.new(0,8)
  2034. UIListLayout_1.FillDirection = Enum.FillDirection.Horizontal
  2035. UIListLayout_1.HorizontalAlignment = Enum.HorizontalAlignment.Right
  2036. UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
  2037. UIListLayout_1.VerticalAlignment = Enum.VerticalAlignment.Center
  2038.  
  2039. UIPadding_1.Parent = F
  2040. UIPadding_1.PaddingRight = UDim.new(0,13)
  2041.  
  2042. FrameValueTextBox.Parent = F
  2043. FrameValueTextBox.Active = true
  2044. FrameValueTextBox.BackgroundColor3 = Color3.fromRGB(24,24,31)
  2045. FrameValueTextBox.BorderColor3 = Color3.fromRGB(0,0,0)
  2046. FrameValueTextBox.BorderSizePixel = 0
  2047. FrameValueTextBox.Size = UDim2.new(0, 50,0, 20)
  2048. FrameValueTextBox.LayoutOrder = 1
  2049.  
  2050. addToTheme('Function.Slider.Value Background', FrameValueTextBox)
  2051.  
  2052. TextBox_1.Parent = FrameValueTextBox
  2053. TextBox_1.Active = true
  2054. TextBox_1.BackgroundTransparency = 1
  2055. TextBox_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2056. TextBox_1.BorderSizePixel = 0
  2057. TextBox_1.Size = UDim2.new(1, 0,1, 0)
  2058. TextBox_1.Font = Enum.Font.Cartoon
  2059. TextBox_1.PlaceholderColor3 = Color3.fromRGB(178,178,178)
  2060. TextBox_1.PlaceholderText = ""
  2061. TextBox_1.Text = tonumber(Value)
  2062. TextBox_1.TextColor3 = Color3.fromRGB(255,255,255)
  2063. TextBox_1.TextSize = 12
  2064.  
  2065. addToTheme('Text & Icon', TextBox_1)
  2066.  
  2067. UICorner_1.Parent = FrameValueTextBox
  2068. UICorner_1.CornerRadius = UDim.new(0,4)
  2069.  
  2070. UIStroke_1.Parent = FrameValueTextBox
  2071. UIStroke_1.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  2072. UIStroke_1.Color = Color3.fromRGB(255,255,255)
  2073. UIStroke_1.Thickness = 1
  2074. UIStroke_1.Transparency = 0.95
  2075.  
  2076. addToTheme('Function.Slider.Value Stroke', UIStroke_1)
  2077.  
  2078. Frame_1.Parent = F
  2079. Frame_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2080. Frame_1.BackgroundTransparency = 1
  2081. Frame_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2082. Frame_1.BorderSizePixel = 0
  2083. Frame_1.Size = UDim2.new(0, 120,0, 20)
  2084.  
  2085. Frame_2.Parent = Frame_1
  2086. Frame_2.AnchorPoint = Vector2.new(0.5, 0.5)
  2087. Frame_2.BackgroundColor3 = Color3.fromRGB(44,34,103)
  2088. Frame_2.BorderColor3 = Color3.fromRGB(0,0,0)
  2089. Frame_2.BorderSizePixel = 0
  2090. Frame_2.Position = UDim2.new(0.5, 0,0.5, 0)
  2091. Frame_2.Size = UDim2.new(1, 0,0, 10)
  2092.  
  2093. addToTheme('Function.Slider.Slider Bar', Frame_2)
  2094.  
  2095. UICorner_2.Parent = Frame_2
  2096. UICorner_2.CornerRadius = UDim.new(1,0)
  2097.  
  2098. Frame_3.Parent = Frame_2
  2099. Frame_3.AnchorPoint = Vector2.new(0, 0.5)
  2100. Frame_3.BackgroundColor3 = Color3.fromRGB(91,68,209)
  2101. Frame_3.BorderColor3 = Color3.fromRGB(0,0,0)
  2102. Frame_3.BorderSizePixel = 0
  2103. Frame_3.Position = UDim2.new(0, 0,0.5, 0)
  2104. Frame_3.Size = UDim2.new(0, 0,1, 0)
  2105.  
  2106. addToTheme('Function.Slider.Slider Bar Value', Frame_3)
  2107.  
  2108. UICorner_3.Parent = Frame_3
  2109. UICorner_3.CornerRadius = UDim.new(1,0)
  2110.  
  2111. Frame_4.Parent = Frame_3
  2112. Frame_4.AnchorPoint = Vector2.new(1, 0.5)
  2113. Frame_4.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2114. Frame_4.BorderColor3 = Color3.fromRGB(0,0,0)
  2115. Frame_4.BorderSizePixel = 0
  2116. Frame_4.Position = UDim2.new(1, 0,0.5, 0)
  2117. Frame_4.Size = UDim2.new(0, 13,0, 13)
  2118.  
  2119. addToTheme('Function.Slider.Circle Value', Frame_4)
  2120.  
  2121. UICorner_4.Parent = Frame_4
  2122. UICorner_4.CornerRadius = UDim.new(1,0)
  2123.  
  2124. UIPadding_2.Parent = Frame_2
  2125. UIPadding_2.PaddingBottom = UDim.new(0,2)
  2126. UIPadding_2.PaddingLeft = UDim.new(0,2)
  2127. UIPadding_2.PaddingRight = UDim.new(0,2)
  2128. UIPadding_2.PaddingTop = UDim.new(0,2)
  2129.  
  2130. local Click = click(Frame_1)
  2131.  
  2132. local function roundToDecimal(value, decimals)
  2133. local factor = 10 ^ decimals
  2134. return math.floor(value * factor + 0.5) / factor
  2135. end
  2136.  
  2137. local function updateSlider(value)
  2138. value = math.clamp(value, Min, Max)
  2139. value = roundToDecimal(value, Rounding)
  2140. Value = value
  2141. local va = (value - Min) / (Max - Min)
  2142. tw({v = Frame_3, t = 0.15, s = Enum.EasingStyle.Exponential, d = "Out", g = {Size = UDim2.new(math.clamp(va, 0.12, 1), 0, 1, 0)}}):Play()
  2143. TextBox_1.Text = tostring(roundToDecimal(value, Rounding))
  2144. pcall(Callback ,value)
  2145. end
  2146.  
  2147. updateSlider(Value or 0)
  2148.  
  2149. TextBox_1.FocusLost:Connect(function()
  2150. local value = tonumber(TextBox_1.Text) or Min
  2151. updateSlider(value)
  2152. end)
  2153.  
  2154. local function move(input)
  2155. local sliderBar = Frame_2
  2156. local relativeX = math.clamp((input.Position.X - sliderBar.AbsolutePosition.X) / sliderBar.AbsoluteSize.X, 0, 1)
  2157. local value = relativeX * (Max - Min) + Min
  2158. updateSlider(value)
  2159. end
  2160.  
  2161. local dragging = false
  2162.  
  2163. Click.InputBegan:Connect(function(input)
  2164. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  2165. dragging = true
  2166. move(input)
  2167. end
  2168. end)
  2169.  
  2170. Click.InputEnded:Connect(function(input)
  2171. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  2172. dragging = false
  2173. end
  2174. end)
  2175.  
  2176. U.InputChanged:Connect(function(input)
  2177. if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  2178. move(input)
  2179. end
  2180. end)
  2181.  
  2182. local New = {}
  2183.  
  2184. function New:SetTitle(t)
  2185. Config:SetTitle(t)
  2186. end
  2187.  
  2188. function New:SetDesc(t)
  2189. Config:SetDesc(t)
  2190. end
  2191.  
  2192. function New:SetVisible(t)
  2193. Slider.Visible = t
  2194. end
  2195.  
  2196. function New:SetValue(t)
  2197. updateSlider(t)
  2198. end
  2199.  
  2200. function New:SetMin(t)
  2201. Min = t
  2202. if Value < t then
  2203. updateSlider(t)
  2204. end
  2205. end
  2206.  
  2207. function New:SetMax(t)
  2208. Max = t
  2209. if Value > t then
  2210. updateSlider(t)
  2211. end
  2212. end
  2213.  
  2214. return New
  2215. end
  2216.  
  2217. function Func:Code(p)
  2218. local Title = p.Title or 'null'
  2219. local CodeText = p.Code or '-- print("Hello World")'
  2220.  
  2221. local RealBackground = Instance.new("Frame")
  2222. local Code = Instance.new("Frame")
  2223. local UICorner_1 = Instance.new("UICorner")
  2224. local FF_1 = Instance.new("Frame")
  2225. local UIPadding_1 = Instance.new("UIPadding")
  2226. local F_1 = Instance.new("Frame")
  2227. local UICorner_2 = Instance.new("UICorner")
  2228. local Frame_1 = Instance.new("Frame")
  2229. local UIPadding_2 = Instance.new("UIPadding")
  2230. local Frame_2 = Instance.new("Frame")
  2231. local UIPadding_3 = Instance.new("UIPadding")
  2232. local TextBox_2 = Instance.new("TextLabel")
  2233. local Top_1 = Instance.new("Frame")
  2234. local Left_1 = Instance.new("Frame")
  2235. local Whatisthis_1 = Instance.new("ImageLabel")
  2236. local UIListLayout_1 = Instance.new("UIListLayout")
  2237. local Frame_3 = Instance.new("Frame")
  2238. local Frame_4 = Instance.new("Frame")
  2239. local UICorner_3 = Instance.new("UICorner")
  2240. local UIListLayout_2 = Instance.new("UIListLayout")
  2241. local UIPadding_4 = Instance.new("UIPadding")
  2242. local TextLabel_1 = Instance.new("TextLabel")
  2243. local Right_1 = Instance.new("Frame")
  2244. local UIListLayout_3 = Instance.new("UIListLayout")
  2245. local Frame_5 = Instance.new("Frame")
  2246. local TextButton_1 = Instance.new("TextButton")
  2247. local UIPadding_5 = Instance.new("UIPadding")
  2248. local ImageLabel_1 = Instance.new("ImageLabel")
  2249. local UIGradient_1 = Instance.new("UIGradient")
  2250.  
  2251. RealBackground.Name = "Real Background"
  2252. RealBackground.Parent = ScrollingFrame_1
  2253. RealBackground.BackgroundTransparency = 1
  2254. RealBackground.BorderColor3 = Color3.fromRGB(0,0,0)
  2255. RealBackground.BorderSizePixel = 0
  2256. RealBackground.Size = UDim2.new(1, 0,0, 120)
  2257. RealBackground.ClipsDescendants = true
  2258.  
  2259. Code.Name = "Background"
  2260. Code.Parent = RealBackground
  2261. Code.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2262. Code.BorderColor3 = Color3.fromRGB(0,0,0)
  2263. Code.BorderSizePixel = 0
  2264. Code.Size = UDim2.new(1, 0,1, 0)
  2265. Code.ClipsDescendants = true
  2266.  
  2267. UICorner_1.Parent = Code
  2268.  
  2269. FF_1.Name = "FF"
  2270. FF_1.Parent = Code
  2271. FF_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2272. FF_1.BackgroundTransparency = 1
  2273. FF_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2274. FF_1.BorderSizePixel = 0
  2275. FF_1.Size = UDim2.new(1, 0,1, 0)
  2276.  
  2277. UIPadding_1.Parent = FF_1
  2278. UIPadding_1.PaddingBottom = UDim.new(0,8)
  2279. UIPadding_1.PaddingLeft = UDim.new(0,8)
  2280. UIPadding_1.PaddingRight = UDim.new(0,8)
  2281. UIPadding_1.PaddingTop = UDim.new(0,8)
  2282.  
  2283. F_1.Name = "F"
  2284. F_1.Parent = FF_1
  2285. F_1.AnchorPoint = Vector2.new(0, 0.5)
  2286. F_1.BackgroundColor3 = Color3.fromRGB(51,62,68)
  2287. F_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2288. F_1.BorderSizePixel = 0
  2289. F_1.Position = UDim2.new(0, 0,0.5, 0)
  2290. F_1.Size = UDim2.new(1, 0,1, 0)
  2291. F_1.ClipsDescendants = true
  2292.  
  2293. addToTheme('Function.Code.Background Code', F_1)
  2294.  
  2295. UICorner_2.Parent = F_1
  2296.  
  2297. Frame_1.Parent = F_1
  2298. Frame_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2299. Frame_1.BackgroundTransparency = 1
  2300. Frame_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2301. Frame_1.BorderSizePixel = 0
  2302. Frame_1.Size = UDim2.new(1, 0,1, 0)
  2303.  
  2304. UIPadding_2.Parent = Frame_1
  2305. UIPadding_2.PaddingTop = UDim.new(0,30)
  2306.  
  2307. Frame_2.Parent = Frame_1
  2308. Frame_2.BackgroundColor3 = Color3.fromRGB(38, 50, 56)
  2309. Frame_2.BorderColor3 = Color3.fromRGB(0,0,0)
  2310. Frame_2.BorderSizePixel = 0
  2311. Frame_2.Size = UDim2.new(1, 0,1, 0)
  2312.  
  2313. addToTheme('Function.Code.Background Code Value', Frame_2)
  2314.  
  2315. Instance.new('UICorner', Frame_2)
  2316.  
  2317. UIPadding_3.Parent = Frame_2
  2318. UIPadding_3.PaddingBottom = UDim.new(0,5)
  2319. UIPadding_3.PaddingLeft = UDim.new(0,8)
  2320. UIPadding_3.PaddingRight = UDim.new(0,8)
  2321. UIPadding_3.PaddingTop = UDim.new(0,8)
  2322.  
  2323. local ScrollingFrame = Instance.new("ScrollingFrame")
  2324.  
  2325. ScrollingFrame.Parent = Frame_2
  2326. ScrollingFrame.Active = true
  2327. ScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2328. ScrollingFrame.BackgroundTransparency = 1.000
  2329. ScrollingFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  2330. ScrollingFrame.BorderSizePixel = 0
  2331. ScrollingFrame.Size = UDim2.new(1, 0, 1, 0)
  2332. ScrollingFrame.CanvasSize = UDim2.new(2, 0, 0, 0)
  2333. ScrollingFrame.ScrollBarThickness = 4
  2334. ScrollingFrame.ScrollBarImageColor3 = Color3.fromRGB(216, 150, 179)
  2335.  
  2336. addToTheme('Function.Code.ScrollingFrame Code', ScrollingFrame)
  2337.  
  2338. local Code_1 = Instance.new("Frame")
  2339. local UIPaddingCode_1 = Instance.new("UIPadding")
  2340.  
  2341. Code_1.Name = "Code"
  2342. Code_1.Parent = ScrollingFrame
  2343. Code_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2344. Code_1.BackgroundTransparency = 1
  2345. Code_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2346. Code_1.BorderSizePixel = 0
  2347. Code_1.Size = UDim2.new(1, 0,1, 0)
  2348.  
  2349. UIPaddingCode_1.Name = "UIPaddingCode"
  2350. UIPaddingCode_1.Parent = Code_1
  2351. UIPaddingCode_1.PaddingLeft = UDim.new(0,20)
  2352.  
  2353. TextBox_2.Name = "TextBox"
  2354. TextBox_2.Parent = Code_1
  2355. TextBox_2.Active = true
  2356. TextBox_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2357. TextBox_2.BackgroundTransparency = 1
  2358. TextBox_2.BorderColor3 = Color3.fromRGB(0,0,0)
  2359. TextBox_2.BorderSizePixel = 0
  2360. TextBox_2.Size = UDim2.new(0, 0,0, 0)
  2361. TextBox_2.Font = Enum.Font.Code
  2362. TextBox_2.RichText = true
  2363. TextBox_2.TextColor3 = Color3.fromRGB(255,255,255)
  2364. TextBox_2.TextSize = 12
  2365. TextBox_2.TextXAlignment = Enum.TextXAlignment.Left
  2366. TextBox_2.TextYAlignment = Enum.TextYAlignment.Top
  2367. TextBox_2.Text = CodeText
  2368. TextBox_2.AutomaticSize = Enum.AutomaticSize.XY
  2369.  
  2370. addToTheme('Text & Icon', TextBox_2)
  2371.  
  2372. Top_1.Name = "Top"
  2373. Top_1.Parent = F_1
  2374. Top_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2375. Top_1.BackgroundTransparency = 1
  2376. Top_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2377. Top_1.BorderSizePixel = 0
  2378. Top_1.Size = UDim2.new(1, 0,0, 30)
  2379.  
  2380. Left_1.Name = "Left"
  2381. Left_1.Parent = Top_1
  2382. Left_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2383. Left_1.BackgroundTransparency = 1
  2384. Left_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2385. Left_1.BorderSizePixel = 0
  2386. Left_1.Size = UDim2.new(1, 0,1, 0)
  2387.  
  2388. Whatisthis_1.Name = "Whatisthis"
  2389. Whatisthis_1.Parent = Left_1
  2390. Whatisthis_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2391. Whatisthis_1.BackgroundTransparency = 1
  2392. Whatisthis_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2393. Whatisthis_1.BorderSizePixel = 0
  2394. Whatisthis_1.Size = UDim2.new(0, 50,0, 13)
  2395. Whatisthis_1.Image = "rbxassetid://81518443444327"
  2396. Whatisthis_1.ScaleType = Enum.ScaleType.Fit
  2397.  
  2398. UIListLayout_1.Parent = Left_1
  2399. UIListLayout_1.Padding = UDim.new(0,5)
  2400. UIListLayout_1.FillDirection = Enum.FillDirection.Horizontal
  2401. UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
  2402. UIListLayout_1.VerticalAlignment = Enum.VerticalAlignment.Center
  2403.  
  2404. Frame_3.Parent = Left_1
  2405. Frame_3.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2406. Frame_3.BackgroundTransparency = 1
  2407. Frame_3.BorderColor3 = Color3.fromRGB(0,0,0)
  2408. Frame_3.BorderSizePixel = 0
  2409. Frame_3.Size = UDim2.new(0, 100,0, 30)
  2410.  
  2411. Frame_4.Parent = Frame_3
  2412. Frame_4.BackgroundColor3 = Color3.fromRGB(37, 49, 55)
  2413. Frame_4.BorderColor3 = Color3.fromRGB(0,0,0)
  2414. Frame_4.BorderSizePixel = 0
  2415. Frame_4.Position = UDim2.new(0, 0,0.15, 0)
  2416. Frame_4.Size = UDim2.new(1, 0,0, 30)
  2417.  
  2418. addToTheme('Function.Code.Background Code Value', Frame_4)
  2419.  
  2420. addToTheme('Function.Code.Background Value', Frame_4)
  2421.  
  2422. UICorner_3.Parent = Frame_4
  2423.  
  2424. UIListLayout_2.Parent = Frame_4
  2425. UIListLayout_2.Padding = UDim.new(0,5)
  2426. UIListLayout_2.FillDirection = Enum.FillDirection.Horizontal
  2427. UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  2428.  
  2429. UIPadding_4.Parent = Frame_4
  2430. UIPadding_4.PaddingLeft = UDim.new(0,8)
  2431. UIPadding_4.PaddingRight = UDim.new(0,8)
  2432.  
  2433. TextLabel_1.Parent = Frame_4
  2434. TextLabel_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2435. TextLabel_1.BackgroundTransparency = 1
  2436. TextLabel_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2437. TextLabel_1.BorderSizePixel = 0
  2438. TextLabel_1.Size = UDim2.new(1, 0,0, 25)
  2439. TextLabel_1.Font = Enum.Font.GothamBold
  2440. TextLabel_1.Text = tostring(Title)
  2441. TextLabel_1.TextColor3 = Color3.fromRGB(255,255,255)
  2442. TextLabel_1.TextSize = 11
  2443.  
  2444. addToTheme('Text & Icon', TextLabel_1)
  2445.  
  2446. Right_1.Name = "Right"
  2447. Right_1.Parent = Top_1
  2448. Right_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2449. Right_1.BackgroundTransparency = 1
  2450. Right_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2451. Right_1.BorderSizePixel = 0
  2452. Right_1.Size = UDim2.new(1, 0,1, 0)
  2453.  
  2454. UIListLayout_3.Parent = Right_1
  2455. UIListLayout_3.Padding = UDim.new(0,5)
  2456. UIListLayout_3.FillDirection = Enum.FillDirection.Horizontal
  2457. UIListLayout_3.HorizontalAlignment = Enum.HorizontalAlignment.Right
  2458. UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
  2459. UIListLayout_3.VerticalAlignment = Enum.VerticalAlignment.Center
  2460.  
  2461. Frame_5.Parent = Right_1
  2462. Frame_5.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2463. Frame_5.BackgroundTransparency = 1
  2464. Frame_5.BorderColor3 = Color3.fromRGB(0,0,0)
  2465. Frame_5.BorderSizePixel = 0
  2466. Frame_5.Size = UDim2.new(0, 60,0, 30)
  2467.  
  2468. TextButton_1.Parent = Frame_5
  2469. TextButton_1.Active = true
  2470. TextButton_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2471. TextButton_1.BackgroundTransparency = 1
  2472. TextButton_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2473. TextButton_1.BorderSizePixel = 0
  2474. TextButton_1.Size = UDim2.new(1, 0,1, 0)
  2475. TextButton_1.Font = Enum.Font.GothamBold
  2476. TextButton_1.Text = "Copy"
  2477. TextButton_1.TextColor3 = Color3.fromRGB(255,255,255)
  2478. TextButton_1.TextSize = 11
  2479. TextButton_1.TextTransparency = 0.5
  2480. TextButton_1.TextXAlignment = Enum.TextXAlignment.Right
  2481.  
  2482. UIPadding_5.Parent = Frame_5
  2483. UIPadding_5.PaddingRight = UDim.new(0,10)
  2484.  
  2485. ImageLabel_1.Parent = Frame_5
  2486. ImageLabel_1.AnchorPoint = Vector2.new(0, 0.5)
  2487. ImageLabel_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2488. ImageLabel_1.BackgroundTransparency = 1
  2489. ImageLabel_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2490. ImageLabel_1.BorderSizePixel = 0
  2491. ImageLabel_1.Position = UDim2.new(0, 0,0.5, 0)
  2492. ImageLabel_1.Size = UDim2.new(0, 16,0, 16)
  2493. ImageLabel_1.Image = "rbxassetid://13847222481"
  2494. ImageLabel_1.ImageTransparency = 0.5
  2495.  
  2496. UIGradient_1.Parent = Code
  2497. --UIGradient_1.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(216, 150, 179)), ColorSequenceKeypoint.new(1, Color3.fromRGB(105, 81, 164))}
  2498. UIGradient_1.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(29, 28, 38)), ColorSequenceKeypoint.new(1, Color3.fromRGB(29, 28, 38))}
  2499. UIGradient_1.Rotation = 45
  2500.  
  2501. addToTheme('Function.Code.Background', UIGradient_1)
  2502.  
  2503. local Line = Instance.new("Frame")
  2504. local LineText_1 = Instance.new("TextLabel")
  2505.  
  2506. Line.Name = "Line"
  2507. Line.Parent = ScrollingFrame
  2508. Line.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2509. Line.BackgroundTransparency = 1
  2510. Line.BorderColor3 = Color3.fromRGB(0,0,0)
  2511. Line.BorderSizePixel = 0
  2512. Line.Size = UDim2.new(1, 0,1, 0)
  2513.  
  2514. LineText_1.Name = "LineText"
  2515. LineText_1.Parent = Line
  2516. LineText_1.Active = true
  2517. LineText_1.AutomaticSize = Enum.AutomaticSize.XY
  2518. LineText_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2519. LineText_1.BackgroundTransparency = 1
  2520. LineText_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2521. LineText_1.BorderSizePixel = 0
  2522. LineText_1.Size = UDim2.new(0, 0,0, 0)
  2523. LineText_1.Font = Enum.Font.RobotoMono
  2524. LineText_1.RichText = true
  2525. LineText_1.Text = ''
  2526. LineText_1.TextColor3 = Color3.fromRGB(255,255,255)
  2527. LineText_1.TextSize = 12
  2528. LineText_1.TextXAlignment = Enum.TextXAlignment.Left
  2529. LineText_1.TextYAlignment = Enum.TextYAlignment.Top
  2530. LineText_1.TextWrapped = true
  2531.  
  2532. local highlighter = {}
  2533.  
  2534. do
  2535. local keywords = {
  2536. lua = {
  2537. "and", "break", "or", "else", "elseif", "if", "then", "until", "repeat", "while", "do", "for", "in", "end",
  2538. "local", "return", "function", "export"
  2539. },
  2540. rbx = {
  2541. "game", "workspace", "script", "math", "string", "table", "task", "wait", "select", "next", "Enum",
  2542. "error", "warn", "tick", "assert", "shared", "loadstring", "tonumber", "tostring", "type",
  2543. "typeof", "unpack", "print", "Instance", "CFrame", "Vector3", "Vector2", "Color3", "UDim", "UDim2", "Ray", "BrickColor",
  2544. "OverlapParams", "RaycastParams", "Axes", "Random", "Region3", "Rect", "TweenInfo",
  2545. "collectgarbage", "not", "utf8", "pcall", "xpcall", "_G", "setmetatable", "getmetatable", "os", "pairs", "ipairs"
  2546. },
  2547. operators = {
  2548. "#", "+", "-", "*", "%", "/", "^", "=", "~", "=", "<", ">",
  2549. }
  2550. }
  2551.  
  2552. local colors = {
  2553. numbers = Color3.fromHex("#79c0ff"),
  2554. boolean = Color3.fromHex("#79c0ff"),
  2555. operator = Color3.fromHex("#ff7b72"),
  2556. lua = Color3.fromHex("#ff7b72"),
  2557. rbx = Color3.fromHex("#7fcfef"), -- def
  2558. str = Color3.fromHex("#a5d6ff"),
  2559. comment = Color3.fromHex("#8b949e"),
  2560. null = Color3.fromHex("#79c0ff"),
  2561. call = Color3.fromHex("#d2a8ff"),
  2562. self_call = Color3.fromHex("#d2a8ff"),
  2563. local_property = Color3.fromHex("#ff7b72"),
  2564. }
  2565.  
  2566. local function createKeywordSet(keywords)
  2567. local keywordSet = {}
  2568. for _, keyword in ipairs(keywords) do
  2569. keywordSet[keyword] = true
  2570. end
  2571. return keywordSet
  2572. end
  2573.  
  2574. local luaSet = createKeywordSet(keywords.lua)
  2575. local rbxSet = createKeywordSet(keywords.rbx)
  2576. local operatorsSet = createKeywordSet(keywords.operators)
  2577.  
  2578. local function getHighlight(tokens, index)
  2579. local token = tokens[index]
  2580.  
  2581. if colors[token .. "_color"] then
  2582. return colors[token .. "_color"]
  2583. end
  2584.  
  2585. if tonumber(token) then
  2586. return colors.numbers
  2587. elseif token == "nil" then
  2588. return colors.null
  2589. elseif token:sub(1, 2) == "--" then
  2590. return colors.comment
  2591. elseif operatorsSet[token] then
  2592. return colors.operator
  2593. elseif luaSet[token] then
  2594. return colors.lua
  2595. elseif rbxSet[token] then
  2596. return colors.rbx
  2597. elseif token:sub(1, 1) == "\"" or token:sub(1, 1) == "\'" then
  2598. return colors.str
  2599. elseif token == "true" or token == "false" then
  2600. return colors.boolean
  2601. else
  2602. end
  2603.  
  2604. if tokens[index + 1] == "(" then
  2605. if tokens[index - 1] == ":" then
  2606. return colors.self_call
  2607. end
  2608.  
  2609. return colors.call
  2610. end
  2611.  
  2612. if tokens[index - 1] == "." then
  2613. if tokens[index - 2] == "Enum" then
  2614. return colors.rbx
  2615. end
  2616.  
  2617. return colors.local_property
  2618. end
  2619. end
  2620.  
  2621. function highlighter.run(source)
  2622. local tokens = {}
  2623. local multiStrings = {}
  2624. local currentToken = ""
  2625.  
  2626. local index = 1
  2627. source = source:gsub("%[%[.-%]%]", function(str)
  2628. local placeholder = "" .. index .. "__"
  2629. multiStrings[placeholder] = str
  2630. index = index + 1
  2631. return placeholder
  2632. end)
  2633.  
  2634. local inString = false
  2635. local inComment = false
  2636. local commentPersist = false
  2637.  
  2638. for i = 1, #source do
  2639. local character = source:sub(i, i)
  2640.  
  2641. if inComment then
  2642. if character == "\n" and not commentPersist then
  2643. table.insert(tokens, currentToken)
  2644. table.insert(tokens, character)
  2645. currentToken = ""
  2646. inComment = false
  2647. elseif source:sub(i - 1, i) == "]]" and commentPersist then
  2648. currentToken = currentToken .. "]"
  2649. table.insert(tokens, currentToken)
  2650. currentToken = ""
  2651. inComment = false
  2652. commentPersist = false
  2653. else
  2654. currentToken = currentToken .. character
  2655. end
  2656. elseif inString then
  2657. if character == inString and source:sub(i - 1, i - 1) ~= "\\" or character == "\n" then
  2658. currentToken = currentToken .. character
  2659. inString = false
  2660. else
  2661. currentToken = currentToken .. character
  2662. end
  2663. else
  2664. local foundPlaceholder = source:sub(i):match("^__MULTISTR_%d+__")
  2665. if foundPlaceholder then
  2666. table.insert(tokens, foundPlaceholder)
  2667. i = i + #foundPlaceholder - 1
  2668. elseif source:sub(i, i + 1) == "--" then
  2669. table.insert(tokens, currentToken)
  2670. currentToken = "-"
  2671. inComment = true
  2672. commentPersist = source:sub(i + 2, i + 3) == "[["
  2673. elseif character == "\"" or character == "\'" then
  2674. table.insert(tokens, currentToken)
  2675. currentToken = character
  2676. inString = character
  2677. elseif operatorsSet[character] then
  2678. table.insert(tokens, currentToken)
  2679. table.insert(tokens, character)
  2680. currentToken = ""
  2681. elseif character:match("[%w_]") then
  2682. currentToken = currentToken .. character
  2683. else
  2684. table.insert(tokens, currentToken)
  2685. table.insert(tokens, character)
  2686. currentToken = ""
  2687. end
  2688. end
  2689. end
  2690.  
  2691. table.insert(tokens, currentToken)
  2692.  
  2693. local highlighted = {}
  2694.  
  2695. for i, token in ipairs(tokens) do
  2696. if multiStrings[token] then
  2697. local syntax = string.format(
  2698. '<font color = "#%s">%s</font>',
  2699. colors.str:ToHex(),
  2700. multiStrings[token]:gsub("<", "&lt;"):gsub(">", "&gt;")
  2701. )
  2702. table.insert(highlighted, syntax)
  2703. else
  2704. local highlight = getHighlight(tokens, i)
  2705.  
  2706. if highlight then
  2707. local syntax = string.format(
  2708. '<font color = "#%s">%s</font>',
  2709. highlight:ToHex(),
  2710. token:gsub("<", "&lt;"):gsub(">", "&gt;")
  2711. )
  2712. table.insert(highlighted, syntax)
  2713. else
  2714. table.insert(highlighted, token)
  2715. end
  2716. end
  2717. end
  2718.  
  2719. return table.concat(highlighted)
  2720. end
  2721. end
  2722.  
  2723. local iscop = false
  2724.  
  2725. TextButton_1.MouseButton1Click:Connect(function()
  2726. if not iscop then
  2727. setclipboard(CodeText)
  2728. TextButton_1.Text = "Copied"
  2729. ImageLabel_1.Image = "rbxassetid://14939475472"
  2730. Frame_5.Size = UDim2.new(0, 65,0, 30)
  2731. iscop = true
  2732. delay(1, function()
  2733. TextButton_1.Text = "Copy"
  2734. ImageLabel_1.Image = "rbxassetid://13847222481"
  2735. Frame_5.Size = UDim2.new(0, 58,0, 30)
  2736. iscop = false
  2737. end)
  2738. end
  2739. end)
  2740.  
  2741. TextBox_2.Text = highlighter.run(TextBox_2.Text)
  2742.  
  2743. TextBox_2:GetPropertyChangedSignal("AbsoluteSize"):Connect(function()
  2744. ScrollingFrame.CanvasSize = UDim2.new(0, TextBox_2.AbsoluteSize.X + 20, 0, 0)
  2745. end)
  2746.  
  2747. local function updateLineNumbers()
  2748. tw({v = RealBackground, t = 0.15, s = Enum.EasingStyle.Exponential, d = "Out", g = {Size = UDim2.new(1, 0,0, TextBox_2.TextBounds.Y + 65)}}):Play()
  2749. tw({v = Frame_3, t = 0.15, s = Enum.EasingStyle.Exponential, d = "Out", g = {Size = UDim2.new(0, TextLabel_1.TextBounds.X + 30,0, 30)}}):Play()
  2750.  
  2751. local count = #TextBox_2.Text:split("\n")
  2752.  
  2753. local str = ""
  2754. for i = 1, count do
  2755. str = str .. i .. "\n"
  2756. end
  2757. LineText_1.Text = str
  2758. end
  2759.  
  2760. updateLineNumbers()
  2761. TextBox_2:GetPropertyChangedSignal("Text"):Connect(updateLineNumbers)
  2762.  
  2763. local New = {}
  2764.  
  2765. function New:SetTitle(t)
  2766. TextLabel_1.Text = tostring(t)
  2767. end
  2768.  
  2769. function New:SetCode(t)
  2770. TextBox_2.Text = highlighter.run(t)
  2771. CodeText = t
  2772. end
  2773.  
  2774. return New
  2775. end
  2776.  
  2777. function Func:Dropdown(p)
  2778. local Title = p.Title or 'null'
  2779. local Desc = p.Desc or ''
  2780. local Image = p.Image or ''
  2781. local List = p.List or {}
  2782. local Value = p.Value or List[1]
  2783. local Multi = p.Multi or false
  2784. local Callback = p.Callback or function() end
  2785.  
  2786. local Dropdown, Config = background(ScrollingFrame_1, Title, Desc, Image, 'Dropdown')
  2787.  
  2788. Config:SetTextTransparencyTitle(0)
  2789. Config:SetSizeT(125)
  2790.  
  2791. local DropdownSelect = addDropdownSelect(Dropdown, Dropdown, Multi, Callback, Value, List)
  2792.  
  2793. local New = {}
  2794.  
  2795. function New:SetTitle(t)
  2796. Config:SetTitle(t)
  2797. end
  2798.  
  2799. function New:SetDesc(t)
  2800. Config:SetDesc(t)
  2801. end
  2802.  
  2803. function New:SetVisible(t)
  2804. Dropdown.Visible = t
  2805. end
  2806.  
  2807. function New:SetValue(t)
  2808. DropdownSelect:SetValue(t)
  2809. end
  2810.  
  2811. function New:Add(t)
  2812. DropdownSelect:Add(t)
  2813. end
  2814.  
  2815. function New:Clear(t)
  2816. local n = t or nil
  2817. DropdownSelect:Clear(n)
  2818. end
  2819.  
  2820. return New
  2821. end
  2822.  
  2823. function Func:Keybind(p)
  2824. local Title = p.Title or 'null'
  2825. local Desc = p.Desc or ''
  2826. local Image = p.Image or ''
  2827. local Value = p.Value or false
  2828. local Key = p.Key or Enum.KeyCode.E
  2829. local Callback = p.Callback or function() end
  2830.  
  2831. local Keybind, Config = background(ScrollingFrame_1, Title, Desc, Image, 'Keybind')
  2832.  
  2833. Config:SetSizeT(100)
  2834.  
  2835. local F = Instance.new("TextButton")
  2836. local UIListLayout_1 = Instance.new("UIListLayout")
  2837. local UIPadding_1 = Instance.new("UIPadding")
  2838. local ToggleValue_1 = Instance.new("Frame")
  2839. local UICorner_1 = Instance.new("UICorner")
  2840. local Frame_1 = Instance.new("Frame")
  2841. local UICorner_2 = Instance.new("UICorner")
  2842. local UIPadding_2 = Instance.new("UIPadding")
  2843. local KeybindValue_1 = Instance.new("Frame")
  2844. local UICorner_3 = Instance.new("UICorner")
  2845. local UIStroke_1 = Instance.new("UIStroke")
  2846. local TextLabel_1 = Instance.new("TextLabel")
  2847. local UIPadding_3 = Instance.new("UIPadding")
  2848.  
  2849. F.Name = "F"
  2850. F.Parent = Keybind
  2851. F.AnchorPoint = Vector2.new(1, 0.5)
  2852. F.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2853. F.BackgroundTransparency = 1
  2854. F.BorderColor3 = Color3.fromRGB(0,0,0)
  2855. F.BorderSizePixel = 0
  2856. F.Position = UDim2.new(1, 0,0.5, 0)
  2857. F.Size = UDim2.new(0, 100,0.800000012, 0)
  2858. F.Text = ''
  2859.  
  2860. UIListLayout_1.Parent = F
  2861. UIListLayout_1.Padding = UDim.new(0,8)
  2862. UIListLayout_1.FillDirection = Enum.FillDirection.Horizontal
  2863. UIListLayout_1.HorizontalAlignment = Enum.HorizontalAlignment.Right
  2864. UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
  2865. UIListLayout_1.VerticalAlignment = Enum.VerticalAlignment.Center
  2866.  
  2867. UIPadding_1.Parent = F
  2868. UIPadding_1.PaddingRight = UDim.new(0,13)
  2869.  
  2870. ToggleValue_1.Name = "ToggleValue"
  2871. ToggleValue_1.Parent = F
  2872. ToggleValue_1.BackgroundColor3 = Color3.fromRGB(44,34,103)
  2873. ToggleValue_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2874. ToggleValue_1.BorderSizePixel = 0
  2875. ToggleValue_1.LayoutOrder = 1
  2876. ToggleValue_1.Size = UDim2.new(0, 34,0, 17)
  2877.  
  2878. UICorner_1.Parent = ToggleValue_1
  2879. UICorner_1.CornerRadius = UDim.new(1,0)
  2880.  
  2881. Frame_1.Parent = ToggleValue_1
  2882. Frame_1.AnchorPoint = Vector2.new(1, 0.5)
  2883. Frame_1.BackgroundColor3 = Color3.fromRGB(91,68,209)
  2884. Frame_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2885. Frame_1.BorderSizePixel = 0
  2886. Frame_1.Position = UDim2.new(1, 0,0.5, 0)
  2887. Frame_1.Size = UDim2.new(0, 13,0, 13)
  2888.  
  2889. addToTheme('Main', Frame_1)
  2890.  
  2891. UICorner_2.Parent = Frame_1
  2892. UICorner_2.CornerRadius = UDim.new(1,0)
  2893.  
  2894. UIPadding_2.Parent = ToggleValue_1
  2895. UIPadding_2.PaddingLeft = UDim.new(0,2)
  2896. UIPadding_2.PaddingRight = UDim.new(0,2)
  2897.  
  2898. KeybindValue_1.Name = "KeybindValue"
  2899. KeybindValue_1.Parent = F
  2900. KeybindValue_1.BackgroundColor3 = Color3.fromRGB(24,24,31)
  2901. KeybindValue_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2902. KeybindValue_1.BorderSizePixel = 0
  2903. KeybindValue_1.Size = UDim2.new(0, 30,0, 20)
  2904.  
  2905. addToTheme('Function.Keybind.Value Background', KeybindValue_1)
  2906.  
  2907. UICorner_3.Parent = KeybindValue_1
  2908. UICorner_3.CornerRadius = UDim.new(0,4)
  2909.  
  2910. UIStroke_1.Parent = KeybindValue_1
  2911. UIStroke_1.Color = Color3.fromRGB(255,255,255)
  2912. UIStroke_1.Thickness = 1
  2913. UIStroke_1.Transparency = 0.95
  2914.  
  2915. addToTheme('Function.Keybind.Value Stroke', UIStroke_1)
  2916.  
  2917. TextLabel_1.Parent = KeybindValue_1
  2918. TextLabel_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  2919. TextLabel_1.BackgroundTransparency = 1
  2920. TextLabel_1.BorderColor3 = Color3.fromRGB(0,0,0)
  2921. TextLabel_1.BorderSizePixel = 0
  2922. TextLabel_1.Size = UDim2.new(1, 0,1, 0)
  2923. TextLabel_1.Font = Enum.Font.GothamBold
  2924. TextLabel_1.RichText = true
  2925. TextLabel_1.Text = tostring(Key):gsub("Enum.KeyCode.", "")
  2926. TextLabel_1.TextColor3 = Color3.fromRGB(255,255,255)
  2927. TextLabel_1.TextSize = 10
  2928. TextLabel_1.TextTransparency = 0.30000001192092896
  2929. TextLabel_1.TextWrapped = true
  2930.  
  2931. addToTheme('Text & Icon', TextLabel_1)
  2932.  
  2933. UIPadding_3.Parent = KeybindValue_1
  2934. UIPadding_3.PaddingLeft = UDim.new(0,5)
  2935. UIPadding_3.PaddingRight = UDim.new(0,5)
  2936.  
  2937. local Click = click(Keybind)
  2938. KeybindValue_1.ZIndex = 2
  2939. F.ZIndex = 2
  2940.  
  2941. Value = not Value
  2942.  
  2943. local function change()
  2944. Value = not Value
  2945. if Value then
  2946. Config:SetTextTransparencyTitle(0)
  2947. tw({v = ToggleValue_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {BackgroundColor3 = themes[IsTheme].Function.Keybind.True['Toggle Background']}}):Play()
  2948. tw({v = Frame_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out",
  2949. g = {
  2950. BackgroundColor3 = themes[IsTheme].Function.Keybind.True['Toggle Value'],
  2951. AnchorPoint = Vector2.new(1, 0.5),
  2952. Position = UDim2.new(1, 0,0.5, 0)
  2953. }}):Play()
  2954. else
  2955. Config:SetTextTransparencyTitle(0.7)
  2956. tw({v = ToggleValue_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {BackgroundColor3 = themes[IsTheme].Function.Keybind.False['Toggle Background']}}):Play()
  2957. tw({v = Frame_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out",
  2958. g = {
  2959. BackgroundColor3 = themes[IsTheme].Function.Keybind.False['Toggle Value'],
  2960. AnchorPoint = Vector2.new(0, 0.5),
  2961. Position = UDim2.new(0, 0,0.5, 0)
  2962. }}):Play()
  2963. end
  2964. end
  2965.  
  2966. Click.MouseButton1Click:Connect(change)
  2967.  
  2968. delay(0.1, change)
  2969.  
  2970. local changeing = false
  2971.  
  2972. local function adjustBoxBindSize()
  2973. local textSize = game:GetService("TextService"):GetTextSize(TextLabel_1.Text, TextLabel_1.TextSize, TextLabel_1.Font, Vector2.new(1000, 1000))
  2974. tw({v = KeybindValue_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {Size = UDim2.new(0, textSize.X + 20, 0, 20)}}):Play()
  2975. end
  2976.  
  2977. adjustBoxBindSize()
  2978.  
  2979. local function changeKey()
  2980. changeing = true
  2981. TextLabel_1.Text = "..."
  2982. local inputConnection
  2983. inputConnection = U.InputBegan:Connect(function(input)
  2984. if input.UserInputType == Enum.UserInputType.Keyboard then
  2985. Key = input.KeyCode
  2986. TextLabel_1.Text = tostring(Key):gsub("Enum.KeyCode.", "")
  2987. adjustBoxBindSize()
  2988. inputConnection:Disconnect()
  2989. pcall(Callback, Key, Value)
  2990. task.wait(.1)
  2991. changeing = false
  2992. end
  2993. end)
  2994. end
  2995.  
  2996. U.InputBegan:Connect(function(input, gameProcessed)
  2997. if input.KeyCode == Key and not changeing then
  2998. change()
  2999. pcall(Callback, Key, Value)
  3000. end
  3001. end)
  3002.  
  3003. delay(0, function()
  3004. pcall(Callback, Key, Value)
  3005. end)
  3006.  
  3007. Keybind:GetPropertyChangedSignal("BackgroundColor3"):Connect(function()
  3008. if Value then
  3009. ToggleValue_1.BackgroundColor3 = themes[IsTheme].Function.Keybind.True['Toggle Background']
  3010. Frame_1.BackgroundColor3 = themes[IsTheme].Function.Keybind.True['Toggle Value']
  3011. else
  3012. ToggleValue_1.BackgroundColor3 = themes[IsTheme].Function.Keybind.False['Toggle Background']
  3013. Frame_1.BackgroundColor3 = themes[IsTheme].Function.Keybind.False['Toggle Value']
  3014. end
  3015. end)
  3016.  
  3017. F.MouseButton1Click:Connect(changeKey)
  3018.  
  3019. local New = {}
  3020.  
  3021. function New:SetTitle(t)
  3022. Config:SetTitle(t)
  3023. end
  3024.  
  3025. function New:SetDesc(t)
  3026. Config:SetDesc(t)
  3027. end
  3028.  
  3029. function New:SetVisible(t)
  3030. Keybind.Visible = t
  3031. end
  3032.  
  3033. function New:SetValue(t)
  3034. Value = not t
  3035. change()
  3036. end
  3037.  
  3038. function New:SetKey(t)
  3039. Key = t
  3040. TextLabel_1.Text = tostring(Key):gsub("Enum.KeyCode.", "")
  3041. adjustBoxBindSize()
  3042. pcall(Callback, Key, Value)
  3043. end
  3044.  
  3045. return New
  3046. end
  3047.  
  3048. function Func:ColorPicker(p)
  3049. local Title = p.Title
  3050. local Desc = p.Desc or ''
  3051. local Image = p.Image or ''
  3052. local Value = p.Value or Color3.fromRGB(255, 255, 255)
  3053. local Callback = p.Callback or function() end
  3054.  
  3055. local ColorPicker, Config = background(ScrollingFrame_1, Title, Desc, Image, 'Color Picker')
  3056.  
  3057. Config:SetTextTransparencyTitle(0)
  3058. Config:SetSizeT(50)
  3059.  
  3060. local ListFunctionColorPicker = Instance.new("Frame")
  3061. local Picker_1 = Instance.new("Frame")
  3062. local UICorner_1 = Instance.new("UICorner")
  3063. local GlowDot_1 = Instance.new("ImageLabel")
  3064. local Picker_2 = Instance.new("Frame")
  3065. local UICorner_2 = Instance.new("UICorner")
  3066. local UIPadding_1 = Instance.new("UIPadding")
  3067.  
  3068. ListFunctionColorPicker.Name = "ListFunctionColorPicker"
  3069. ListFunctionColorPicker.Parent = ColorPicker
  3070. ListFunctionColorPicker.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3071. ListFunctionColorPicker.BackgroundTransparency = 1
  3072. ListFunctionColorPicker.BorderColor3 = Color3.fromRGB(0,0,0)
  3073. ListFunctionColorPicker.BorderSizePixel = 0
  3074. ListFunctionColorPicker.Size = UDim2.new(1, 0,1, 0)
  3075.  
  3076. Picker_1.Name = "Picker"
  3077. Picker_1.Parent = ListFunctionColorPicker
  3078. Picker_1.AnchorPoint = Vector2.new(1, 0.5)
  3079. Picker_1.BackgroundColor3 = Value
  3080. Picker_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3081. Picker_1.BorderSizePixel = 0
  3082. Picker_1.Position = UDim2.new(1, 0,0.5, 0)
  3083. Picker_1.Size = UDim2.new(0, 20,0, 20)
  3084.  
  3085. UICorner_1.Parent = Picker_1
  3086. UICorner_1.CornerRadius = UDim.new(1,0)
  3087.  
  3088. GlowDot_1.Name = "GlowDot"
  3089. GlowDot_1.Parent = Picker_1
  3090. GlowDot_1.AnchorPoint = Vector2.new(0.5, 0.5)
  3091. GlowDot_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3092. GlowDot_1.BackgroundTransparency = 1
  3093. GlowDot_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3094. GlowDot_1.BorderSizePixel = 0
  3095. GlowDot_1.Position = UDim2.new(0.5, 0,0.5, 0)
  3096. GlowDot_1.Size = UDim2.new(1.5, 0,1.5, 0)
  3097. GlowDot_1.Image = "rbxassetid://105506802034513"
  3098. GlowDot_1.ImageColor3 = Value
  3099. GlowDot_1.ImageTransparency = 0.2
  3100.  
  3101. Picker_2.Name = "Picker"
  3102. Picker_2.Parent = GlowDot_1
  3103. Picker_2.AnchorPoint = Vector2.new(0.5, 0.5)
  3104. Picker_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3105. Picker_2.BorderColor3 = Color3.fromRGB(0,0,0)
  3106. Picker_2.BorderSizePixel = 0
  3107. Picker_2.Position = UDim2.new(0.5, 0,0.5, 0)
  3108. Picker_2.Size = UDim2.new(0, 12,0, 12)
  3109.  
  3110. UICorner_2.Parent = Picker_2
  3111. UICorner_2.CornerRadius = UDim.new(1,0)
  3112.  
  3113. UIPadding_1.Parent = ListFunctionColorPicker
  3114. UIPadding_1.PaddingRight = UDim.new(0,10)
  3115.  
  3116. local ColorpickBar = Instance.new("Frame")
  3117. local UICorner_1 = Instance.new("UICorner")
  3118. local UIStroke_1 = Instance.new("UIStroke")
  3119. local UIPadding_1 = Instance.new("UIPadding")
  3120. local Color_1 = Instance.new("ImageLabel")
  3121. local ColorCorner_1 = Instance.new("UICorner")
  3122. local ColorSelection_1 = Instance.new("ImageLabel")
  3123. local Hue_1 = Instance.new("ImageLabel")
  3124. local HueCorner_1 = Instance.new("UICorner")
  3125. local HueGradient_1 = Instance.new("UIGradient")
  3126. local HueSelection_1 = Instance.new("ImageLabel")
  3127.  
  3128. lak(ColorpickBar)
  3129.  
  3130. ColorpickBar.Name = "ColorpickBar"
  3131. ColorpickBar.Parent = ScreenGui
  3132. ColorpickBar.BackgroundColor3 = Color3.fromRGB(24, 24, 31)
  3133. ColorpickBar.BorderColor3 = Color3.fromRGB(0,0,0)
  3134. ColorpickBar.BorderSizePixel = 0
  3135. ColorpickBar.Size = UDim2.new(0, 120,0, 0)
  3136. ColorpickBar.ClipsDescendants = true
  3137. local targetX = Picker_1.AbsolutePosition.X - ColorpickBar.Parent.AbsolutePosition.X + Picker_1.Size.X.Offset - 100
  3138. local targetY = Picker_1.AbsolutePosition.Y - ColorpickBar.Parent.AbsolutePosition.Y + Picker_1.Size.Y.Offset - 20
  3139. ColorpickBar.Position = UDim2.new(0, targetX, 0, targetY)
  3140.  
  3141. addToTheme('Function.Color Picker.Color Select.Background', ColorpickBar)
  3142.  
  3143. UICorner_1.Parent = ColorpickBar
  3144. UICorner_1.CornerRadius = UDim.new(0, 6)
  3145.  
  3146. UIStroke_1.Parent = ColorpickBar
  3147. UIStroke_1.Thickness = 1
  3148. UIStroke_1.Transparency = 1
  3149. UIStroke_1.Color = Color3.fromRGB(255, 255, 255)
  3150. UIStroke_1.Transparency = 0.95
  3151.  
  3152. addToTheme('Function.Color Picker.Color Select.UIStroke', UIStroke_1)
  3153.  
  3154. UIPadding_1.Parent = ColorpickBar
  3155. UIPadding_1.PaddingBottom = UDim.new(0,5)
  3156. UIPadding_1.PaddingLeft = UDim.new(0,10)
  3157. UIPadding_1.PaddingRight = UDim.new(0,10)
  3158. UIPadding_1.PaddingTop = UDim.new(0,5)
  3159.  
  3160. Color_1.Name = "Color"
  3161. Color_1.Parent = ColorpickBar
  3162. Color_1.AnchorPoint = Vector2.new(0, 0)
  3163. Color_1.BackgroundColor3 = Color3.fromRGB(39,39,39)
  3164. Color_1.Position = UDim2.new(0, 0,0, 25)
  3165. Color_1.Size = UDim2.new(0, 80,0, 80)
  3166. Color_1.ZIndex = 10
  3167. Color_1.Image = "rbxassetid://4155801252"
  3168.  
  3169. ColorCorner_1.Name = "ColorCorner"
  3170. ColorCorner_1.Parent = Color_1
  3171. ColorCorner_1.CornerRadius = UDim.new(0,3)
  3172.  
  3173. ColorSelection_1.Name = "ColorSelection"
  3174. ColorSelection_1.Parent = Color_1
  3175. ColorSelection_1.AnchorPoint = Vector2.new(0.5, 0.5)
  3176. ColorSelection_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3177. ColorSelection_1.BackgroundTransparency = 1
  3178. ColorSelection_1.Size = UDim2.new(0, 12,0, 12)
  3179. ColorSelection_1.Image = "http://www.roblox.com/asset/?id=4805639000"
  3180. ColorSelection_1.ScaleType = Enum.ScaleType.Fit
  3181.  
  3182. Hue_1.Name = "Hue"
  3183. Hue_1.Parent = ColorpickBar
  3184. Hue_1.AnchorPoint = Vector2.new(0, 0)
  3185. Hue_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3186. Hue_1.Position = UDim2.new(0.47, 0,0, 25)
  3187. Hue_1.Size = UDim2.new(0, 10,0, 80)
  3188.  
  3189. HueCorner_1.Name = "HueCorner"
  3190. HueCorner_1.Parent = Hue_1
  3191. HueCorner_1.CornerRadius = UDim.new(1,0)
  3192.  
  3193. HueGradient_1.Name = "HueGradient"
  3194. HueGradient_1.Parent = Hue_1
  3195. HueGradient_1.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 4)), ColorSequenceKeypoint.new(0.2, Color3.fromRGB(234, 255, 0)), ColorSequenceKeypoint.new(0.4, Color3.fromRGB(21, 255, 0)), ColorSequenceKeypoint.new(0.6, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(0.8, Color3.fromRGB(0, 17, 255)), ColorSequenceKeypoint.new(0.9, Color3.fromRGB(255, 0, 251)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 4))}
  3196. HueGradient_1.Rotation = 270
  3197.  
  3198. HueSelection_1.Name = "HueSelection"
  3199. HueSelection_1.Parent = Hue_1
  3200. HueSelection_1.AnchorPoint = Vector2.new(0.5, 0.5)
  3201. HueSelection_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3202. HueSelection_1.BackgroundTransparency = 1
  3203. HueSelection_1.Position = UDim2.new(0.5, 0,1, 0)
  3204. HueSelection_1.Size = UDim2.new(0, 12,0, 12)
  3205. HueSelection_1.Image = "http://www.roblox.com/asset/?id=4805639000"
  3206.  
  3207. local TitleColorPicker = Instance.new("TextLabel")
  3208.  
  3209. TitleColorPicker.Name = "TitleColorPicker"
  3210. TitleColorPicker.Parent = ColorpickBar
  3211. TitleColorPicker.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3212. TitleColorPicker.BackgroundTransparency = 1.000
  3213. TitleColorPicker.BorderColor3 = Color3.fromRGB(0, 0, 0)
  3214. TitleColorPicker.BorderSizePixel = 0
  3215. TitleColorPicker.Size = UDim2.new(1, 0, 0, 27)
  3216. TitleColorPicker.Font = Enum.Font.GothamBold
  3217. TitleColorPicker.Text = Title
  3218. TitleColorPicker.TextColor3 = Color3.fromRGB(0, 0, 0)
  3219. TitleColorPicker.TextSize = 12.000
  3220. TitleColorPicker.TextXAlignment = Enum.TextXAlignment.Left
  3221. TitleColorPicker.TextColor3 = Color3.fromRGB(255, 255, 255)
  3222.  
  3223. addToTheme('Text & Icon', TitleColorPicker)
  3224.  
  3225. local BoxColor = Instance.new("Frame")
  3226. local Hax_1 = Instance.new("Frame")
  3227. local BarValueHax_1 = Instance.new("Frame")
  3228. local UICorner_1 = Instance.new("UICorner")
  3229. local UIStroke_11 = Instance.new("UIStroke")
  3230. local TextLabel_1 = Instance.new("TextBox")
  3231. local TextLabel_2 = Instance.new("TextLabel")
  3232. local UIListLayoutBoxColor_1 = Instance.new("UIListLayout")
  3233. local Red_1 = Instance.new("Frame")
  3234. local BarValueRed_1 = Instance.new("Frame")
  3235. local UICorner_2 = Instance.new("UICorner")
  3236. local UIStroke_2 = Instance.new("UIStroke")
  3237. local TextLabel_3 = Instance.new("TextBox")
  3238. local TextLabel_4 = Instance.new("TextLabel")
  3239. local Green_1 = Instance.new("Frame")
  3240. local BarValueGreen_1 = Instance.new("Frame")
  3241. local UICorner_3 = Instance.new("UICorner")
  3242. local UIStroke_3 = Instance.new("UIStroke")
  3243. local TextLabel_5 = Instance.new("TextBox")
  3244. local TextLabel_6 = Instance.new("TextLabel")
  3245. local Blue_1 = Instance.new("Frame")
  3246. local BarValueBlue_1 = Instance.new("Frame")
  3247. local UICorner_4 = Instance.new("UICorner")
  3248. local UIStroke_4 = Instance.new("UIStroke")
  3249. local TextLabel_7 = Instance.new("TextBox")
  3250. local TextLabel_8 = Instance.new("TextLabel")
  3251.  
  3252. BoxColor.Name = "BoxColor"
  3253. BoxColor.Parent = ColorpickBar
  3254. BoxColor.AnchorPoint = Vector2.new(1, 0)
  3255. BoxColor.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3256. BoxColor.BackgroundTransparency = 1
  3257. BoxColor.BorderColor3 = Color3.fromRGB(0,0,0)
  3258. BoxColor.BorderSizePixel = 0
  3259. BoxColor.Position = UDim2.new(1, 0,0, 25)
  3260. BoxColor.Size = UDim2.new(0, 80,0, 80)
  3261.  
  3262. Hax_1.Name = "Hax"
  3263. Hax_1.Parent = BoxColor
  3264. Hax_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3265. Hax_1.BackgroundTransparency = 1
  3266. Hax_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3267. Hax_1.BorderSizePixel = 0
  3268. Hax_1.Size = UDim2.new(1, 0,0, 21)
  3269.  
  3270. BarValueHax_1.Name = "BarValueHax"
  3271. BarValueHax_1.Parent = Hax_1
  3272. BarValueHax_1.AnchorPoint = Vector2.new(0, 0.5)
  3273. BarValueHax_1.BackgroundColor3 = Color3.fromRGB(217,217,217)
  3274. BarValueHax_1.BackgroundTransparency = 1
  3275. BarValueHax_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3276. BarValueHax_1.BorderSizePixel = 0
  3277. BarValueHax_1.Position = UDim2.new(0, 0,0.5, 0)
  3278. BarValueHax_1.Size = UDim2.new(0.6, 0,0, 15)
  3279.  
  3280. UICorner_1.Parent = BarValueHax_1
  3281. UICorner_1.CornerRadius = UDim.new(1,0)
  3282.  
  3283. UIStroke_11.Parent = BarValueHax_1
  3284. UIStroke_11.Thickness = 1
  3285. UIStroke_11.Color = Color3.fromRGB(255, 255, 255)
  3286. UIStroke_11.Transparency = 0.95
  3287.  
  3288. addToTheme('Function.Color Picker.Color Select.UIStroke', UIStroke_11)
  3289.  
  3290. TextLabel_1.Name = "TextLabel"
  3291. TextLabel_1.Parent = BarValueHax_1
  3292. TextLabel_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3293. TextLabel_1.BackgroundTransparency = 1
  3294. TextLabel_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3295. TextLabel_1.BorderSizePixel = 0
  3296. TextLabel_1.Size = UDim2.new(1, 0,1, 0)
  3297. TextLabel_1.Font = Enum.Font.Gotham
  3298. TextLabel_1.PlaceholderColor3 = Color3.fromRGB(178,178,178)
  3299. TextLabel_1.PlaceholderText = "#FFFFFF"
  3300. TextLabel_1.Text = "#FFFFFF"
  3301. TextLabel_1.TextSize = 9
  3302. TextLabel_1.TextTruncate = Enum.TextTruncate.AtEnd
  3303. TextLabel_1.TextColor3 = Color3.fromRGB(255, 255, 255)
  3304.  
  3305. addToTheme('Text & Icon', TextLabel_1)
  3306.  
  3307. TextLabel_2.Parent = Hax_1
  3308. TextLabel_2.AnchorPoint = Vector2.new(1, 0.5)
  3309. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3310. TextLabel_2.BackgroundTransparency = 1
  3311. TextLabel_2.BorderColor3 = Color3.fromRGB(0,0,0)
  3312. TextLabel_2.BorderSizePixel = 0
  3313. TextLabel_2.Position = UDim2.new(0.980000019, 0,0.5, 0)
  3314. TextLabel_2.Size = UDim2.new(0, 20,0, 20)
  3315. TextLabel_2.Font = Enum.Font.Gotham
  3316. TextLabel_2.Text = "Hax"
  3317. TextLabel_2.TextSize = 9
  3318. TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
  3319. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  3320.  
  3321. addToTheme('Text & Icon', TextLabel_2)
  3322.  
  3323. UIListLayoutBoxColor_1.Name = "UIListLayoutBoxColor"
  3324. UIListLayoutBoxColor_1.Parent = BoxColor
  3325. UIListLayoutBoxColor_1.SortOrder = Enum.SortOrder.LayoutOrder
  3326. UIListLayoutBoxColor_1.VerticalAlignment = Enum.VerticalAlignment.Center
  3327.  
  3328. Red_1.Name = "Red"
  3329. Red_1.Parent = BoxColor
  3330. Red_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3331. Red_1.BackgroundTransparency = 1
  3332. Red_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3333. Red_1.BorderSizePixel = 0
  3334. Red_1.LayoutOrder = 1
  3335. Red_1.Size = UDim2.new(1, 0,0, 21)
  3336.  
  3337. BarValueRed_1.Name = "BarValueRed"
  3338. BarValueRed_1.Parent = Red_1
  3339. BarValueRed_1.AnchorPoint = Vector2.new(0, 0.5)
  3340. BarValueRed_1.BackgroundColor3 = Color3.fromRGB(217,217,217)
  3341. BarValueRed_1.BackgroundTransparency = 1
  3342. BarValueRed_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3343. BarValueRed_1.BorderSizePixel = 0
  3344. BarValueRed_1.Position = UDim2.new(0, 0,0.5, 0)
  3345. BarValueRed_1.Size = UDim2.new(0.600000024, 0,0, 15)
  3346.  
  3347. UICorner_2.Parent = BarValueRed_1
  3348. UICorner_2.CornerRadius = UDim.new(1,0)
  3349.  
  3350. UIStroke_2.Parent = BarValueRed_1
  3351. UIStroke_2.Thickness = 1
  3352. UIStroke_2.Color = Color3.fromRGB(255, 255, 255)
  3353. UIStroke_2.Transparency = 0.95
  3354.  
  3355. addToTheme('Function.Color Picker.Color Select.UIStroke', UIStroke_2)
  3356.  
  3357. TextLabel_3.Name = "TextLabel"
  3358. TextLabel_3.Parent = BarValueRed_1
  3359. TextLabel_3.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3360. TextLabel_3.BackgroundTransparency = 1
  3361. TextLabel_3.BorderColor3 = Color3.fromRGB(0,0,0)
  3362. TextLabel_3.BorderSizePixel = 0
  3363. TextLabel_3.Size = UDim2.new(1, 0,1, 0)
  3364. TextLabel_3.Font = Enum.Font.Gotham
  3365. TextLabel_3.PlaceholderColor3 = Color3.fromRGB(178,178,178)
  3366. TextLabel_3.PlaceholderText = "255"
  3367. TextLabel_3.Text = "255"
  3368. TextLabel_3.TextSize = 9
  3369. TextLabel_3.TextTruncate = Enum.TextTruncate.AtEnd
  3370. TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  3371.  
  3372. addToTheme('Text & Icon', TextLabel_3)
  3373.  
  3374. TextLabel_4.Parent = Red_1
  3375. TextLabel_4.AnchorPoint = Vector2.new(1, 0.5)
  3376. TextLabel_4.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3377. TextLabel_4.BackgroundTransparency = 1
  3378. TextLabel_4.BorderColor3 = Color3.fromRGB(0,0,0)
  3379. TextLabel_4.BorderSizePixel = 0
  3380. TextLabel_4.Position = UDim2.new(0.980000019, 0,0.5, 0)
  3381. TextLabel_4.Size = UDim2.new(0, 20,0, 20)
  3382. TextLabel_4.Font = Enum.Font.Gotham
  3383. TextLabel_4.Text = "Red"
  3384. TextLabel_4.TextSize = 9
  3385. TextLabel_4.TextXAlignment = Enum.TextXAlignment.Left
  3386. TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255)
  3387.  
  3388. addToTheme('Text & Icon', TextLabel_4)
  3389.  
  3390. Green_1.Name = "Green"
  3391. Green_1.Parent = BoxColor
  3392. Green_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3393. Green_1.BackgroundTransparency = 1
  3394. Green_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3395. Green_1.BorderSizePixel = 0
  3396. Green_1.LayoutOrder = 2
  3397. Green_1.Size = UDim2.new(1, 0,0, 21)
  3398.  
  3399. BarValueGreen_1.Name = "BarValueGreen"
  3400. BarValueGreen_1.Parent = Green_1
  3401. BarValueGreen_1.AnchorPoint = Vector2.new(0, 0.5)
  3402. BarValueGreen_1.BackgroundColor3 = Color3.fromRGB(217,217,217)
  3403. BarValueGreen_1.BackgroundTransparency = 1
  3404. BarValueGreen_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3405. BarValueGreen_1.BorderSizePixel = 0
  3406. BarValueGreen_1.Position = UDim2.new(0, 0,0.5, 0)
  3407. BarValueGreen_1.Size = UDim2.new(0.600000024, 0,0, 15)
  3408.  
  3409. UICorner_3.Parent = BarValueGreen_1
  3410. UICorner_3.CornerRadius = UDim.new(1,0)
  3411.  
  3412. UIStroke_3.Parent = BarValueGreen_1
  3413. UIStroke_3.Thickness = 1
  3414. UIStroke_3.Color = Color3.fromRGB(255, 255, 255)
  3415. UIStroke_3.Transparency = 0.95
  3416.  
  3417. addToTheme('Function.Color Picker.Color Select.UIStroke', UIStroke_3)
  3418.  
  3419. TextLabel_5.Name = "TextLabel"
  3420. TextLabel_5.Parent = BarValueGreen_1
  3421. TextLabel_5.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3422. TextLabel_5.BackgroundTransparency = 1
  3423. TextLabel_5.BorderColor3 = Color3.fromRGB(0,0,0)
  3424. TextLabel_5.BorderSizePixel = 0
  3425. TextLabel_5.Size = UDim2.new(1, 0,1, 0)
  3426. TextLabel_5.Font = Enum.Font.Gotham
  3427. TextLabel_5.PlaceholderColor3 = Color3.fromRGB(178,178,178)
  3428. TextLabel_5.PlaceholderText = "255"
  3429. TextLabel_5.Text = "255"
  3430. TextLabel_5.TextSize = 9
  3431. TextLabel_5.TextTruncate = Enum.TextTruncate.AtEnd
  3432. TextLabel_5.TextColor3 = Color3.fromRGB(255, 255, 255)
  3433.  
  3434. addToTheme('Text & Icon', TextLabel_5)
  3435.  
  3436. TextLabel_6.Parent = Green_1
  3437. TextLabel_6.AnchorPoint = Vector2.new(1, 0.5)
  3438. TextLabel_6.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3439. TextLabel_6.BackgroundTransparency = 1
  3440. TextLabel_6.BorderColor3 = Color3.fromRGB(0,0,0)
  3441. TextLabel_6.BorderSizePixel = 0
  3442. TextLabel_6.Position = UDim2.new(0.980000019, 0,0.5, 0)
  3443. TextLabel_6.Size = UDim2.new(0, 20,0, 20)
  3444. TextLabel_6.Font = Enum.Font.Gotham
  3445. TextLabel_6.Text = "Green"
  3446. TextLabel_6.TextSize = 9
  3447. TextLabel_6.TextXAlignment = Enum.TextXAlignment.Left
  3448. TextLabel_6.TextColor3 = Color3.fromRGB(255, 255, 255)
  3449.  
  3450. addToTheme('Text & Icon', TextLabel_6)
  3451.  
  3452. Blue_1.Name = "Blue"
  3453. Blue_1.Parent = BoxColor
  3454. Blue_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3455. Blue_1.BackgroundTransparency = 1
  3456. Blue_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3457. Blue_1.BorderSizePixel = 0
  3458. Blue_1.LayoutOrder = 3
  3459. Blue_1.Size = UDim2.new(1, 0,0, 21)
  3460.  
  3461. BarValueBlue_1.Name = "BarValueBlue"
  3462. BarValueBlue_1.Parent = Blue_1
  3463. BarValueBlue_1.AnchorPoint = Vector2.new(0, 0.5)
  3464. BarValueBlue_1.BackgroundColor3 = Color3.fromRGB(217,217,217)
  3465. BarValueBlue_1.BackgroundTransparency = 1
  3466. BarValueBlue_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3467. BarValueBlue_1.BorderSizePixel = 0
  3468. BarValueBlue_1.Position = UDim2.new(0, 0,0.5, 0)
  3469. BarValueBlue_1.Size = UDim2.new(0.600000024, 0,0, 15)
  3470.  
  3471. UICorner_4.Parent = BarValueBlue_1
  3472. UICorner_4.CornerRadius = UDim.new(1,0)
  3473.  
  3474. UIStroke_4.Parent = BarValueBlue_1
  3475. UIStroke_4.Thickness = 1
  3476. UIStroke_4.Color = Color3.fromRGB(255, 255, 255)
  3477. UIStroke_4.Transparency = 0.95
  3478.  
  3479. addToTheme('Function.Color Picker.Color Select.UIStroke', UIStroke_4)
  3480.  
  3481. TextLabel_7.Name = "TextLabel"
  3482. TextLabel_7.Parent = BarValueBlue_1
  3483. TextLabel_7.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3484. TextLabel_7.BackgroundTransparency = 1
  3485. TextLabel_7.BorderColor3 = Color3.fromRGB(0,0,0)
  3486. TextLabel_7.BorderSizePixel = 0
  3487. TextLabel_7.Size = UDim2.new(1, 0,1, 0)
  3488. TextLabel_7.Font = Enum.Font.Gotham
  3489. TextLabel_7.PlaceholderColor3 = Color3.fromRGB(178,178,178)
  3490. TextLabel_7.PlaceholderText = "255"
  3491. TextLabel_7.Text = "255"
  3492. TextLabel_7.TextSize = 9
  3493. TextLabel_7.TextTruncate = Enum.TextTruncate.AtEnd
  3494. TextLabel_7.TextColor3 = Color3.fromRGB(255, 255, 255)
  3495.  
  3496. addToTheme('Text & Icon', TextLabel_7)
  3497.  
  3498. TextLabel_8.Parent = Blue_1
  3499. TextLabel_8.AnchorPoint = Vector2.new(1, 0.5)
  3500. TextLabel_8.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3501. TextLabel_8.BackgroundTransparency = 1
  3502. TextLabel_8.BorderColor3 = Color3.fromRGB(0,0,0)
  3503. TextLabel_8.BorderSizePixel = 0
  3504. TextLabel_8.Position = UDim2.new(0.980000019, 0,0.5, 0)
  3505. TextLabel_8.Size = UDim2.new(0, 20,0, 20)
  3506. TextLabel_8.Font = Enum.Font.Gotham
  3507. TextLabel_8.Text = "Blue"
  3508. TextLabel_8.TextSize = 9
  3509. TextLabel_8.TextXAlignment = Enum.TextXAlignment.Left
  3510. TextLabel_8.TextColor3 = Color3.fromRGB(255, 255, 255)
  3511.  
  3512. addToTheme('Text & Icon', TextLabel_8)
  3513.  
  3514. local Shower = Instance.new("Frame")
  3515. local UICornerShow = Instance.new("UICorner")
  3516. local GlowDotShow = Instance.new("ImageLabel")
  3517.  
  3518. Shower.Name = "Shower"
  3519. Shower.Parent = ColorpickBar
  3520. Shower.AnchorPoint = Vector2.new(1, 0)
  3521. Shower.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  3522. Shower.BorderColor3 = Color3.fromRGB(0, 0, 0)
  3523. Shower.BorderSizePixel = 0
  3524. Shower.Position = UDim2.new(1, 0, 0.0500000007, 0)
  3525. Shower.Size = UDim2.new(0, 40, 0, 15)
  3526.  
  3527. UICornerShow.CornerRadius = UDim.new(1, 0)
  3528. UICornerShow.Name = "UICornerShow"
  3529. UICornerShow.Parent = Shower
  3530.  
  3531. GlowDotShow.Name = "GlowDotShow"
  3532. GlowDotShow.Parent = Shower
  3533. GlowDotShow.AnchorPoint = Vector2.new(0.5, 0.5)
  3534. GlowDotShow.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3535. GlowDotShow.BackgroundTransparency = 1.000
  3536. GlowDotShow.BorderColor3 = Color3.fromRGB(0, 0, 0)
  3537. GlowDotShow.BorderSizePixel = 0
  3538. GlowDotShow.Position = UDim2.new(0.5, 0, 0.5, 0)
  3539. GlowDotShow.Size = UDim2.new(1.25, 0, 1.5, 0)
  3540. GlowDotShow.Image = "rbxassetid://105506802034513"
  3541. GlowDotShow.ImageColor3 = Color3.fromRGB(255, 0, 0)
  3542. GlowDotShow.ImageTransparency = 0.200
  3543.  
  3544. local Click = click(ColorPicker)
  3545. local ClickColor = click(Color_1)
  3546. local ClickHue = click(Hue_1)
  3547. local isopen = false
  3548.  
  3549. local ColorH, ColorS, ColorV = 1, 1, 1
  3550. local lastColorH = -1
  3551. local ColorInput = nil
  3552. local HueInput = nil
  3553. local Mouse = game:GetService("Players").LocalPlayer:GetMouse()
  3554. local lastColor = nil
  3555. local ColorInput = nil
  3556. local HueInput = nil
  3557. local isTouchDevice = U.TouchEnabled
  3558.  
  3559. local function open()
  3560. local targetX = Picker_1.AbsolutePosition.X - ColorpickBar.Parent.AbsolutePosition.X + Picker_1.Size.X.Offset - 145
  3561. local targetY = Picker_1.AbsolutePosition.Y - ColorpickBar.Parent.AbsolutePosition.Y + Picker_1.Size.Y.Offset - 50
  3562. tw({v = ColorpickBar, t = 0.15, s = Enum.EasingStyle.Exponential, d = "Out", g = {Size = UDim2.new(0, 200,0, 125), Position = UDim2.new(0, targetX, 0, targetY)}}):Play()
  3563. tw({v = UIStroke_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {Transparency = 0.95}}):Play()
  3564. end
  3565. local function close()
  3566. isopen = false
  3567. tw({v = ColorpickBar, t = 0.15, s = Enum.EasingStyle.Exponential, d = "Out", g = {Size = UDim2.new(0, 200,0, 0)}}):Play()
  3568. tw({v = UIStroke_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {Transparency = 1}}):Play()
  3569. end
  3570.  
  3571. U.InputBegan:Connect(function(A)
  3572. if A.UserInputType == Enum.UserInputType.MouseButton1 or A.UserInputType == Enum.UserInputType.Touch then
  3573. local B, C = ColorpickBar.AbsolutePosition, ColorpickBar.AbsoluteSize
  3574. if game:GetService "Players".LocalPlayer:GetMouse().X < B.X or game:GetService "Players".LocalPlayer:GetMouse().X > B.X + C.X or game:GetService "Players".LocalPlayer:GetMouse().Y < (B.Y - 20 - 1) or game:GetService "Players".LocalPlayer:GetMouse().Y > B.Y + C.Y then
  3575. close()
  3576. end
  3577. end
  3578. end)
  3579.  
  3580. Click.MouseButton1Click:Connect(function()
  3581. isopen = not isopen
  3582. if isopen then
  3583. open()
  3584. else
  3585. close()
  3586. end
  3587. end)
  3588.  
  3589. local function UpdateColorPicker(nope)
  3590. Picker_1.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
  3591. GlowDot_1.ImageColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
  3592. Color_1.BackgroundColor3 = Color3.fromHSV(ColorH, 1, 1)
  3593.  
  3594. Shower.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
  3595. GlowDotShow.ImageColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
  3596.  
  3597. local r, g, b = Picker_1.BackgroundColor3.R * 255, Picker_1.BackgroundColor3.G * 255, Picker_1.BackgroundColor3.B * 255
  3598.  
  3599. TextLabel_3.Text = tostring(math.floor(r))
  3600. TextLabel_5.Text = tostring(math.floor(g))
  3601. TextLabel_7.Text = tostring(math.floor(b))
  3602.  
  3603. local hex = string.format("#%02X%02X%02X", math.floor(r), math.floor(g), math.floor(b))
  3604. TextLabel_1.Text = hex
  3605.  
  3606. ColorH, ColorS, ColorV = Color3.toHSV(Picker_1.BackgroundColor3)
  3607.  
  3608. if ColorS ~= 0 and ColorV ~= 0 then
  3609. tw({v = ColorSelection_1, t = 0.15, s = Enum.EasingStyle.Exponential, d = "Out", g = {Position = UDim2.new(ColorS, 0, 1 - ColorV, 0)}}):Play()
  3610. end
  3611. if lastColorH ~= ColorH and ColorS ~= 0 and ColorV ~= 0 and ColorS ~= 255 and ColorV ~= 255 then
  3612. lastColorH = ColorH
  3613. tw({v = HueSelection_1, t = 0.15, s = Enum.EasingStyle.Exponential, d = "Out", g = {Position = UDim2.new(0.5, 0, 1 - ColorH, 0)}}):Play()
  3614. end
  3615.  
  3616. if lastColor ~= Picker_1.BackgroundColor3 then
  3617. lastColor = Picker_1.BackgroundColor3
  3618. pcall(Callback, math.floor(r), math.floor(g), math.floor(b))
  3619. end
  3620. end
  3621.  
  3622. local function HexToRGB(hex)
  3623. if hex:sub(1, 1) == "#" then
  3624. hex = hex:sub(2)
  3625. end
  3626.  
  3627. if #hex == 6 then
  3628. local r = tonumber(hex:sub(1, 2), 16) / 255
  3629. local g = tonumber(hex:sub(3, 4), 16) / 255
  3630. local b = tonumber(hex:sub(5, 6), 16) / 255
  3631. return r, g, b
  3632. else
  3633. return 0, 0, 0
  3634. end
  3635. end
  3636.  
  3637. local function UpdateColorFromText()
  3638. local hex = TextLabel_1.Text:match("^#[%x]+$")
  3639. if hex then
  3640. local r, g, b = HexToRGB(hex)
  3641. r = math.clamp(r, 0, 1)
  3642. g = math.clamp(g, 0, 1)
  3643. b = math.clamp(b, 0, 1)
  3644.  
  3645. local h, s, v = Color3.toHSV(Color3.new(r, g, b))
  3646. ColorH, ColorS, ColorV = h, s, v
  3647. UpdateColorPicker(true)
  3648. else
  3649. local r = tonumber(TextLabel_3.Text) or 0
  3650. local g = tonumber(TextLabel_5.Text) or 0
  3651. local b = tonumber(TextLabel_7.Text) or 0
  3652.  
  3653. r = math.clamp(r, 0, 255) / 255
  3654. g = math.clamp(g, 0, 255) / 255
  3655. b = math.clamp(b, 0, 255) / 255
  3656.  
  3657. local h, s, v = Color3.toHSV(Color3.new(r, g, b))
  3658. ColorH, ColorS, ColorV = h, s, v
  3659. UpdateColorPicker(true)
  3660. end
  3661. end
  3662.  
  3663. TextLabel_3.FocusLost:Connect(UpdateColorFromText)
  3664. TextLabel_5.FocusLost:Connect(UpdateColorFromText)
  3665. TextLabel_7.FocusLost:Connect(UpdateColorFromText)
  3666. TextLabel_1.FocusLost:Connect(UpdateColorFromText)
  3667.  
  3668.  
  3669. ColorH = 1 - (math.clamp(HueSelection_1.AbsolutePosition.Y - Hue_1.AbsolutePosition.Y, 0, Hue_1.AbsoluteSize.Y) / Hue_1.AbsoluteSize.Y)
  3670. ColorS = (math.clamp(ColorSelection_1.AbsolutePosition.X - Color_1.AbsolutePosition.X, 0, Color_1.AbsoluteSize.X) / Color_1.AbsoluteSize.X)
  3671. ColorV = 1 - (math.clamp(ColorSelection_1.AbsolutePosition.Y - Color_1.AbsolutePosition.Y, 0, Color_1.AbsoluteSize.Y) / Color_1.AbsoluteSize.Y)
  3672.  
  3673. Picker_1.BackgroundColor3 = Value
  3674. Color_1.BackgroundColor3 = Value
  3675.  
  3676. ClickColor.InputBegan:Connect(function(input)
  3677. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3678. if ColorInput then
  3679. ColorInput:Disconnect()
  3680. end
  3681.  
  3682. ColorInput = game:GetService("RunService").RenderStepped:Connect(function()
  3683. local ColorX = (math.clamp(Mouse.X - Color_1.AbsolutePosition.X, 0, Color_1.AbsoluteSize.X) /Color_1.AbsoluteSize.X)
  3684. local ColorY = (math.clamp(Mouse.Y - Color_1.AbsolutePosition.Y, 0, Color_1.AbsoluteSize.Y) /Color_1.AbsoluteSize.Y)
  3685.  
  3686. tw({v = ColorSelection_1, t = 0.15, s = Enum.EasingStyle.Exponential, d = "Out", g = {Position = UDim2.new(ColorX, 0, ColorY, 0)}}):Play()
  3687. ColorS = ColorX
  3688. ColorV = 1 - ColorY
  3689.  
  3690. UpdateColorPicker(true)
  3691. end)
  3692. end
  3693. end)
  3694.  
  3695. ClickColor.InputEnded:Connect(function(input)
  3696. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3697. if ColorInput then
  3698. ColorInput:Disconnect()
  3699. end
  3700. end
  3701. end)
  3702.  
  3703. ClickHue.InputBegan:Connect(function(input)
  3704. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3705. if HueInput then
  3706. HueInput:Disconnect()
  3707. end
  3708.  
  3709. HueInput = game:GetService("RunService").RenderStepped:Connect(function()
  3710. local HueY = (math.clamp(Mouse.Y - Hue_1.AbsolutePosition.Y, 0, Hue_1.AbsoluteSize.Y) /Hue_1.AbsoluteSize.Y)
  3711. tw({v = HueSelection_1, t = 0.15, s = Enum.EasingStyle.Exponential, d = "Out", g = {Position = UDim2.new(0.5, 0, HueY, 0)}}):Play()
  3712. ColorH = 1 - HueY
  3713.  
  3714. UpdateColorPicker(true)
  3715. end)
  3716. end
  3717. end)
  3718.  
  3719. ClickHue.InputEnded:Connect(function(input)
  3720. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3721. if HueInput then
  3722. HueInput:Disconnect()
  3723. end
  3724. end
  3725. end)
  3726.  
  3727. if isTouchDevice then
  3728. Color_1.InputBegan:Connect(function(input)
  3729. if input.UserInputType == Enum.UserInputType.Touch then
  3730. if ColorInput then
  3731. ColorInput:Disconnect()
  3732. end
  3733.  
  3734. ColorInput = game:GetService("RunService").RenderStepped:Connect(function()
  3735. local ColorX = (math.clamp(Mouse.X - Color_1.AbsolutePosition.X, 0, Color_1.AbsoluteSize.X) / Color_1.AbsoluteSize.X)
  3736. local ColorY = (math.clamp(Mouse.Y - Color_1.AbsolutePosition.Y, 0, Color_1.AbsoluteSize.Y) / Color_1.AbsoluteSize.Y)
  3737.  
  3738. ColorSelection_1.Position = UDim2.new(ColorX, 0, ColorY, 0)
  3739. ColorS = ColorX
  3740. ColorV = 1 - ColorY
  3741.  
  3742. UpdateColorPicker(true)
  3743. end)
  3744. end
  3745. end)
  3746.  
  3747. Color_1.InputEnded:Connect(function(input)
  3748. if input.UserInputType == Enum.UserInputType.Touch then
  3749. if ColorInput then
  3750. ColorInput:Disconnect()
  3751. end
  3752. end
  3753. end)
  3754.  
  3755. Hue_1.InputBegan:Connect(function(input)
  3756. if input.UserInputType == Enum.UserInputType.Touch then
  3757. if HueInput then
  3758. HueInput:Disconnect()
  3759. end
  3760.  
  3761. HueInput = game:GetService("RunService").RenderStepped:Connect(function()
  3762. local HueY = (math.clamp(Mouse.Y - Hue_1.AbsolutePosition.Y, 0, Hue_1.AbsoluteSize.Y) / Hue_1.AbsoluteSize.Y)
  3763.  
  3764. HueSelection_1.Position = UDim2.new(0.48, 0, HueY, 0)
  3765. ColorH = 1 - HueY
  3766.  
  3767. UpdateColorPicker(true)
  3768. end)
  3769. end
  3770. end)
  3771.  
  3772. Hue_1.InputEnded:Connect(function(input)
  3773. if input.UserInputType == Enum.UserInputType.Touch then
  3774. if HueInput then
  3775. HueInput:Disconnect()
  3776. end
  3777. end
  3778. end)
  3779. end
  3780.  
  3781. delay(0,function()
  3782. ColorH, ColorS, ColorV = Color3.toHSV(Picker_1.BackgroundColor3)
  3783. UpdateColorPicker(true)
  3784. local r, g, b = Picker_1.BackgroundColor3.R * 255, Picker_1.BackgroundColor3.G * 255, Picker_1.BackgroundColor3.B * 255
  3785. pcall(Callback, math.floor(r), math.floor(g), math.floor(b))
  3786. end)
  3787.  
  3788. local New = {}
  3789.  
  3790. function New:SetTitle(t)
  3791. Config:SetTitle(t)
  3792. end
  3793.  
  3794. function New:SetDesc(t)
  3795. Config:SetDesc(t)
  3796. end
  3797.  
  3798. function New:SetVisible(t)
  3799. ColorPicker.Visible = t
  3800. end
  3801.  
  3802. function New:SetValue(colorTable)
  3803. local r = colorTable.R or Picker_1.BackgroundColor3.R * 255
  3804. local g = colorTable.G or Picker_1.BackgroundColor3.G * 255
  3805. local b = colorTable.B or Picker_1.BackgroundColor3.B * 255
  3806.  
  3807. if r >= 0 and r <= 255 and g >= 0 and g <= 255 and b >= 0 and b <= 255 then
  3808. local newColor = Color3.fromRGB(r, g, b)
  3809.  
  3810. Picker_1.BackgroundColor3 = newColor
  3811. Color_1.BackgroundColor3 = newColor
  3812.  
  3813. local h, s, v = Color3.toHSV(newColor)
  3814. ColorH, ColorS, ColorV = h, s, v
  3815.  
  3816. ColorSelection_1.Position = UDim2.new(s, 0, 1 - v, 0)
  3817. HueSelection_1.Position = UDim2.new(0.48, 0, 1 - h, 0)
  3818. pcall(Callback, r, g, b)
  3819. end
  3820. end
  3821.  
  3822. return New
  3823. end
  3824.  
  3825. function Func:Textbox(p)
  3826. local Title = p.Title
  3827. local Desc = p.Desc or ''
  3828. local Image = p.Image or ''
  3829. local Value = p.Value or ''
  3830. local Placeholder = p.Placeholder or 'Paste Your Text'
  3831. local ClearText = p.ClearText or p.ClearTextOnFocus or false
  3832. local Callback = p.Callback or function() end
  3833.  
  3834. local Textbox, Config = background(ScrollingFrame_1, Title, Desc, Image, 'Textbox')
  3835.  
  3836. Config:SetTextTransparencyTitle(0)
  3837. Config:SetSizeT(145)
  3838.  
  3839. local F = Instance.new("Frame")
  3840. local UIListLayout_1 = Instance.new("UIListLayout")
  3841. local UIPadding_1 = Instance.new("UIPadding")
  3842. local Frame_1 = Instance.new("Frame")
  3843. local UICorner_1 = Instance.new("UICorner")
  3844. local UIStroke_1 = Instance.new("UIStroke")
  3845. local UIPadding_2 = Instance.new("UIPadding")
  3846. local ImageLabel_1 = Instance.new("ImageLabel")
  3847. local TextLabel_1 = Instance.new("TextBox")
  3848. local Frame_2 = Instance.new("Frame")
  3849.  
  3850. F.Name = "F"
  3851. F.Parent = Textbox
  3852. F.AnchorPoint = Vector2.new(1, 0.5)
  3853. F.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3854. F.BackgroundTransparency = 1
  3855. F.BorderColor3 = Color3.fromRGB(0,0,0)
  3856. F.BorderSizePixel = 0
  3857. F.Position = UDim2.new(1, 0,0.5, 0)
  3858. F.Size = UDim2.new(0, 150,0.800000012, 0)
  3859.  
  3860. UIListLayout_1.Parent = F
  3861. UIListLayout_1.Padding = UDim.new(0,15)
  3862. UIListLayout_1.FillDirection = Enum.FillDirection.Horizontal
  3863. UIListLayout_1.HorizontalAlignment = Enum.HorizontalAlignment.Right
  3864. UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
  3865. UIListLayout_1.VerticalAlignment = Enum.VerticalAlignment.Center
  3866.  
  3867. UIPadding_1.Parent = F
  3868. UIPadding_1.PaddingRight = UDim.new(0,13)
  3869.  
  3870. Frame_1.Parent = F
  3871. Frame_1.BackgroundColor3 = Color3.fromRGB(24,24,31)
  3872. Frame_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3873. Frame_1.BorderSizePixel = 0
  3874. Frame_1.Size = UDim2.new(0, 130,0, 25)
  3875.  
  3876. addToTheme('Function.Textbox.Value Background', Frame_1)
  3877.  
  3878. UICorner_1.Parent = Frame_1
  3879. UICorner_1.CornerRadius = UDim.new(0,4)
  3880.  
  3881. UIStroke_1.Parent = Frame_1
  3882. UIStroke_1.Color = Color3.fromRGB(255,255,255)
  3883. UIStroke_1.Thickness = 1
  3884. UIStroke_1.Transparency = 0.95
  3885.  
  3886. addToTheme('Function.Textbox.Value Stroke', UIStroke_1)
  3887.  
  3888. UIPadding_2.Parent = Frame_1
  3889. UIPadding_2.PaddingLeft = UDim.new(0,5)
  3890. UIPadding_2.PaddingRight = UDim.new(0,5)
  3891.  
  3892. ImageLabel_1.Parent = Frame_1
  3893. ImageLabel_1.AnchorPoint = Vector2.new(1, 0.5)
  3894. ImageLabel_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3895. ImageLabel_1.BackgroundTransparency = 1
  3896. ImageLabel_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3897. ImageLabel_1.BorderSizePixel = 0
  3898. ImageLabel_1.Position = UDim2.new(1, 0,0.5, 0)
  3899. ImageLabel_1.Size = UDim2.new(0, 15,0, 15)
  3900. ImageLabel_1.Image = "rbxassetid://13868675087"
  3901. ImageLabel_1.ImageTransparency = 0.30000001192092896
  3902.  
  3903. addToTheme('Text & Value', ImageLabel_1)
  3904.  
  3905. TextLabel_1.Name = "TextLabel"
  3906. TextLabel_1.Parent = Frame_1
  3907. TextLabel_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3908. TextLabel_1.BackgroundTransparency = 1
  3909. TextLabel_1.BorderColor3 = Color3.fromRGB(0,0,0)
  3910. TextLabel_1.BorderSizePixel = 0
  3911. TextLabel_1.Size = UDim2.new(0.800000012, 0,1, 0)
  3912. TextLabel_1.Font = Enum.Font.GothamBold
  3913. TextLabel_1.PlaceholderColor3 = Color3.fromRGB(178,178,178)
  3914. TextLabel_1.PlaceholderText = Placeholder
  3915. TextLabel_1.RichText = true
  3916. TextLabel_1.Text = Value
  3917. TextLabel_1.TextColor3 = Color3.fromRGB(255,255,255)
  3918. TextLabel_1.TextSize = 10
  3919. TextLabel_1.TextTransparency = 0.30000001192092896
  3920. TextLabel_1.TextWrapped = true
  3921. TextLabel_1.TextXAlignment = Enum.TextXAlignment.Left
  3922. TextLabel_1.ClearTextOnFocus = not ClearText
  3923.  
  3924. addToTheme('Text & Value', TextLabel_1)
  3925.  
  3926. Frame_2.Parent = Frame_1
  3927. Frame_2.AnchorPoint = Vector2.new(0.5, 1)
  3928. Frame_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
  3929. Frame_2.BackgroundTransparency = 0.949999988079071
  3930. Frame_2.BorderColor3 = Color3.fromRGB(0,0,0)
  3931. Frame_2.BorderSizePixel = 0
  3932. Frame_2.Position = UDim2.new(0.5, 0,1, 0)
  3933. Frame_2.Size = UDim2.new(1.05, 0,0, 2)
  3934.  
  3935. local function o()
  3936. if #TextLabel_1.Text > 0 then
  3937. pcall(Callback, TextLabel_1.Text)
  3938. end
  3939. end
  3940.  
  3941. TextLabel_1.FocusLost:Connect(o)
  3942.  
  3943. delay(0, o)
  3944.  
  3945. local New = {}
  3946.  
  3947. function New:SetTitle(t)
  3948. Config:SetTitle(t)
  3949. end
  3950.  
  3951. function New:SetDesc(t)
  3952. Config:SetDesc(t)
  3953. end
  3954.  
  3955. function New:SetVisible(t)
  3956. Textbox.Visible = t
  3957. end
  3958.  
  3959. function New:SetValue(t)
  3960. TextLabel_1.Text = t
  3961. end
  3962.  
  3963. function New:SetClearTextOnFocus(t)
  3964. TextLabel_1.ClearTextOnFocus = not t
  3965. end
  3966.  
  3967. function New:SetPlaceholderText(t)
  3968. TextLabel_1.PlaceholderText = t
  3969. end
  3970.  
  3971. return New
  3972. end
  3973.  
  3974. function Func:Image()
  3975. local ImageLogo = Instance.new("ImageLabel")
  3976. local UICorner_1 = Instance.new("UICorner")
  3977. ImageLogo.Name = "Im"
  3978. ImageLogo.Parent = ScrollingFrame_1
  3979. ImageLogo.AnchorPoint = Vector2.new(0.5,0.5)
  3980. ImageLogo.Position = UDim2.new(0.5,0,0.5,0)
  3981. ImageLogo.BackgroundTransparency = 1
  3982. ImageLogo.Size = UDim2.new(1,0,180,0)
  3983. ImageLogo.Image = 'rbxassetid://111362591084511'
  3984. ImageLogo.ScaleType = Enum.ScaleType.Crop
  3985. UICorner_1.Parent = ImageLogo
  3986. UICorner_1.CornerRadius = UDim.new(0,3)
  3987. end
  3988.  
  3989. return Func
  3990. end
  3991.  
  3992. local Notification = Instance.new("Frame")
  3993. local UIPaddingUIListLayoutNotification_1 = Instance.new("UIPadding")
  3994. local UIListLayoutNotification_1 = Instance.new("UIListLayout")
  3995.  
  3996. Notification.Name = "Notification"
  3997. Notification.Parent = ScreenGui
  3998. Notification.AnchorPoint = Vector2.new(1, 1)
  3999. Notification.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4000. Notification.BackgroundTransparency = 1
  4001. Notification.BorderColor3 = Color3.fromRGB(0,0,0)
  4002. Notification.BorderSizePixel = 0
  4003. Notification.Position = UDim2.new(1, 0,1, 0)
  4004. Notification.Size = UDim2.new(0, 100,0, 100)
  4005.  
  4006. UIPaddingUIListLayoutNotification_1.Parent = Notification
  4007. UIPaddingUIListLayoutNotification_1.PaddingBottom = UDim.new(0,20)
  4008. UIPaddingUIListLayoutNotification_1.PaddingRight = UDim.new(0,5)
  4009.  
  4010. UIListLayoutNotification_1.Parent = Notification
  4011. UIListLayoutNotification_1.HorizontalAlignment = Enum.HorizontalAlignment.Right
  4012. UIListLayoutNotification_1.SortOrder = Enum.SortOrder.LayoutOrder
  4013. UIListLayoutNotification_1.VerticalAlignment = Enum.VerticalAlignment.Bottom
  4014.  
  4015. function Tabs:Notify(p)
  4016. local Title = p.Title or 'null'
  4017. local Desc = p.Desc or ''
  4018. local Time = p.Time or 5
  4019.  
  4020. local Shadow = Instance.new("ImageLabel")
  4021. local UIPadding_1 = Instance.new("UIPadding")
  4022. local Background_1 = Instance.new("CanvasGroup")
  4023. local UICorner_1 = Instance.new("UICorner")
  4024. local Frame_1 = Instance.new("Frame")
  4025. local Text_1 = Instance.new("Frame")
  4026. local UIPadding_2 = Instance.new("UIPadding")
  4027. local Title_1 = Instance.new("TextLabel")
  4028. local UIListLayout_1 = Instance.new("UIListLayout")
  4029. local Description_1 = Instance.new("TextLabel")
  4030. local Frame_2 = Instance.new("Frame")
  4031.  
  4032. Shadow.Name = "Shadow"
  4033. Shadow.Parent = Notification
  4034. Shadow.BackgroundColor3 = Color3.fromRGB(163,162,165)
  4035. Shadow.BackgroundTransparency = 1
  4036. Shadow.Size = UDim2.new(0, 180,0, 0)
  4037. Shadow.Image = "rbxassetid://1316045217"
  4038. Shadow.ImageColor3 = themes[IsTheme].Shadow
  4039. Shadow.ImageTransparency = 0.5
  4040. Shadow.ScaleType = Enum.ScaleType.Slice
  4041. Shadow.SliceCenter = Rect.new(10, 10, 118, 118)
  4042.  
  4043. addToTheme('Shadow', Shadow)
  4044.  
  4045. UIPadding_1.Parent = Shadow
  4046. UIPadding_1.PaddingBottom = UDim.new(0,5)
  4047. UIPadding_1.PaddingLeft = UDim.new(0,5)
  4048. UIPadding_1.PaddingRight = UDim.new(0,5)
  4049. UIPadding_1.PaddingTop = UDim.new(0,5)
  4050.  
  4051. Background_1.Name = "Background"
  4052. Background_1.Parent = Shadow
  4053. Background_1.AnchorPoint = Vector2.new(0.5, 0.5)
  4054. Background_1.BackgroundColor3 = themes[IsTheme].Background
  4055. Background_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4056. Background_1.BorderSizePixel = 0
  4057. Background_1.Position = UDim2.new(0.5, 0,0.5, 0)
  4058. Background_1.Size = UDim2.new(1, 0,1, 0)
  4059. Background_1.ClipsDescendants = true
  4060. Background_1.GroupTransparency = 1
  4061.  
  4062. addToTheme('Background', Background_1)
  4063.  
  4064. UICorner_1.Parent = Background_1
  4065. UICorner_1.CornerRadius = UDim.new(0,6)
  4066.  
  4067. Frame_1.Parent = Background_1
  4068. Frame_1.AnchorPoint = Vector2.new(0, 1)
  4069. Frame_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4070. Frame_1.BackgroundTransparency = 0.8999999761581421
  4071. Frame_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4072. Frame_1.BorderSizePixel = 0
  4073. Frame_1.Position = UDim2.new(0, 0,1, 0)
  4074. Frame_1.Size = UDim2.new(1, 0,0, 4)
  4075.  
  4076. Text_1.Name = "Text"
  4077. Text_1.Parent = Background_1
  4078. Text_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4079. Text_1.BackgroundTransparency = 1
  4080. Text_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4081. Text_1.BorderSizePixel = 0
  4082. Text_1.Size = UDim2.new(1, 0,1, 0)
  4083.  
  4084. UIPadding_2.Parent = Text_1
  4085. UIPadding_2.PaddingBottom = UDim.new(0,5)
  4086. UIPadding_2.PaddingLeft = UDim.new(0,5)
  4087. UIPadding_2.PaddingRight = UDim.new(0,5)
  4088. UIPadding_2.PaddingTop = UDim.new(0,5)
  4089.  
  4090. Title_1.Name = "Title"
  4091. Title_1.Parent = Text_1
  4092. Title_1.AutomaticSize = Enum.AutomaticSize.Y
  4093. Title_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4094. Title_1.BackgroundTransparency = 1
  4095. Title_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4096. Title_1.BorderSizePixel = 0
  4097. Title_1.Size = UDim2.new(1, 0,0, 0)
  4098. Title_1.Font = Enum.Font.GothamBold
  4099. Title_1.Text = tostring(Title)
  4100. Title_1.TextColor3 = themes[IsTheme]['Text & Icon']
  4101. Title_1.TextSize = 12
  4102. Title_1.TextWrapped = true
  4103. Title_1.RichText = true
  4104. Title_1.TextXAlignment = Enum.TextXAlignment.Left
  4105. Title_1.TextYAlignment = Enum.TextYAlignment.Top
  4106.  
  4107. addToTheme('Text & Icon', Title_1)
  4108.  
  4109. UIListLayout_1.Parent = Text_1
  4110. UIListLayout_1.Padding = UDim.new(0,3)
  4111. UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
  4112.  
  4113. Description_1.Name = "Description"
  4114. Description_1.Parent = Text_1
  4115. Description_1.AutomaticSize = Enum.AutomaticSize.Y
  4116. Description_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4117. Description_1.BackgroundTransparency = 1
  4118. Description_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4119. Description_1.BorderSizePixel = 0
  4120. Description_1.LayoutOrder = 2
  4121. Description_1.Size = UDim2.new(1, 0,0, 0)
  4122. Description_1.Font = Enum.Font.GothamBold
  4123. Description_1.Text = tostring(Desc)
  4124. Description_1.TextColor3 = themes[IsTheme]['Text & Icon']
  4125. Description_1.TextSize = 10
  4126. Description_1.TextTransparency = 0.5
  4127. Description_1.TextWrapped = true
  4128. Description_1.RichText = true
  4129. Description_1.TextXAlignment = Enum.TextXAlignment.Left
  4130. Description_1.TextYAlignment = Enum.TextYAlignment.Top
  4131. Description_1.Visible = false
  4132.  
  4133. addToTheme('Text & Icon', Description_1)
  4134.  
  4135. Frame_2.Parent = Text_1
  4136. Frame_2.BackgroundColor3 = themes[IsTheme]['Text & Icon']
  4137. Frame_2.BackgroundTransparency = 0.9
  4138. Frame_2.BorderColor3 = Color3.fromRGB(0,0,0)
  4139. Frame_2.BorderSizePixel = 0
  4140. Frame_2.LayoutOrder = 1
  4141. Frame_2.Size = UDim2.new(1, 0,0, 1)
  4142. Frame_2.Visible = false
  4143.  
  4144. addToTheme('Text & Icon', Frame_2)
  4145.  
  4146. Background_1.Size = UDim2.new(1, 0,1, 0) - UDim2.fromOffset(5, 5)
  4147.  
  4148. if Desc and Desc ~= '' then
  4149. Description_1.Visible = true
  4150. Frame_2.Visible = true
  4151. end
  4152.  
  4153. local function updateSize()
  4154. task.defer(function()
  4155. local newSize = UIListLayout_1.AbsoluteContentSize.Y + 28
  4156. if Shadow.Size.Y.Offset ~= newSize then
  4157. Shadow.Size = UDim2.new(0, 180, 0, newSize)
  4158. end
  4159. end)
  4160. end
  4161.  
  4162. delay(.1, updateSize)
  4163.  
  4164. UIListLayout_1:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(updateSize)
  4165.  
  4166. local g = tw({
  4167. v = Shadow,
  4168. t = 0.15,
  4169. s = Enum.EasingStyle.Exponential,
  4170. d = "InOut",
  4171. g = {
  4172. Size = UDim2.new(0, 180,0, 55)
  4173. }
  4174. })
  4175. g:Play()
  4176. g.Completed:Wait()
  4177. tw({
  4178. v = Background_1,
  4179. t = 0.15,
  4180. s = Enum.EasingStyle.Linear,
  4181. d = "InOut",
  4182. g = {
  4183. Size = UDim2.new(1, 0,1, 0),
  4184. GroupTransparency = 0.3
  4185. }
  4186. }):Play()
  4187.  
  4188. task.spawn(function()
  4189. for i = Time, 1, -1 do
  4190. tw({v = Frame_1, t = 0.15, s = Enum.EasingStyle.Exponential, d = "Out", g = {Size = UDim2.new(i / Time, 0,0, 4)}}):Play()
  4191. task.wait(1)
  4192. end
  4193. local f = tw({
  4194. v = Background_1,
  4195. t = 0.15,
  4196. s = Enum.EasingStyle.Linear,
  4197. d = "InOut",
  4198. g = {
  4199. Size = UDim2.new(1, 0,1, 0) - UDim2.fromOffset(5, 5),
  4200. GroupTransparency = 1
  4201. }
  4202. })
  4203. f:Play()
  4204. f.Completed:Connect(function()
  4205. Shadow.ImageTransparency = 1
  4206. local g = tw({
  4207. v = Shadow,
  4208. t = 0.15,
  4209. s = Enum.EasingStyle.Exponential,
  4210. d = "InOut",
  4211. g = {
  4212. Size = UDim2.new(0, 180,0, 0)
  4213. }
  4214. })
  4215. g:Play()
  4216. g.Completed:Connect(function()
  4217. Shadow:Destroy()
  4218. end)
  4219. end)
  4220. end)
  4221. end
  4222.  
  4223. function Tabs:Dialog(p)
  4224. if Shadow_1:FindFirstChild('Dialog') then
  4225. return
  4226. end
  4227. local Button1 = p.Button1.Callback or function() end
  4228. local Button2 = p.Button2.Callback or function() end
  4229. local Title = p.Title or 'null'
  4230. local TitleButton1 = p.Button1.Title or 'null'
  4231. local TitleButton2 = p.Button2.Title or 'null'
  4232. local Color1 = p.Button1.Color or Color3.fromRGB(0, 188, 0)
  4233. local Color2 = p.Button2.Color or Color3.fromRGB(226, 39, 6)
  4234.  
  4235. local Dialog = Instance.new("CanvasGroup")
  4236. local UICorner_1 = Instance.new("UICorner")
  4237. local Frame_1 = Instance.new("Frame")
  4238. local TextLabel_1 = Instance.new("TextLabel")
  4239. local UIListLayout_1 = Instance.new("UIListLayout")
  4240. local Frame_2 = Instance.new("Frame")
  4241. local Button1_1 = Instance.new("Frame")
  4242. local UICorner_2 = Instance.new("UICorner")
  4243. local UIGradient_1 = Instance.new("UIGradient")
  4244. local UIStroke_1 = Instance.new("UIStroke")
  4245. local UIGradient_2 = Instance.new("UIGradient")
  4246. local TextLabel_2 = Instance.new("TextLabel")
  4247. local UIStroke_2 = Instance.new("UIStroke")
  4248. local UIListLayout_2 = Instance.new("UIListLayout")
  4249. local Button2_1 = Instance.new("Frame")
  4250. local UICorner_3 = Instance.new("UICorner")
  4251. local UIGradient_3 = Instance.new("UIGradient")
  4252. local UIStroke_3 = Instance.new("UIStroke")
  4253. local UIGradient_4 = Instance.new("UIGradient")
  4254. local TextLabel_3 = Instance.new("TextLabel")
  4255. local UIStroke_4 = Instance.new("UIStroke")
  4256.  
  4257. Dialog.Name = "Dialog"
  4258. Dialog.Parent = Shadow_1
  4259. Dialog.BackgroundColor3 = Color3.fromRGB(0,0,0)
  4260. Dialog.BackgroundTransparency = 0.3
  4261. Dialog.BorderColor3 = Color3.fromRGB(0,0,0)
  4262. Dialog.BorderSizePixel = 0
  4263. Dialog.Size = UDim2.new(1, 0,1, 0)
  4264. Dialog.GroupTransparency = 1
  4265.  
  4266. UICorner_1.Parent = Dialog
  4267. UICorner_1.CornerRadius = UDim.new(0,17)
  4268.  
  4269. Frame_1.Parent = Dialog
  4270. Frame_1.AnchorPoint = Vector2.new(0.5, 0.5)
  4271. Frame_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4272. Frame_1.BackgroundTransparency = 1
  4273. Frame_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4274. Frame_1.BorderSizePixel = 0
  4275. Frame_1.Position = UDim2.new(0.5, 0,0.5, 0)
  4276. Frame_1.Size = UDim2.new(0, 100,0, 100)
  4277.  
  4278. TextLabel_1.Parent = Frame_1
  4279. TextLabel_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4280. TextLabel_1.BackgroundTransparency = 1
  4281. TextLabel_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4282. TextLabel_1.BorderSizePixel = 0
  4283. TextLabel_1.Size = UDim2.new(0, 200,0, 30)
  4284. TextLabel_1.Font = Enum.Font.GothamBold
  4285. TextLabel_1.RichText = true
  4286. TextLabel_1.Text = tostring(Title)
  4287. TextLabel_1.TextColor3 = Color3.fromRGB(255,255,255)
  4288. TextLabel_1.TextSize = 20
  4289.  
  4290. UIListLayout_1.Parent = Frame_1
  4291. UIListLayout_1.HorizontalAlignment = Enum.HorizontalAlignment.Center
  4292. UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
  4293. UIListLayout_1.VerticalAlignment = Enum.VerticalAlignment.Center
  4294.  
  4295. Frame_2.Parent = Frame_1
  4296. Frame_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4297. Frame_2.BackgroundTransparency = 1
  4298. Frame_2.BorderColor3 = Color3.fromRGB(0,0,0)
  4299. Frame_2.BorderSizePixel = 0
  4300. Frame_2.LayoutOrder = 1
  4301. Frame_2.Size = UDim2.new(0, 100,0, 50)
  4302.  
  4303. Button1_1.Name = "Button1"
  4304. Button1_1.Parent = Frame_2
  4305. Button1_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4306. Button1_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4307. Button1_1.BorderSizePixel = 0
  4308. Button1_1.Size = UDim2.new(0, 130,0, 40)
  4309.  
  4310. UICorner_2.Parent = Button1_1
  4311. UICorner_2.CornerRadius = UDim.new(1,0)
  4312.  
  4313. UIGradient_1.Parent = Button1_1
  4314. UIGradient_1.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(124, 124, 124))}
  4315.  
  4316. UIStroke_1.Parent = Button1_1
  4317. UIStroke_1.Color = Color3.fromRGB(255,255,255)
  4318. UIStroke_1.Thickness = 2
  4319.  
  4320. UIGradient_2.Parent = UIStroke_1
  4321. UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(124, 124, 124))}
  4322. UIGradient_2.Rotation = 180
  4323.  
  4324. TextLabel_2.Parent = Button1_1
  4325. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4326. TextLabel_2.BackgroundTransparency = 1
  4327. TextLabel_2.BorderColor3 = Color3.fromRGB(0,0,0)
  4328. TextLabel_2.BorderSizePixel = 0
  4329. TextLabel_2.Size = UDim2.new(1, 0,1, 0)
  4330. TextLabel_2.Font = Enum.Font.GothamBold
  4331. TextLabel_2.Text = TitleButton1
  4332. TextLabel_2.TextColor3 = Color1
  4333. TextLabel_2.TextSize = 16
  4334.  
  4335. UIStroke_2.Parent = TextLabel_2
  4336. UIStroke_2.Thickness = 1
  4337. UIStroke_2.Transparency = 0.95
  4338.  
  4339. UIListLayout_2.Parent = Frame_2
  4340. UIListLayout_2.Padding = UDim.new(0,10)
  4341. UIListLayout_2.FillDirection = Enum.FillDirection.Horizontal
  4342. UIListLayout_2.HorizontalAlignment = Enum.HorizontalAlignment.Center
  4343. UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  4344. UIListLayout_2.VerticalAlignment = Enum.VerticalAlignment.Center
  4345.  
  4346. Button2_1.Name = "Button2"
  4347. Button2_1.Parent = Frame_2
  4348. Button2_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4349. Button2_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4350. Button2_1.BorderSizePixel = 0
  4351. Button2_1.Size = UDim2.new(0, 130,0, 40)
  4352.  
  4353. UICorner_3.Parent = Button2_1
  4354. UICorner_3.CornerRadius = UDim.new(1,0)
  4355.  
  4356. UIGradient_3.Parent = Button2_1
  4357. UIGradient_3.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(124, 124, 124))}
  4358.  
  4359. UIStroke_3.Parent = Button2_1
  4360. UIStroke_3.Color = Color3.fromRGB(255,255,255)
  4361. UIStroke_3.Thickness = 2
  4362.  
  4363. UIGradient_4.Parent = UIStroke_3
  4364. UIGradient_4.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(124, 124, 124))}
  4365. UIGradient_4.Rotation = 180
  4366.  
  4367. TextLabel_3.Parent = Button2_1
  4368. TextLabel_3.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4369. TextLabel_3.BackgroundTransparency = 1
  4370. TextLabel_3.BorderColor3 = Color3.fromRGB(0,0,0)
  4371. TextLabel_3.BorderSizePixel = 0
  4372. TextLabel_3.Size = UDim2.new(1, 0,1, 0)
  4373. TextLabel_3.Font = Enum.Font.GothamBold
  4374. TextLabel_3.Text = TitleButton2
  4375. TextLabel_3.TextColor3 = Color2
  4376. TextLabel_3.TextSize = 16
  4377.  
  4378. UIStroke_4.Parent = TextLabel_3
  4379. UIStroke_4.Thickness = 1
  4380. UIStroke_4.Transparency = 0.95
  4381.  
  4382. tw({v = Dialog, t = 0.25, s = Enum.EasingStyle.Linear, d = "Out", g = {GroupTransparency = 0}}):Play()
  4383. local Click1 = click(Button1_1)
  4384. local Click2 = click(Button2_1)
  4385. Click1.MouseButton1Click:Connect(function()
  4386. pcall(Button1)
  4387. tw({v = TextLabel_2, t = 0.15, s = Enum.EasingStyle.Back, d = "Out", g = {TextSize = TextLabel_2.TextSize - 2}}):Play()
  4388. delay(.06, function()
  4389. tw({v = TextLabel_2, t = 0.15, s = Enum.EasingStyle.Back, d = "Out", g = {TextSize = 16}}):Play()
  4390. end)
  4391. local f = tw({v = Dialog, t = 0.25, s = Enum.EasingStyle.Linear, d = "Out", g = {GroupTransparency = 1}})
  4392. f:Play()
  4393. f.Completed:Wait()
  4394. Dialog:Destroy()
  4395. end)
  4396.  
  4397. Click2.MouseButton1Click:Connect(function()
  4398. pcall(Button2)
  4399. tw({v = TextLabel_3, t = 0.15, s = Enum.EasingStyle.Back, d = "Out", g = {TextSize = TextLabel_3.TextSize - 2}}):Play()
  4400. delay(.06, function()
  4401. tw({v = TextLabel_3, t = 0.15, s = Enum.EasingStyle.Back, d = "Out", g = {TextSize = 16}}):Play()
  4402. end)
  4403. local f = tw({v = Dialog, t = 0.25, s = Enum.EasingStyle.Linear, d = "Out", g = {GroupTransparency = 1}})
  4404. f:Play()
  4405. f.Completed:Wait()
  4406. Dialog:Destroy()
  4407. end)
  4408. end
  4409.  
  4410. do
  4411. local Size_1 = Instance.new("TextButton")
  4412.  
  4413. Size_1.Name = "Size"
  4414. Size_1.Parent = Background_1
  4415. Size_1.Active = true
  4416. Size_1.AnchorPoint = Vector2.new(1, 1)
  4417. Size_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4418. Size_1.BackgroundTransparency = 1
  4419. Size_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4420. Size_1.BorderSizePixel = 0
  4421. Size_1.Position = UDim2.new(1, 0,1, 0)
  4422. Size_1.Size = UDim2.new(0, 20,0, 20)
  4423. Size_1.Font = Enum.Font.SourceSans
  4424. Size_1.Text = ""
  4425. Size_1.TextSize = 14
  4426.  
  4427. local SizeFrame = Instance.new("Frame")
  4428. local ImageLabel_1 = Instance.new("ImageLabel")
  4429. local UICorner_1 = Instance.new("UICorner")
  4430.  
  4431. SizeFrame.Name = "SizeFrame"
  4432. SizeFrame.Parent = Background_1
  4433. SizeFrame.BackgroundColor3 = Color3.fromRGB(0,0,0)
  4434. SizeFrame.BackgroundTransparency = 1
  4435. SizeFrame.BorderColor3 = Color3.fromRGB(0,0,0)
  4436. SizeFrame.BorderSizePixel = 0
  4437. SizeFrame.Size = UDim2.new(1, 0,1, 0)
  4438.  
  4439. ImageLabel_1.Parent = SizeFrame
  4440. ImageLabel_1.AnchorPoint = Vector2.new(0.5, 0.5)
  4441. ImageLabel_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4442. ImageLabel_1.BackgroundTransparency = 1
  4443. ImageLabel_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4444. ImageLabel_1.BorderSizePixel = 0
  4445. ImageLabel_1.Position = UDim2.new(0.5, 0,0.5, 0)
  4446. ImageLabel_1.Size = UDim2.new(0, 100,0, 100)
  4447. ImageLabel_1.Image = "rbxassetid://13857987062"
  4448. ImageLabel_1.ImageTransparency = 1
  4449.  
  4450. UICorner_1.Parent = SizeFrame
  4451. UICorner_1.CornerRadius = UDim.new(0,17)
  4452.  
  4453. Size_1.MouseButton1Down:Connect(function()
  4454. R = true
  4455. end)
  4456.  
  4457. local isZ = false
  4458. local originalSize, originalPosition
  4459.  
  4460. Minisize_1.MouseButton1Click:Connect(function()
  4461. if not isZ then
  4462. originalSize = Shadow_1.Size
  4463. originalPosition = Shadow_1.Position
  4464. tw({v = Shadow_1, t = 0.15, s = Enum.EasingStyle.Exponential, d = "Out", g = {
  4465. Size = UDim2.new(1, 0, 1, 0),
  4466. Position = UDim2.new(0, 0, 0, 0)
  4467. }}):Play()
  4468. Minisize_1.Image = "rbxassetid://13857981896"
  4469. else
  4470. Minisize_1.Image = "rbxassetid://13857987062"
  4471. tw({v = Shadow_1, t = 0.15, s = Enum.EasingStyle.Exponential, d = "Out", g = {
  4472. Size = originalSize,
  4473. Position = originalPosition
  4474. }}):Play()
  4475. end
  4476. isZ = not isZ
  4477. end)
  4478.  
  4479. if not HAA then
  4480. local AP, PAZ = Shadow_1.AbsolutePosition, Shadow_1.Parent.AbsoluteSize
  4481. local NP = UDim2.new((AP.X / PAZ.X),
  4482. Shadow_1.Position.X.Offset,
  4483. (AP.Y / PAZ.Y),
  4484. Shadow_1.Position.Y.Offset)
  4485.  
  4486. Shadow_1.AnchorPoint = Vector2.new(0, 0)
  4487. Shadow_1.Position = NP
  4488. HAA = true
  4489. end
  4490.  
  4491. U.InputEnded:Connect(function(i)
  4492. if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then
  4493. R = false
  4494. tw({v = SizeFrame, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {BackgroundTransparency = 1}}):Play()
  4495. tw({v = ImageLabel_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {ImageTransparency = 1}}):Play()
  4496. end
  4497. end)
  4498.  
  4499. U.InputChanged:Connect(function(i)
  4500. if not isZ and R and (i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch) then
  4501. local nW = math.max(450, i.Position.X - Shadow_1.AbsolutePosition.X)
  4502. local nH = math.max(220, i.Position.Y - Shadow_1.AbsolutePosition.Y)
  4503. local nZ = UDim2.new(0, nW, 0, nH)
  4504. tw({v = Shadow_1, t = 0.05, s = Enum.EasingStyle.Exponential, d = "Out", g = {Size = nZ}}):Play()
  4505. tw({v = SizeFrame, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {BackgroundTransparency = 0.6}}):Play()
  4506. tw({v = ImageLabel_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {ImageTransparency = 0}}):Play()
  4507. ImageLabel_1.Image = 'rbxassetid://13857987062'
  4508. elseif isZ and R and (i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch) then
  4509. tw({v = SizeFrame, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {BackgroundTransparency = 0.6}}):Play()
  4510. tw({v = ImageLabel_1, t = 0.15, s = Enum.EasingStyle.Linear, d = "Out", g = {ImageTransparency = 0}}):Play()
  4511. ImageLabel_1.Image = 'rbxassetid://14906268026'
  4512. end
  4513. end)
  4514.  
  4515. lak(Topbar_1, Shadow_1)
  4516.  
  4517. local isopen = false
  4518. local firsttime = false
  4519. local oSize
  4520. local function closeui()
  4521. isopen = not isopen
  4522. if isopen then
  4523. oSize = Background_1.Size
  4524. local close = tw({
  4525. v = Background_1,
  4526. t = 0.15,
  4527. s = Enum.EasingStyle.Linear,
  4528. d = "InOut",
  4529. g = {
  4530. GroupTransparency = 1,
  4531. Size = oSize - UDim2.fromOffset(5, 5)
  4532. }
  4533. })
  4534. close:Play()
  4535. close.Completed:Wait()
  4536. Shadow_1.Visible = false
  4537. else
  4538. Shadow_1.Visible = true
  4539. local open = tw({
  4540. v = Background_1,
  4541. t = 0.15,
  4542. s = Enum.EasingStyle.Linear,
  4543. d = "InOut",
  4544. g = {
  4545. GroupTransparency = 0,
  4546. Size = oSize
  4547. }
  4548. })
  4549. open:Play()
  4550. end
  4551.  
  4552. if not firsttime then
  4553. firsttime = true
  4554. Tabs:Notify({
  4555. Title = 'Dummy Kawaii',
  4556. Desc = 'Press the <font color="#FF77A5" size="14">('..tostring(Keybind):gsub("Enum.KeyCode.", "")..')</font> button to hide and show the UI',
  4557. Time = 10
  4558. })
  4559. end
  4560. end
  4561.  
  4562. ChSize_1.MouseButton1Click:Connect(closeui)
  4563.  
  4564. U.InputBegan:Connect(function(i)
  4565. if i.KeyCode == Keybind then
  4566. local focusedTextBox = U:GetFocusedTextBox()
  4567. if not focusedTextBox then
  4568. closeui()
  4569. end
  4570. end
  4571. end)
  4572.  
  4573. local CallTheme = function(v)
  4574. IsTheme = v
  4575. local t = themes[v]
  4576. Library:setTheme({
  4577. ['Shadow'] = t.Shadow,
  4578. ['Background'] = t.Background,
  4579. ['Page'] = t.Page,
  4580. ['Main'] = t.Main,
  4581. ['Text & Icon'] = t['Text & Icon'],
  4582. ['Function'] = {
  4583. ['Toggle'] = {
  4584. ['Background'] = t.Function.Toggle.Background,
  4585. ['True'] = {
  4586. ['Toggle Background'] = t.Function.Toggle.True['Toggle Background'],
  4587. ['Toggle Value'] = t.Function.Toggle.True['Toggle Value'],
  4588. },
  4589. ['False'] = {
  4590. ['Toggle Background'] = t.Function.Toggle.False['Toggle Background'],
  4591. ['Toggle Value'] = t.Function.Toggle.False['Toggle Value'],
  4592. }
  4593. },
  4594. ['Label'] = {
  4595. ['Background'] = t.Function.Label.Background,
  4596. },
  4597. ['Dropdown'] = {
  4598. ['Background'] = t.Function.Dropdown.Background,
  4599. ['Value Background'] = t.Function.Dropdown['Value Background'],
  4600. ['Value Stroke'] = t.Function.Dropdown['Value Stroke'],
  4601. ['Dropdown Select'] = {
  4602. ['Background'] = t.Function.Dropdown['Dropdown Select'].Background,
  4603. ['Search'] = t.Function.Dropdown['Dropdown Select'].Search,
  4604. ['Item Background'] = t.Function.Dropdown['Dropdown Select']['Item Background'],
  4605. }
  4606. },
  4607. ['Slider'] = {
  4608. ['Background'] = t.Function.Slider.Background,
  4609. ['Value Background'] = t.Function.Slider['Value Background'],
  4610. ['Value Stroke'] = t.Function.Slider['Value Stroke'],
  4611. ['Slider Bar'] = t.Function.Slider['Slider Bar'],
  4612. ['Slider Bar Value'] = t.Function.Slider['Slider Bar Value'],
  4613. ['Circle Value'] = t.Function.Slider['Circle Value'],
  4614. },
  4615. ['Code'] = {
  4616. ['Background'] = t.Function.Code.Background,
  4617. ['Background Code'] = t.Function.Code['Background Code'],
  4618. ['Background Code Value'] = t.Function.Code['Background Code Value'],
  4619. ['ScrollingFrame Code'] = t.Function.Code['ScrollingFrame Code'],
  4620. },
  4621. ['Button'] = {
  4622. ['Background'] = t.Function.Button.Background,
  4623. ['Click'] = t.Function.Button.Click,
  4624. },
  4625. ['Textbox'] = {
  4626. ['Background'] = t.Function.Textbox.Background,
  4627. ['Value Background'] = t.Function.Textbox['Value Background'],
  4628. ['Value Stroke'] = t.Function.Textbox['Value Stroke'],
  4629. },
  4630. ['Keybind'] = {
  4631. ['Background'] = t.Function.Keybind.Background,
  4632. ['Value Background'] = t.Function.Keybind['Value Background'],
  4633. ['Value Stroke'] = t.Function.Keybind['Value Stroke'],
  4634. ['True'] = {
  4635. ['Toggle Background'] = t.Function.Keybind.True['Toggle Background'],
  4636. ['Toggle Value'] = t.Function.Keybind.True['Toggle Value'],
  4637. },
  4638. ['False'] = {
  4639. ['Toggle Background'] = t.Function.Keybind.False['Toggle Background'],
  4640. ['Toggle Value'] = t.Function.Keybind.False['Toggle Value'],
  4641. }
  4642. },
  4643. ['Color Picker'] = {
  4644. ['Background'] = t.Function['Color Picker'].Background,
  4645. ['Color Select'] = {
  4646. ['Background'] = t.Function['Color Picker']['Color Select'].Background,
  4647. ['UIStroke'] = t.Function['Color Picker']['Color Select'].UIStroke,
  4648. }
  4649. }
  4650. }
  4651. })
  4652. end
  4653. local ThemeDrop = addDropdownSelect(DropdownValue_1, DropdownValue_1, false, CallTheme, Theme, themes.index)
  4654.  
  4655. Close_1.MouseButton1Click:Connect(function()
  4656. Tabs:Dialog({
  4657. Title = "Do you want to <font color='#FF0000'>close</font> the ui?",
  4658. Button1 = {
  4659. Title = 'Confirm',
  4660. Color = Color3.fromRGB(0, 188, 0),
  4661. Callback = function()
  4662. ScreenGui:Destroy()
  4663. end,
  4664. },
  4665. Button2 = {
  4666. Title = 'Cancel',
  4667. Color = Color3.fromRGB(226, 39, 6),
  4668. }
  4669. })
  4670. end)
  4671.  
  4672. do
  4673. local CloseUI = p.CloseUIButton
  4674. local CloseUIShadow = Instance.new("ImageLabel")
  4675. local UIPaddingCloseUI_1 = Instance.new("UIPadding")
  4676. local BackgroundCloseUI_1 = Instance.new("Frame")
  4677. local UICornerCloseUI_1 = Instance.new("UICorner")
  4678. local FrameCloseUI_1 = Instance.new("Frame")
  4679. local Title_1 = Instance.new("TextLabel")
  4680.  
  4681. CloseUIShadow.Name = "CloseUIShadow"
  4682. CloseUIShadow.Parent = ScreenGui
  4683. CloseUIShadow.BackgroundColor3 = Color3.fromRGB(163,162,165)
  4684. CloseUIShadow.BackgroundTransparency = 1
  4685. CloseUIShadow.Position = UDim2.new(0, 0,0.200000003, 0)
  4686. CloseUIShadow.Size = UDim2.new(0, 70,0, 40)
  4687. CloseUIShadow.Image = "rbxassetid://1316045217"
  4688. CloseUIShadow.ImageColor3 = Color3.fromRGB(24,24,31)
  4689. CloseUIShadow.ImageTransparency = 0.5
  4690. CloseUIShadow.ScaleType = Enum.ScaleType.Slice
  4691. CloseUIShadow.SliceCenter = Rect.new(10, 10, 118, 118)
  4692. CloseUIShadow.Visible = CloseUI.Enabled
  4693.  
  4694. addToTheme('Shadow', CloseUIShadow)
  4695.  
  4696. UIPaddingCloseUI_1.Name = "UIPaddingCloseUI"
  4697. UIPaddingCloseUI_1.Parent = CloseUIShadow
  4698. UIPaddingCloseUI_1.PaddingBottom = UDim.new(0,5)
  4699. UIPaddingCloseUI_1.PaddingLeft = UDim.new(0,5)
  4700. UIPaddingCloseUI_1.PaddingRight = UDim.new(0,5)
  4701. UIPaddingCloseUI_1.PaddingTop = UDim.new(0,5)
  4702.  
  4703. BackgroundCloseUI_1.Name = "BackgroundCloseUI"
  4704. BackgroundCloseUI_1.Parent = CloseUIShadow
  4705. BackgroundCloseUI_1.AnchorPoint = Vector2.new(0.5, 0.5)
  4706. BackgroundCloseUI_1.BackgroundColor3 = Color3.fromRGB(29,28,38)
  4707. BackgroundCloseUI_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4708. BackgroundCloseUI_1.BorderSizePixel = 0
  4709. BackgroundCloseUI_1.Position = UDim2.new(0.5, 0,0.5, 0)
  4710. BackgroundCloseUI_1.Size = UDim2.new(1, 0,1, 0)
  4711. BackgroundCloseUI_1.ClipsDescendants = true
  4712.  
  4713. addToTheme('Background', BackgroundCloseUI_1)
  4714.  
  4715. UICornerCloseUI_1.Name = "UICornerCloseUI"
  4716. UICornerCloseUI_1.Parent = BackgroundCloseUI_1
  4717. UICornerCloseUI_1.CornerRadius = UDim.new(0,6)
  4718.  
  4719. FrameCloseUI_1.Name = "FrameCloseUI"
  4720. FrameCloseUI_1.Parent = BackgroundCloseUI_1
  4721. FrameCloseUI_1.AnchorPoint = Vector2.new(0, 1)
  4722. FrameCloseUI_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4723. FrameCloseUI_1.BackgroundTransparency = 0.8999999761581421
  4724. FrameCloseUI_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4725. FrameCloseUI_1.BorderSizePixel = 0
  4726. FrameCloseUI_1.Position = UDim2.new(0, 0,1, 0)
  4727. FrameCloseUI_1.Size = UDim2.new(1, 0,0, 4)
  4728.  
  4729. Title_1.Name = "Title"
  4730. Title_1.Parent = BackgroundCloseUI_1
  4731. Title_1.AutomaticSize = Enum.AutomaticSize.Y
  4732. Title_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
  4733. Title_1.BackgroundTransparency = 1
  4734. Title_1.BorderColor3 = Color3.fromRGB(0,0,0)
  4735. Title_1.BorderSizePixel = 0
  4736. Title_1.Size = UDim2.new(1, 0,1, 0)
  4737. Title_1.Font = Enum.Font.GothamBold
  4738. Title_1.Text = CloseUI.Text
  4739. Title_1.TextColor3 = Color3.fromRGB(255,255,255)
  4740. Title_1.TextSize = 12
  4741.  
  4742. addToTheme('Text & Icon', Title_1)
  4743.  
  4744. CloseUIShadow.Size = UDim2.new(0, Title_1.TextBounds.X + 40,0, 40)
  4745.  
  4746. local Click = click(CloseUIShadow)
  4747. lak(Click, CloseUIShadow)
  4748. Click.MouseButton1Click:Connect(function()
  4749. tw({v = Title_1, t = 0.15, s = Enum.EasingStyle.Back, d = "Out", g = {TextSize = Title_1.TextSize - 2}}):Play()
  4750. delay(.06, function()
  4751. tw({v = Title_1, t = 0.15, s = Enum.EasingStyle.Back, d = "Out", g = {TextSize = 12}}):Play()
  4752. end)
  4753. pcall(closeui)
  4754. end)
  4755. end
  4756. end
  4757.  
  4758. return Tabs
  4759. end
  4760.  
  4761. return Library
Advertisement
Add Comment
Please, Sign In to add comment