8599

Untitled

Feb 11th, 2025
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 132.75 KB | None | 0 0
  1. local Kavo = {}
  2.  
  3. local tween = game:GetService("TweenService")
  4. local tweeninfo = TweenInfo.new
  5. local input = game:GetService("UserInputService")
  6. local run = game:GetService("RunService")
  7.  
  8. local Utility = {}
  9. local Objects = {}
  10. function Kavo:DraggingEnabled(frame, parent)
  11.        
  12.     parent = parent or frame
  13.    
  14.     -- Тут начинается приступ говнокода 5 степени :)
  15.     local dragging = false
  16.     local dragInput, mousePos, framePos
  17.  
  18.     frame.InputBegan:Connect(function(input)
  19.         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  20.             dragging = true
  21.             mousePos = input.Position
  22.             framePos = parent.Position
  23.            
  24.             input.Changed:Connect(function()
  25.                 if input.UserInputState == Enum.UserInputState.End then
  26.                     dragging = false
  27.                 end
  28.             end)
  29.         end
  30.     end)
  31.  
  32.     frame.InputChanged:Connect(function(input)
  33.         if input.UserInputType == Enum.UserInputType.MouseMovement then
  34.             dragInput = input
  35.         end
  36.     end)
  37.  
  38.     input.InputChanged:Connect(function(input)
  39.         if input == dragInput and dragging then
  40.             local delta = input.Position - mousePos
  41.             parent.Position  = UDim2.new(framePos.X.Scale, framePos.X.Offset + delta.X, framePos.Y.Scale, framePos.Y.Offset + delta.Y)
  42.         end
  43.     end)
  44. end
  45.  
  46. function Utility:TweenObject(obj, properties, duration, ...)
  47.     tween:Create(obj, tweeninfo(duration, ...), properties):Play()
  48. end
  49.  
  50. -- Я не парился с цветами , просто если вам лень делать свою тему , то можете взяь готовую
  51. local themes = {
  52.     SchemeColor = Color3.fromRGB(74, 99, 135),
  53.     Background = Color3.fromRGB(36, 37, 43),
  54.     Header = Color3.fromRGB(28, 29, 34),
  55.     TextColor = Color3.fromRGB(255,255,255),
  56.     ElementColor = Color3.fromRGB(32, 32, 38)
  57. }
  58. local themeStyles = {
  59.     RJTheme1 = {
  60.     -- Цвет фона у Секций
  61.     SchemeColor = Color3.fromRGB(112, 112, 112),
  62.     -- Цвет фона в правой части UI
  63.     Background = Color3.fromRGB(15,15,15),
  64.     -- Цвет фона в левой части UI
  65.     Header = Color3.fromRGB(15,15,15),
  66.     -- Цвет текста
  67.     TextColor = Color3.fromRGB(255,255,255),
  68.     -- Цвет фона у кнопок
  69.     ElementColor = Color3.fromRGB(20, 20, 20)
  70.     },
  71.     RJTheme2 = {
  72.     -- Цвет фона у Секций
  73.     SchemeColor = Color3.fromRGB(139,123,139),
  74.     -- Цвет фона в правой части UI
  75.     Background = Color3.fromRGB(15,15,15),
  76.     -- Цвет фона в левой части UI
  77.     Header = Color3.fromRGB(15,15,15),
  78.     -- Цвет текста
  79.     TextColor = Color3.fromRGB(255,255,255),
  80.     -- Цвет фона у кнопок
  81.     ElementColor = Color3.fromRGB(20, 20, 20)
  82.     },
  83.     RJTheme3 = {
  84.     -- Цвет фона у Секций
  85.     SchemeColor = Color3.fromRGB(91, 94, 176),
  86.     -- Цвет фона в правой части UI
  87.     Background = Color3.fromRGB(15,15,15),
  88.     -- Цвет фона в левой части UI
  89.     Header = Color3.fromRGB(15,15,15),
  90.     -- Цвет текста
  91.     TextColor = Color3.fromRGB(255,255,255),
  92.     -- Цвет фона у кнопок
  93.     ElementColor = Color3.fromRGB(20, 20, 20)
  94.     },
  95.     RJTheme3 = {
  96.     -- Цвет фона у Секций
  97.     SchemeColor = Color3.fromRGB(98, 77, 128),
  98.     -- Цвет фона в правой части UI
  99.     Background = Color3.fromRGB(15,15,15),
  100.     -- Цвет фона в левой части UI
  101.     Header = Color3.fromRGB(15,15,15),
  102.     -- Цвет текста
  103.     TextColor = Color3.fromRGB(255,255,255),
  104.     -- Цвет фона у кнопок
  105.     ElementColor = Color3.fromRGB(20, 20, 20)
  106.     },
  107.     RJTheme4 = {
  108.     -- Цвет фона у Секций
  109.     SchemeColor = Color3.fromRGB(128, 77, 112),
  110.     -- Цвет фона в правой части UI
  111.     Background = Color3.fromRGB(15,15,15),
  112.     -- Цвет фона в левой части UI
  113.     Header = Color3.fromRGB(15,15,15),
  114.     -- Цвет текста
  115.     TextColor = Color3.fromRGB(255,255,255),
  116.     -- Цвет фона у кнопок
  117.     ElementColor = Color3.fromRGB(20, 20, 20)
  118.     },
  119.     RJTheme5 = {
  120.     -- Цвет фона у Секций
  121.     SchemeColor = Color3.fromRGB(150, 141, 71),
  122.     -- Цвет фона в правой части UI
  123.     Background = Color3.fromRGB(15,15,15),
  124.     -- Цвет фона в левой части UI
  125.     Header = Color3.fromRGB(15,15,15),
  126.     -- Цвет текста
  127.     TextColor = Color3.fromRGB(255,255,255),
  128.     -- Цвет фона у кнопок
  129.     ElementColor = Color3.fromRGB(20, 20, 20)
  130.     },
  131.     RJTheme6 = {
  132.             -- Цвет фона у Секций
  133.     SchemeColor = Color3.fromRGB(86, 128, 61),
  134.     -- Цвет фона в правой части UI
  135.     Background = Color3.fromRGB(15,15,15),
  136.     -- Цвет фона в левой части UI
  137.     Header = Color3.fromRGB(15,15,15),
  138.     -- Цвет текста
  139.     TextColor = Color3.fromRGB(255,255,255),
  140.     -- Цвет фона у кнопок
  141.     ElementColor = Color3.fromRGB(20, 20, 20)
  142.     },
  143.     RJTheme7 = {
  144.     -- Цвет фона у Секций
  145.     SchemeColor = Color3.fromRGB(95, 81, 168),
  146.     -- Цвет фона в правой части UI
  147.     Background = Color3.fromRGB(15,15,15),
  148.     -- Цвет фона в левой части UI
  149.     Header = Color3.fromRGB(15,15,15),
  150.     -- Цвет текста
  151.     TextColor = Color3.fromRGB(255,255,255),
  152.     -- Цвет фона у кнопок
  153.     ElementColor = Color3.fromRGB(20, 20, 20)
  154.     },
  155.     RJTheme8 = {
  156.     -- Цвет фона у Секций
  157.     SchemeColor = Color3.fromRGB(150, 72, 148),
  158.     -- Цвет фона в правой части UI
  159.     Background = Color3.fromRGB(15,15,15),
  160.     -- Цвет фона в левой части UI
  161.     Header = Color3.fromRGB(15,15,15),
  162.     -- Цвет текста
  163.     TextColor = Color3.fromRGB(255,255,255),
  164.     -- Цвет фона у кнопок
  165.     ElementColor = Color3.fromRGB(20, 20, 20)
  166.     }
  167. }
  168. local oldTheme = ""
  169.  
  170. local SettingsT = {
  171.  
  172. }
  173.  
  174. local Name = "KavoConfig.JSON"
  175.  
  176. pcall(function()
  177.  
  178. if not pcall(function() readfile(Name) end) then
  179. writefile(Name, game:service'HttpService':JSONEncode(SettingsT))
  180. end
  181.  
  182. Settings = game:service'HttpService':JSONEncode(readfile(Name))
  183. end)
  184.  
  185. local LibName = tostring(math.random(1, 100))..tostring(math.random(1,50))..tostring(math.random(1, 100))
  186.  
  187. function Kavo:ToggleUI()
  188.     if game.CoreGui[LibName].Enabled then
  189.         game.CoreGui[LibName].Enabled = false
  190.     else
  191.         game.CoreGui[LibName].Enabled = true
  192.     end
  193. end
  194.  
  195. function Kavo.CreateLib(kavName, themeList)
  196.     if not themeList then
  197.         themeList = themes
  198.     end
  199.     if themeList == "RJTheme1" then
  200.         themeList = themeStyles.RJTheme1
  201.     elseif themeList == "RJTheme2" then
  202.         themeList = themeStyles.RJTheme2
  203.     elseif themeList == "RJTheme3" then
  204.         themeList = themeStyles.RJTheme3
  205.     elseif themeList == "RJTheme3" then
  206.         themeList = themeStyles.RJTheme3
  207.     elseif themeList == "RJTheme4" then
  208.         themeList = themeStyles.RJTheme4
  209.     elseif themeList == "RJTheme5" then
  210.         themeList = themeStyles.RJTheme5
  211.     elseif themeList == "RJTheme6" then
  212.         themeList = themeStyles.RJTheme6
  213.     elseif themeList == "RJTheme7" then
  214.         themeList = themeStyles.RJTheme7
  215.     elseif themeList == "RJTheme8" then
  216.         themeList = themeStyles.RJTheme8
  217.     else
  218.         if themeList.SchemeColor == nil then
  219.             themeList.SchemeColor = Color3.fromRGB(74, 99, 135)
  220.         elseif themeList.Background == nil then
  221.             themeList.Background = Color3.fromRGB(36, 37, 43)
  222.         elseif themeList.Header == nil then
  223.             themeList.Header = Color3.fromRGB(28, 29, 34)
  224.         elseif themeList.TextColor == nil then
  225.             themeList.TextColor = Color3.fromRGB(255,255,255)
  226.         elseif themeList.ElementColor == nil then
  227.             themeList.ElementColor = Color3.fromRGB(32, 32, 38)
  228.         end
  229.     end
  230.  
  231.     themeList = themeList or {}
  232.     local selectedTab
  233.     kavName = kavName or "Library"
  234.     table.insert(Kavo, kavName)
  235.     for i,v in pairs(game.CoreGui:GetChildren()) do
  236.         if v:IsA("ScreenGui") and v.Name == kavName then
  237.             v:Destroy()
  238.         end
  239.     end
  240.     local ScreenGui = Instance.new("ScreenGui")
  241.     local Main = Instance.new("Frame")
  242.     local MainCorner = Instance.new("UICorner")
  243.     local MainHeader = Instance.new("Frame")
  244.     local headerCover = Instance.new("UICorner")
  245.     local coverup = Instance.new("Frame")
  246.     local title = Instance.new("TextLabel")
  247.     local close = Instance.new("ImageButton")
  248.     local MainSide = Instance.new("Frame")
  249.     local sideCorner = Instance.new("UICorner")
  250.     local coverup_2 = Instance.new("Frame")
  251.     local tabFrames = Instance.new("Frame")
  252.     local tabListing = Instance.new("UIListLayout")
  253.     local pages = Instance.new("Frame")
  254.     local Pages = Instance.new("Folder")
  255.     local infoContainer = Instance.new("Frame")
  256.  
  257.     local blurFrame = Instance.new("Frame")
  258.  
  259.     Kavo:DraggingEnabled(MainHeader, Main)
  260.  
  261.     blurFrame.Name = "blurFrame"
  262.     blurFrame.Parent = pages
  263.     blurFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  264.     blurFrame.BackgroundTransparency = 1
  265.     blurFrame.BorderSizePixel = 0
  266.     blurFrame.Position = UDim2.new(-0.0222222228, 0, -0.0371747203, 0)
  267.     blurFrame.Size = UDim2.new(0, 376, 0, 289)
  268.     blurFrame.ZIndex = 999
  269.  
  270.     ScreenGui.Parent = game.CoreGui
  271.     ScreenGui.Name = LibName
  272.     ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  273.     ScreenGui.ResetOnSpawn = false
  274.  
  275.     Main.Name = "Main"
  276.     Main.Parent = ScreenGui
  277.     Main.BackgroundColor3 = themeList.Background
  278.     Main.ClipsDescendants = true
  279.     Main.Position = UDim2.new(0.336503863, 0, 0.275485456, 0)
  280.     Main.Size = UDim2.new(0, 525, 0, 318)
  281.  
  282.     MainCorner.CornerRadius = UDim.new(0, 4)
  283.     MainCorner.Name = "MainCorner"
  284.     MainCorner.Parent = Main
  285.  
  286.     MainHeader.Name = "MainHeader"
  287.     MainHeader.Parent = Main
  288.     MainHeader.BackgroundColor3 = themeList.Header
  289.     Objects[MainHeader] = "BackgroundColor3"
  290.     MainHeader.Size = UDim2.new(0, 525, 0, 29)
  291.     headerCover.CornerRadius = UDim.new(0, 4)
  292.     headerCover.Name = "headerCover"
  293.     headerCover.Parent = MainHeader
  294.  
  295.     coverup.Name = "coverup"
  296.     coverup.Parent = MainHeader
  297.     coverup.BackgroundColor3 = themeList.Header
  298.     Objects[coverup] = "BackgroundColor3"
  299.     coverup.BorderSizePixel = 0
  300.     coverup.Position = UDim2.new(0, 0, 0.758620679, 0)
  301.     coverup.Size = UDim2.new(0, 525, 0, 7)
  302.  
  303.     title.Name = "title"
  304.     title.Parent = MainHeader
  305.     title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  306.     title.BackgroundTransparency = 1.000
  307.     title.BorderSizePixel = 0
  308.     title.Position = UDim2.new(0.0171428565, 0, 0.344827592, 0)
  309.     title.Size = UDim2.new(0, 204, 0, 8)
  310.     title.Font = Enum.Font.Gotham
  311.     title.RichText = true
  312.     title.Text = kavName
  313.     title.TextColor3 = Color3.fromRGB(245, 245, 245)
  314.     title.TextSize = 16.000
  315.     title.TextXAlignment = Enum.TextXAlignment.Left
  316.  
  317.     close.Name = "close"
  318.     close.Parent = MainHeader
  319.     close.BackgroundTransparency = 1.000
  320.     close.Position = UDim2.new(0.949999988, 0, 0.137999997, 0)
  321.     close.Size = UDim2.new(0, 21, 0, 21)
  322.     close.ZIndex = 2
  323.     close.Image = "rbxassetid://3926305904"
  324.     close.ImageRectOffset = Vector2.new(284, 4)
  325.     close.ImageRectSize = Vector2.new(24, 24)
  326.     close.MouseButton1Click:Connect(function()
  327.         game.TweenService:Create(close, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {
  328.             ImageTransparency = 1
  329.         }):Play()
  330.         wait()
  331.         game.TweenService:Create(Main, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  332.             Size = UDim2.new(0,0,0,0),
  333.             Position = UDim2.new(0, Main.AbsolutePosition.X + (Main.AbsoluteSize.X / 2), 0, Main.AbsolutePosition.Y + (Main.AbsoluteSize.Y / 2))
  334.         }):Play()
  335.         wait(1)
  336.         ScreenGui:Destroy()
  337.     end)
  338.  
  339.     MainSide.Name = "MainSide"
  340.     MainSide.Parent = Main
  341.     MainSide.BackgroundColor3 = themeList.Header
  342.     Objects[MainSide] = "Header"
  343.     MainSide.Position = UDim2.new(-7.4505806e-09, 0, 0.0911949649, 0)
  344.     MainSide.Size = UDim2.new(0, 149, 0, 289)
  345.  
  346.     sideCorner.CornerRadius = UDim.new(0, 4)
  347.     sideCorner.Name = "sideCorner"
  348.     sideCorner.Parent = MainSide
  349.  
  350.     coverup_2.Name = "coverup"
  351.     coverup_2.Parent = MainSide
  352.     coverup_2.BackgroundColor3 = themeList.Header
  353.     Objects[coverup_2] = "Header"
  354.     coverup_2.BorderSizePixel = 0
  355.     coverup_2.Position = UDim2.new(0.949939311, 0, 0, 0)
  356.     coverup_2.Size = UDim2.new(0, 7, 0, 289)
  357.  
  358.     tabFrames.Name = "tabFrames"
  359.     tabFrames.Parent = MainSide
  360.     tabFrames.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  361.     tabFrames.BackgroundTransparency = 1.000
  362.     tabFrames.Position = UDim2.new(0.0438990258, 0, -0.00066378375, 0)
  363.     tabFrames.Size = UDim2.new(0, 135, 0, 283)
  364.  
  365.     tabListing.Name = "tabListing"
  366.     tabListing.Parent = tabFrames
  367.     tabListing.SortOrder = Enum.SortOrder.LayoutOrder
  368.  
  369.     pages.Name = "pages"
  370.     pages.Parent = Main
  371.     pages.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  372.     pages.BackgroundTransparency = 1.000
  373.     pages.BorderSizePixel = 0
  374.     pages.Position = UDim2.new(0.299047589, 0, 0.122641519, 0)
  375.     pages.Size = UDim2.new(0, 360, 0, 269)
  376.  
  377.     Pages.Name = "Pages"
  378.     Pages.Parent = pages
  379.  
  380.     infoContainer.Name = "infoContainer"
  381.     infoContainer.Parent = Main
  382.     infoContainer.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  383.     infoContainer.BackgroundTransparency = 1.000
  384.     infoContainer.BorderColor3 = Color3.fromRGB(27, 42, 53)
  385.     infoContainer.ClipsDescendants = true
  386.     infoContainer.Position = UDim2.new(0.299047619, 0, 0.874213815, 0)
  387.     infoContainer.Size = UDim2.new(0, 368, 0, 33)
  388.  
  389.    
  390.     coroutine.wrap(function()
  391.         while wait() do
  392.             Main.BackgroundColor3 = themeList.Background
  393.             MainHeader.BackgroundColor3 = themeList.Header
  394.             MainSide.BackgroundColor3 = themeList.Header
  395.             coverup_2.BackgroundColor3 = themeList.Header
  396.             coverup.BackgroundColor3 = themeList.Header
  397.         end
  398.     end)()
  399.  
  400.     function Kavo:ChangeColor(prope,color)
  401.         if prope == "Background" then
  402.             themeList.Background = color
  403.         elseif prope == "SchemeColor" then
  404.             themeList.SchemeColor = color
  405.         elseif prope == "Header" then
  406.             themeList.Header = color
  407.         elseif prope == "TextColor" then
  408.             themeList.TextColor = color
  409.         elseif prope == "ElementColor" then
  410.             themeList.ElementColor = color
  411.         end
  412.     end
  413.     local Tabs = {}
  414.  
  415.     local first = true
  416.  
  417.     function Tabs:NewTab(tabName)
  418.         tabName = tabName or "Tab"
  419.         local tabButton = Instance.new("TextButton")
  420.         local UICorner = Instance.new("UICorner")
  421.         local page = Instance.new("ScrollingFrame")
  422.         local pageListing = Instance.new("UIListLayout")
  423.  
  424.         local function UpdateSize()
  425.             local cS = pageListing.AbsoluteContentSize
  426.  
  427.             game.TweenService:Create(page, TweenInfo.new(0.15, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  428.                 CanvasSize = UDim2.new(0,cS.X,0,cS.Y)
  429.             }):Play()
  430.         end
  431.  
  432.         page.Name = "Page"
  433.         page.Parent = Pages
  434.         page.Active = true
  435.         page.BackgroundColor3 = themeList.Background
  436.         page.BorderSizePixel = 0
  437.         page.Position = UDim2.new(0, 0, -0.00371747208, 0)
  438.         page.Size = UDim2.new(1, 0, 1, 0)
  439.         page.ScrollBarThickness = 5
  440.         page.Visible = false
  441.         page.ScrollBarImageColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 16, themeList.SchemeColor.g * 255 - 15, themeList.SchemeColor.b * 255 - 28)
  442.  
  443.         pageListing.Name = "pageListing"
  444.         pageListing.Parent = page
  445.         pageListing.SortOrder = Enum.SortOrder.LayoutOrder
  446.         pageListing.Padding = UDim.new(0, 5)
  447.  
  448.         tabButton.Name = tabName.."TabButton"
  449.         tabButton.Parent = tabFrames
  450.         tabButton.BackgroundColor3 = themeList.SchemeColor
  451.         Objects[tabButton] = "SchemeColor"
  452.         tabButton.Size = UDim2.new(0, 135, 0, 28)
  453.         tabButton.AutoButtonColor = false
  454.         tabButton.Font = Enum.Font.Gotham
  455.         tabButton.Text = tabName
  456.         tabButton.TextColor3 = themeList.TextColor
  457.         Objects[tabButton] = "TextColor3"
  458.         tabButton.TextSize = 14.000
  459.         tabButton.BackgroundTransparency = 1
  460.  
  461.         if first then
  462.             first = false
  463.             page.Visible = true
  464.             tabButton.BackgroundTransparency = 0
  465.             UpdateSize()
  466.         else
  467.             page.Visible = false
  468.             tabButton.BackgroundTransparency = 1
  469.         end
  470.  
  471.         UICorner.CornerRadius = UDim.new(0, 5)
  472.         UICorner.Parent = tabButton
  473.         table.insert(Tabs, tabName)
  474.  
  475.         UpdateSize()
  476.         page.ChildAdded:Connect(UpdateSize)
  477.         page.ChildRemoved:Connect(UpdateSize)
  478.  
  479.         tabButton.MouseButton1Click:Connect(function()
  480.             UpdateSize()
  481.             for i,v in next, Pages:GetChildren() do
  482.                 v.Visible = false
  483.             end
  484.             page.Visible = true
  485.             for i,v in next, tabFrames:GetChildren() do
  486.                 if v:IsA("TextButton") then
  487.                     if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
  488.                         Utility:TweenObject(v, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
  489.                     end
  490.                     if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
  491.                         Utility:TweenObject(v, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
  492.                     end
  493.                     Utility:TweenObject(v, {BackgroundTransparency = 1}, 0.2)
  494.                 end
  495.             end
  496.             if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
  497.                 Utility:TweenObject(tabButton, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
  498.             end
  499.             if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
  500.                 Utility:TweenObject(tabButton, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
  501.             end
  502.             Utility:TweenObject(tabButton, {BackgroundTransparency = 0}, 0.2)
  503.         end)
  504.         local Sections = {}
  505.         local focusing = false
  506.         local viewDe = false
  507.  
  508.         coroutine.wrap(function()
  509.             while wait() do
  510.                 page.BackgroundColor3 = themeList.Background
  511.                 page.ScrollBarImageColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 16, themeList.SchemeColor.g * 255 - 15, themeList.SchemeColor.b * 255 - 28)
  512.                 tabButton.TextColor3 = themeList.TextColor
  513.                 tabButton.BackgroundColor3 = themeList.SchemeColor
  514.             end
  515.         end)()
  516.    
  517.         function Sections:NewSection(secName, hidden)
  518.             secName = secName or "Section"
  519.             local sectionFunctions = {}
  520.             local modules = {}
  521.         hidden = hidden or false
  522.             local sectionFrame = Instance.new("Frame")
  523.             local sectionlistoknvm = Instance.new("UIListLayout")
  524.             local sectionHead = Instance.new("Frame")
  525.             local sHeadCorner = Instance.new("UICorner")
  526.             local sectionName = Instance.new("TextLabel")
  527.             local sectionInners = Instance.new("Frame")
  528.             local sectionElListing = Instance.new("UIListLayout")
  529.            
  530.         if hidden then
  531.         sectionHead.Visible = false
  532.         else
  533.         sectionHead.Visible = true
  534.         end
  535.  
  536.             sectionFrame.Name = "sectionFrame"
  537.             sectionFrame.Parent = page
  538.             sectionFrame.BackgroundColor3 = themeList.Background--36, 37, 43
  539.             sectionFrame.BorderSizePixel = 0
  540.            
  541.             sectionlistoknvm.Name = "sectionlistoknvm"
  542.             sectionlistoknvm.Parent = sectionFrame
  543.             sectionlistoknvm.SortOrder = Enum.SortOrder.LayoutOrder
  544.             sectionlistoknvm.Padding = UDim.new(0, 5)
  545.  
  546.             for i,v in pairs(sectionInners:GetChildren()) do
  547.                 while wait() do
  548.                     if v:IsA("Frame") or v:IsA("TextButton") then
  549.                         function size(pro)
  550.                             if pro == "Size" then
  551.                                 UpdateSize()
  552.                                 updateSectionFrame()
  553.                             end
  554.                         end
  555.                         v.Changed:Connect(size)
  556.                     end
  557.                 end
  558.             end
  559.             sectionHead.Name = "sectionHead"
  560.             sectionHead.Parent = sectionFrame
  561.             sectionHead.BackgroundColor3 = themeList.SchemeColor
  562.             Objects[sectionHead] = "BackgroundColor3"
  563.             sectionHead.Size = UDim2.new(0, 352, 0, 33)
  564.  
  565.             sHeadCorner.CornerRadius = UDim.new(0, 4)
  566.             sHeadCorner.Name = "sHeadCorner"
  567.             sHeadCorner.Parent = sectionHead
  568.  
  569.             sectionName.Name = "sectionName"
  570.             sectionName.Parent = sectionHead
  571.             sectionName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  572.             sectionName.BackgroundTransparency = 1.000
  573.             sectionName.BorderColor3 = Color3.fromRGB(27, 42, 53)
  574.             sectionName.Position = UDim2.new(0.0198863633, 0, 0, 0)
  575.             sectionName.Size = UDim2.new(0.980113626, 0, 1, 0)
  576.             sectionName.Font = Enum.Font.Gotham
  577.             sectionName.Text = secName
  578.             sectionName.RichText = true
  579.             sectionName.TextColor3 = themeList.TextColor
  580.             Objects[sectionName] = "TextColor3"
  581.             sectionName.TextSize = 14.000
  582.             sectionName.TextXAlignment = Enum.TextXAlignment.Left
  583.             if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
  584.                 Utility:TweenObject(sectionName, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
  585.             end
  586.             if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
  587.                 Utility:TweenObject(sectionName, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
  588.             end
  589.                
  590.             sectionInners.Name = "sectionInners"
  591.             sectionInners.Parent = sectionFrame
  592.             sectionInners.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  593.             sectionInners.BackgroundTransparency = 1.000
  594.             sectionInners.Position = UDim2.new(0, 0, 0.190751448, 0)
  595.  
  596.             sectionElListing.Name = "sectionElListing"
  597.             sectionElListing.Parent = sectionInners
  598.             sectionElListing.SortOrder = Enum.SortOrder.LayoutOrder
  599.             sectionElListing.Padding = UDim.new(0, 3)
  600.  
  601.            
  602.         coroutine.wrap(function()
  603.             while wait() do
  604.                 sectionFrame.BackgroundColor3 = themeList.Background
  605.                 sectionHead.BackgroundColor3 = themeList.SchemeColor
  606.                 tabButton.TextColor3 = themeList.TextColor
  607.                 tabButton.BackgroundColor3 = themeList.SchemeColor
  608.                 sectionName.TextColor3 = themeList.TextColor
  609.             end
  610.         end)()
  611.  
  612.             local function updateSectionFrame()
  613.                 local innerSc = sectionElListing.AbsoluteContentSize
  614.                 sectionInners.Size = UDim2.new(1, 0, 0, innerSc.Y)
  615.                 local frameSc = sectionlistoknvm.AbsoluteContentSize
  616.                 sectionFrame.Size = UDim2.new(0, 352, 0, frameSc.Y)
  617.             end
  618.                 updateSectionFrame()
  619.                 UpdateSize()
  620.             local Elements = {}
  621.             function Elements:NewButton(bname,tipINf, callback)
  622.                 showLogo = showLogo or true
  623.                 local ButtonFunction = {}
  624.                 tipINf = tipINf or "Tip: Clicking this nothing will happen!"
  625.                 bname = bname or "Click Me!"
  626.                 callback = callback or function() end
  627.  
  628.                 local buttonElement = Instance.new("TextButton")
  629.                 local UICorner = Instance.new("UICorner")
  630.                 local btnInfo = Instance.new("TextLabel")
  631.                 local viewInfo = Instance.new("ImageButton")
  632.                 local touch = Instance.new("ImageLabel")
  633.                 local Sample = Instance.new("ImageLabel")
  634.  
  635.                 table.insert(modules, bname)
  636.  
  637.                 buttonElement.Name = bname
  638.                 buttonElement.Parent = sectionInners
  639.                 buttonElement.BackgroundColor3 = themeList.ElementColor
  640.                 buttonElement.ClipsDescendants = true
  641.                 buttonElement.Size = UDim2.new(0, 352, 0, 33)
  642.                 buttonElement.AutoButtonColor = false
  643.                 buttonElement.Font = Enum.Font.SourceSans
  644.                 buttonElement.Text = ""
  645.                 buttonElement.TextColor3 = Color3.fromRGB(0, 0, 0)
  646.                 buttonElement.TextSize = 14.000
  647.                 Objects[buttonElement] = "BackgroundColor3"
  648.  
  649.                 UICorner.CornerRadius = UDim.new(0, 4)
  650.                 UICorner.Parent = buttonElement
  651.  
  652.                 viewInfo.Name = "viewInfo"
  653.                 viewInfo.Parent = buttonElement
  654.                 viewInfo.BackgroundTransparency = 1.000
  655.                 viewInfo.LayoutOrder = 9
  656.                 viewInfo.Position = UDim2.new(0.930000007, 0, 0.151999995, 0)
  657.                 viewInfo.Size = UDim2.new(0, 23, 0, 23)
  658.                 viewInfo.ZIndex = 2
  659.                 viewInfo.Image = "rbxassetid://3926305904"
  660.                 viewInfo.ImageColor3 = themeList.SchemeColor
  661.                 Objects[viewInfo] = "ImageColor3"
  662.                 viewInfo.ImageRectOffset = Vector2.new(764, 764)
  663.                 viewInfo.ImageRectSize = Vector2.new(36, 36)
  664.  
  665.                 Sample.Name = "Sample"
  666.                 Sample.Parent = buttonElement
  667.                 Sample.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  668.                 Sample.BackgroundTransparency = 1.000
  669.                 Sample.Image = "http://www.roblox.com/asset/?id=4560909609"
  670.                 Sample.ImageColor3 = themeList.SchemeColor
  671.                 Objects[Sample] = "ImageColor3"
  672.                 Sample.ImageTransparency = 0.600
  673.  
  674.                 local moreInfo = Instance.new("TextLabel")
  675.                 local UICorner = Instance.new("UICorner")
  676.  
  677.                 moreInfo.Name = "TipMore"
  678.                 moreInfo.Parent = infoContainer
  679.                 moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  680.                 moreInfo.Position = UDim2.new(0, 0, 2, 0)
  681.                 moreInfo.Size = UDim2.new(0, 353, 0, 33)
  682.                 moreInfo.ZIndex = 9
  683.                 moreInfo.Font = Enum.Font.GothamSemibold
  684.                 moreInfo.Text = "  "..tipINf
  685.                 moreInfo.RichText = true
  686.                 moreInfo.TextColor3 = themeList.TextColor
  687.                 Objects[moreInfo] = "TextColor3"
  688.                 moreInfo.TextSize = 14.000
  689.                 moreInfo.TextXAlignment = Enum.TextXAlignment.Left
  690.                 Objects[moreInfo] = "BackgroundColor3"
  691.  
  692.                 UICorner.CornerRadius = UDim.new(0, 4)
  693.                 UICorner.Parent = moreInfo
  694.  
  695.                 touch.Name = "touch"
  696.                 touch.Parent = buttonElement
  697.                 touch.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  698.                 touch.BackgroundTransparency = 1.000
  699.                 touch.BorderColor3 = Color3.fromRGB(27, 42, 53)
  700.                 touch.Position = UDim2.new(0.0199999996, 0, 0.180000007, 0)
  701.                 touch.Size = UDim2.new(0, 21, 0, 21)
  702.                 touch.Image = "rbxassetid://3926305904"
  703.                 touch.ImageColor3 = themeList.SchemeColor
  704.                 Objects[touch] = "SchemeColor"
  705.                 touch.ImageRectOffset = Vector2.new(84, 204)
  706.                 touch.ImageRectSize = Vector2.new(36, 36)
  707.                 touch.ImageTransparency = 0
  708.  
  709.                 btnInfo.Name = "btnInfo"
  710.                 btnInfo.Parent = buttonElement
  711.                 btnInfo.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  712.                 btnInfo.BackgroundTransparency = 1.000
  713.                 btnInfo.Position = UDim2.new(0.096704483, 0, 0.272727281, 0)
  714.                 btnInfo.Size = UDim2.new(0, 314, 0, 14)
  715.                 btnInfo.Font = Enum.Font.GothamSemibold
  716.                 btnInfo.Text = bname
  717.                 btnInfo.RichText = true
  718.                 btnInfo.TextColor3 = themeList.TextColor
  719.                 Objects[btnInfo] = "TextColor3"
  720.                 btnInfo.TextSize = 14.000
  721.                 btnInfo.TextXAlignment = Enum.TextXAlignment.Left
  722.  
  723.                 if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
  724.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
  725.                 end
  726.                 if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
  727.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
  728.                 end
  729.  
  730.                 updateSectionFrame()
  731.                                 UpdateSize()
  732.  
  733.                 local ms = game.Players.LocalPlayer:GetMouse()
  734.  
  735.                 local btn = buttonElement
  736.                 local sample = Sample
  737.  
  738.                 btn.MouseButton1Click:Connect(function()
  739.                     if not focusing then
  740.                         callback()
  741.                         local c = sample:Clone()
  742.                         c.Parent = btn
  743.                         local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
  744.                         c.Position = UDim2.new(0, x, 0, y)
  745.                         local len, size = 0.35, nil
  746.                         if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  747.                             size = (btn.AbsoluteSize.X * 1.5)
  748.                         else
  749.                             size = (btn.AbsoluteSize.Y * 1.5)
  750.                         end
  751.                         c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
  752.                         for i = 1, 10 do
  753.                             c.ImageTransparency = c.ImageTransparency + 0.05
  754.                             wait(len / 12)
  755.                         end
  756.                         c:Destroy()
  757.                     else
  758.                         for i,v in next, infoContainer:GetChildren() do
  759.                             Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  760.                             focusing = false
  761.                         end
  762.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  763.                     end
  764.                 end)
  765.                 local hovering = false
  766.                 btn.MouseEnter:Connect(function()
  767.                     if not focusing then
  768.                         game.TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  769.                             BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
  770.                         }):Play()
  771.                         hovering = true
  772.                     end
  773.                 end)
  774.                 btn.MouseLeave:Connect(function()
  775.                     if not focusing then
  776.                         game.TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  777.                             BackgroundColor3 = themeList.ElementColor
  778.                         }):Play()
  779.                         hovering = false
  780.                     end
  781.                 end)
  782.                 viewInfo.MouseButton1Click:Connect(function()
  783.                     if not viewDe then
  784.                         viewDe = true
  785.                         focusing = true
  786.                         for i,v in next, infoContainer:GetChildren() do
  787.                             if v ~= moreInfo then
  788.                                 Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  789.                             end
  790.                         end
  791.                         Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,0,0)}, 0.2)
  792.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 0.5}, 0.2)
  793.                         Utility:TweenObject(btn, {BackgroundColor3 = themeList.ElementColor}, 0.2)
  794.                         wait(1.5)
  795.                         focusing = false
  796.                         Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,2,0)}, 0.2)
  797.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  798.                         wait(0)
  799.                         viewDe = false
  800.                     end
  801.                 end)
  802.                 coroutine.wrap(function()
  803.                     while wait() do
  804.                         if not hovering then
  805.                             buttonElement.BackgroundColor3 = themeList.ElementColor
  806.                         end
  807.                         viewInfo.ImageColor3 = themeList.SchemeColor
  808.                         Sample.ImageColor3 = themeList.SchemeColor
  809.                         moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  810.                         moreInfo.TextColor3 = themeList.TextColor
  811.                         touch.ImageColor3 = themeList.SchemeColor
  812.                         btnInfo.TextColor3 = themeList.TextColor
  813.                     end
  814.                 end)()
  815.                
  816.                 function ButtonFunction:UpdateButton(newTitle)
  817.                     btnInfo.Text = newTitle
  818.                 end
  819.                 return ButtonFunction
  820.             end
  821.  
  822.             function Elements:NewTextBox(tname, tTip, callback)
  823.                 tname = tname or "Textbox"
  824.                 tTip = tTip or "Gets a value of Textbox"
  825.                 callback = callback or function() end
  826.                 local textboxElement = Instance.new("TextButton")
  827.                 local UICorner = Instance.new("UICorner")
  828.                 local viewInfo = Instance.new("ImageButton")
  829.                 local write = Instance.new("ImageLabel")
  830.                 local TextBox = Instance.new("TextBox")
  831.                 local UICorner_2 = Instance.new("UICorner")
  832.                 local togName = Instance.new("TextLabel")
  833.  
  834.                 textboxElement.Name = "textboxElement"
  835.                 textboxElement.Parent = sectionInners
  836.                 textboxElement.BackgroundColor3 = themeList.ElementColor
  837.                 textboxElement.ClipsDescendants = true
  838.                 textboxElement.Size = UDim2.new(0, 352, 0, 33)
  839.                 textboxElement.AutoButtonColor = false
  840.                 textboxElement.Font = Enum.Font.SourceSans
  841.                 textboxElement.Text = ""
  842.                 textboxElement.TextColor3 = Color3.fromRGB(0, 0, 0)
  843.                 textboxElement.TextSize = 14.000
  844.  
  845.                 UICorner.CornerRadius = UDim.new(0, 4)
  846.                 UICorner.Parent = textboxElement
  847.  
  848.                 viewInfo.Name = "viewInfo"
  849.                 viewInfo.Parent = textboxElement
  850.                 viewInfo.BackgroundTransparency = 1.000
  851.                 viewInfo.LayoutOrder = 9
  852.                 viewInfo.Position = UDim2.new(0.930000007, 0, 0.151999995, 0)
  853.                 viewInfo.Size = UDim2.new(0, 23, 0, 23)
  854.                 viewInfo.ZIndex = 2
  855.                 viewInfo.Image = "rbxassetid://3926305904"
  856.                 viewInfo.ImageColor3 = themeList.SchemeColor
  857.                 viewInfo.ImageRectOffset = Vector2.new(764, 764)
  858.                 viewInfo.ImageRectSize = Vector2.new(36, 36)
  859.  
  860.                 write.Name = "write"
  861.                 write.Parent = textboxElement
  862.                 write.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  863.                 write.BackgroundTransparency = 1.000
  864.                 write.BorderColor3 = Color3.fromRGB(27, 42, 53)
  865.                 write.Position = UDim2.new(0.0199999996, 0, 0.180000007, 0)
  866.                 write.Size = UDim2.new(0, 21, 0, 21)
  867.                 write.Image = "rbxassetid://3926305904"
  868.                 write.ImageColor3 = themeList.SchemeColor
  869.                 write.ImageRectOffset = Vector2.new(324, 604)
  870.                 write.ImageRectSize = Vector2.new(36, 36)
  871.  
  872.                 TextBox.Parent = textboxElement
  873.                 TextBox.BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 - 6, themeList.ElementColor.g * 255 - 6, themeList.ElementColor.b * 255 - 7)
  874.                 TextBox.BorderSizePixel = 0
  875.                 TextBox.ClipsDescendants = true
  876.                 TextBox.Position = UDim2.new(0.488749921, 0, 0.212121218, 0)
  877.                 TextBox.Size = UDim2.new(0, 150, 0, 18)
  878.                 TextBox.ZIndex = 99
  879.                 TextBox.ClearTextOnFocus = false
  880.                 TextBox.Font = Enum.Font.Gotham
  881.                 TextBox.PlaceholderColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 19, themeList.SchemeColor.g * 255 - 26, themeList.SchemeColor.b * 255 - 35)
  882.                 TextBox.PlaceholderText = "Type here!"
  883.                 TextBox.Text = ""
  884.                 TextBox.TextColor3 = themeList.SchemeColor
  885.                 TextBox.TextSize = 12.000
  886.  
  887.                 UICorner_2.CornerRadius = UDim.new(0, 4)
  888.                 UICorner_2.Parent = TextBox
  889.  
  890.                 togName.Name = "togName"
  891.                 togName.Parent = textboxElement
  892.                 togName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  893.                 togName.BackgroundTransparency = 1.000
  894.                 togName.Position = UDim2.new(0.096704483, 0, 0.272727281, 0)
  895.                 togName.Size = UDim2.new(0, 138, 0, 14)
  896.                 togName.Font = Enum.Font.GothamSemibold
  897.                 togName.Text = tname
  898.                 togName.RichText = true
  899.                 togName.TextColor3 = themeList.TextColor
  900.                 togName.TextSize = 14.000
  901.                 togName.TextXAlignment = Enum.TextXAlignment.Left
  902.  
  903.                 local moreInfo = Instance.new("TextLabel")
  904.                 local UICorner = Instance.new("UICorner")
  905.  
  906.                 moreInfo.Name = "TipMore"
  907.                 moreInfo.Parent = infoContainer
  908.                 moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  909.                 moreInfo.Position = UDim2.new(0, 0, 2, 0)
  910.                 moreInfo.Size = UDim2.new(0, 353, 0, 33)
  911.                 moreInfo.ZIndex = 9
  912.                 moreInfo.Font = Enum.Font.GothamSemibold
  913.                 moreInfo.RichText = true
  914.                 moreInfo.Text = "  "..tTip
  915.                 moreInfo.TextColor3 = Color3.fromRGB(255, 255, 255)
  916.                 moreInfo.TextSize = 14.000
  917.                 moreInfo.TextXAlignment = Enum.TextXAlignment.Left
  918.  
  919.                 if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
  920.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
  921.                 end
  922.                 if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
  923.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
  924.                 end
  925.  
  926.                 UICorner.CornerRadius = UDim.new(0, 4)
  927.                 UICorner.Parent = moreInfo
  928.  
  929.  
  930.                 updateSectionFrame()
  931.                                 UpdateSize()
  932.            
  933.                 local btn = textboxElement
  934.                 local infBtn = viewInfo
  935.  
  936.                 btn.MouseButton1Click:Connect(function()
  937.                     if focusing then
  938.                         for i,v in next, infoContainer:GetChildren() do
  939.                             Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  940.                             focusing = false
  941.                         end
  942.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  943.                     end
  944.                 end)
  945.                 local hovering = false
  946.                 btn.MouseEnter:Connect(function()
  947.                     if not focusing then
  948.                         game.TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  949.                             BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
  950.                         }):Play()
  951.                         hovering = true
  952.                     end
  953.                 end)
  954.  
  955.                 btn.MouseLeave:Connect(function()
  956.                     if not focusing then
  957.                         game.TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  958.                             BackgroundColor3 = themeList.ElementColor
  959.                         }):Play()
  960.                         hovering = false
  961.                     end
  962.                 end)
  963.  
  964.                 TextBox.FocusLost:Connect(function(EnterPressed)
  965.                     if focusing then
  966.                         for i,v in next, infoContainer:GetChildren() do
  967.                             Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  968.                             focusing = false
  969.                         end
  970.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  971.                     end
  972.                     if not EnterPressed then
  973.                         return
  974.                     else
  975.                         callback(TextBox.Text)
  976.                         wait(0.18)
  977.                         TextBox.Text = ""  
  978.                     end
  979.                 end)
  980.  
  981.                 viewInfo.MouseButton1Click:Connect(function()
  982.                     if not viewDe then
  983.                         viewDe = true
  984.                         focusing = true
  985.                         for i,v in next, infoContainer:GetChildren() do
  986.                             if v ~= moreInfo then
  987.                                 Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  988.                             end
  989.                         end
  990.                         Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,0,0)}, 0.2)
  991.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 0.5}, 0.2)
  992.                         Utility:TweenObject(btn, {BackgroundColor3 = themeList.ElementColor}, 0.2)
  993.                         wait(1.5)
  994.                         focusing = false
  995.                         Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,2,0)}, 0.2)
  996.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  997.                         wait(0)
  998.                         viewDe = false
  999.                     end
  1000.                 end)
  1001.                 coroutine.wrap(function()
  1002.                     while wait() do
  1003.                         if not hovering then
  1004.                             textboxElement.BackgroundColor3 = themeList.ElementColor
  1005.                         end
  1006.                         TextBox.BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 - 6, themeList.ElementColor.g * 255 - 6, themeList.ElementColor.b * 255 - 7)
  1007.                         viewInfo.ImageColor3 = themeList.SchemeColor
  1008.                         moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  1009.                         moreInfo.TextColor3 = themeList.TextColor
  1010.                         write.ImageColor3 = themeList.SchemeColor
  1011.                         togName.TextColor3 = themeList.TextColor
  1012.                         TextBox.PlaceholderColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 19, themeList.SchemeColor.g * 255 - 26, themeList.SchemeColor.b * 255 - 35)
  1013.                         TextBox.TextColor3 = themeList.SchemeColor
  1014.                     end
  1015.                 end)()
  1016.             end
  1017.  
  1018.                 function Elements:NewToggle(tname, nTip, callback)
  1019.                     local TogFunction = {}
  1020.                     tname = tname or "Toggle"
  1021.                     nTip = nTip or "Prints Current Toggle State"
  1022.                     callback = callback or function() end
  1023.                     local toggled = false
  1024.                     table.insert(SettingsT, tname)
  1025.  
  1026.                     local toggleElement = Instance.new("TextButton")
  1027.                     local UICorner = Instance.new("UICorner")
  1028.                     local toggleDisabled = Instance.new("ImageLabel")
  1029.                     local toggleEnabled = Instance.new("ImageLabel")
  1030.                     local togName = Instance.new("TextLabel")
  1031.                     local viewInfo = Instance.new("ImageButton")
  1032.                     local Sample = Instance.new("ImageLabel")
  1033.  
  1034.                     toggleElement.Name = "toggleElement"
  1035.                     toggleElement.Parent = sectionInners
  1036.                     toggleElement.BackgroundColor3 = themeList.ElementColor
  1037.                     toggleElement.ClipsDescendants = true
  1038.                     toggleElement.Size = UDim2.new(0, 352, 0, 33)
  1039.                     toggleElement.AutoButtonColor = false
  1040.                     toggleElement.Font = Enum.Font.SourceSans
  1041.                     toggleElement.Text = ""
  1042.                     toggleElement.TextColor3 = Color3.fromRGB(0, 0, 0)
  1043.                     toggleElement.TextSize = 14.000
  1044.  
  1045.                     UICorner.CornerRadius = UDim.new(0, 4)
  1046.                     UICorner.Parent = toggleElement
  1047.  
  1048.                     toggleDisabled.Name = "toggleDisabled"
  1049.                     toggleDisabled.Parent = toggleElement
  1050.                     toggleDisabled.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1051.                     toggleDisabled.BackgroundTransparency = 1.000
  1052.                     toggleDisabled.Position = UDim2.new(0.0199999996, 0, 0.180000007, 0)
  1053.                     toggleDisabled.Size = UDim2.new(0, 21, 0, 21)
  1054.                     toggleDisabled.Image = "rbxassetid://3926309567"
  1055.                     toggleDisabled.ImageColor3 = themeList.SchemeColor
  1056.                     toggleDisabled.ImageRectOffset = Vector2.new(628, 420)
  1057.                     toggleDisabled.ImageRectSize = Vector2.new(48, 48)
  1058.  
  1059.                     toggleEnabled.Name = "toggleEnabled"
  1060.                     toggleEnabled.Parent = toggleElement
  1061.                     toggleEnabled.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1062.                     toggleEnabled.BackgroundTransparency = 1.000
  1063.                     toggleEnabled.Position = UDim2.new(0.0199999996, 0, 0.180000007, 0)
  1064.                     toggleEnabled.Size = UDim2.new(0, 21, 0, 21)
  1065.                     toggleEnabled.Image = "rbxassetid://3926309567"
  1066.                     toggleEnabled.ImageColor3 = themeList.SchemeColor
  1067.                     toggleEnabled.ImageRectOffset = Vector2.new(784, 420)
  1068.                     toggleEnabled.ImageRectSize = Vector2.new(48, 48)
  1069.                     toggleEnabled.ImageTransparency = 1.000
  1070.  
  1071.                     togName.Name = "togName"
  1072.                     togName.Parent = toggleElement
  1073.                     togName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1074.                     togName.BackgroundTransparency = 1.000
  1075.                     togName.Position = UDim2.new(0.096704483, 0, 0.272727281, 0)
  1076.                     togName.Size = UDim2.new(0, 288, 0, 14)
  1077.                     togName.Font = Enum.Font.GothamSemibold
  1078.                     togName.Text = tname
  1079.                     togName.RichText = true
  1080.                     togName.TextColor3 = themeList.TextColor
  1081.                     togName.TextSize = 14.000
  1082.                     togName.TextXAlignment = Enum.TextXAlignment.Left
  1083.  
  1084.                     viewInfo.Name = "viewInfo"
  1085.                     viewInfo.Parent = toggleElement
  1086.                     viewInfo.BackgroundTransparency = 1.000
  1087.                     viewInfo.LayoutOrder = 9
  1088.                     viewInfo.Position = UDim2.new(0.930000007, 0, 0.151999995, 0)
  1089.                     viewInfo.Size = UDim2.new(0, 23, 0, 23)
  1090.                     viewInfo.ZIndex = 2
  1091.                     viewInfo.Image = "rbxassetid://3926305904"
  1092.                     viewInfo.ImageColor3 = themeList.SchemeColor
  1093.                     viewInfo.ImageRectOffset = Vector2.new(764, 764)
  1094.                     viewInfo.ImageRectSize = Vector2.new(36, 36)
  1095.  
  1096.                     Sample.Name = "Sample"
  1097.                     Sample.Parent = toggleElement
  1098.                     Sample.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1099.                     Sample.BackgroundTransparency = 1.000
  1100.                     Sample.Image = "http://www.roblox.com/asset/?id=4560909609"
  1101.                     Sample.ImageColor3 = themeList.SchemeColor
  1102.                     Sample.ImageTransparency = 0.600
  1103.  
  1104.                     local moreInfo = Instance.new("TextLabel")
  1105.                     local UICorner = Instance.new("UICorner")
  1106.    
  1107.                     moreInfo.Name = "TipMore"
  1108.                     moreInfo.Parent = infoContainer
  1109.                     moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  1110.                     moreInfo.Position = UDim2.new(0, 0, 2, 0)
  1111.                     moreInfo.Size = UDim2.new(0, 353, 0, 33)
  1112.                     moreInfo.ZIndex = 9
  1113.                     moreInfo.Font = Enum.Font.GothamSemibold
  1114.                     moreInfo.RichText = true
  1115.                     moreInfo.Text = "  "..nTip
  1116.                     moreInfo.TextColor3 = themeList.TextColor
  1117.                     moreInfo.TextSize = 14.000
  1118.                     moreInfo.TextXAlignment = Enum.TextXAlignment.Left
  1119.    
  1120.                     UICorner.CornerRadius = UDim.new(0, 4)
  1121.                     UICorner.Parent = moreInfo
  1122.  
  1123.                     local ms = game.Players.LocalPlayer:GetMouse()
  1124.  
  1125.                     if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
  1126.                         Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
  1127.                     end
  1128.                     if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
  1129.                         Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
  1130.                     end
  1131.  
  1132.                     local btn = toggleElement
  1133.                     local sample = Sample
  1134.                     local img = toggleEnabled
  1135.                     local infBtn = viewInfo
  1136.  
  1137.                                     updateSectionFrame()
  1138.                 UpdateSize()
  1139.  
  1140.                     btn.MouseButton1Click:Connect(function()
  1141.                         if not focusing then
  1142.                             if toggled == false then
  1143.                                 game.TweenService:Create(img, TweenInfo.new(0.11, Enum.EasingStyle.Linear,Enum.EasingDirection.In), {
  1144.                                     ImageTransparency = 0
  1145.                                 }):Play()
  1146.                                 local c = sample:Clone()
  1147.                                 c.Parent = btn
  1148.                                 local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
  1149.                                 c.Position = UDim2.new(0, x, 0, y)
  1150.                                 local len, size = 0.35, nil
  1151.                                 if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  1152.                                     size = (btn.AbsoluteSize.X * 1.5)
  1153.                                 else
  1154.                                     size = (btn.AbsoluteSize.Y * 1.5)
  1155.                                 end
  1156.                                 c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
  1157.                                 for i = 1, 10 do
  1158.                                     c.ImageTransparency = c.ImageTransparency + 0.05
  1159.                                     wait(len / 12)
  1160.                                 end
  1161.                                 c:Destroy()
  1162.                             else
  1163.                                 game.TweenService:Create(img, TweenInfo.new(0.11, Enum.EasingStyle.Linear,Enum.EasingDirection.In), {
  1164.                                     ImageTransparency = 1
  1165.                                 }):Play()
  1166.                                 local c = sample:Clone()
  1167.                                 c.Parent = btn
  1168.                                 local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
  1169.                                 c.Position = UDim2.new(0, x, 0, y)
  1170.                                 local len, size = 0.35, nil
  1171.                                 if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  1172.                                     size = (btn.AbsoluteSize.X * 1.5)
  1173.                                 else
  1174.                                     size = (btn.AbsoluteSize.Y * 1.5)
  1175.                                 end
  1176.                                 c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
  1177.                                 for i = 1, 10 do
  1178.                                     c.ImageTransparency = c.ImageTransparency + 0.05
  1179.                                     wait(len / 12)
  1180.                                 end
  1181.                                 c:Destroy()
  1182.                             end
  1183.                             toggled = not toggled
  1184.                             pcall(callback, toggled)
  1185.                         else
  1186.                             for i,v in next, infoContainer:GetChildren() do
  1187.                                 Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  1188.                                 focusing = false
  1189.                             end
  1190.                             Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  1191.                         end
  1192.                     end)
  1193.                     local hovering = false
  1194.                     btn.MouseEnter:Connect(function()
  1195.                         if not focusing then
  1196.                             game.TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  1197.                                 BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
  1198.                             }):Play()
  1199.                             hovering = true
  1200.                         end
  1201.                     end)
  1202.                     btn.MouseLeave:Connect(function()
  1203.                         if not focusing then
  1204.                             game.TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  1205.                                 BackgroundColor3 = themeList.ElementColor
  1206.                             }):Play()
  1207.                             hovering = false
  1208.                         end
  1209.                     end)
  1210.  
  1211.                     coroutine.wrap(function()
  1212.                         while wait() do
  1213.                             if not hovering then
  1214.                                 toggleElement.BackgroundColor3 = themeList.ElementColor
  1215.                             end
  1216.                             toggleDisabled.ImageColor3 = themeList.SchemeColor
  1217.                             toggleEnabled.ImageColor3 = themeList.SchemeColor
  1218.                             togName.TextColor3 = themeList.TextColor
  1219.                             viewInfo.ImageColor3 = themeList.SchemeColor
  1220.                             Sample.ImageColor3 = themeList.SchemeColor
  1221.                             moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  1222.                             moreInfo.TextColor3 = themeList.TextColor
  1223.                         end
  1224.                     end)()
  1225.                     viewInfo.MouseButton1Click:Connect(function()
  1226.                         if not viewDe then
  1227.                             viewDe = true
  1228.                             focusing = true
  1229.                             for i,v in next, infoContainer:GetChildren() do
  1230.                                 if v ~= moreInfo then
  1231.                                     Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  1232.                                 end
  1233.                             end
  1234.                             Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,0,0)}, 0.2)
  1235.                             Utility:TweenObject(blurFrame, {BackgroundTransparency = 0.5}, 0.2)
  1236.                             Utility:TweenObject(btn, {BackgroundColor3 = themeList.ElementColor}, 0.2)
  1237.                             wait(1.5)
  1238.                             focusing = false
  1239.                             Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,2,0)}, 0.2)
  1240.                             Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  1241.                             wait(0)
  1242.                             viewDe = false
  1243.                         end
  1244.                     end)
  1245.                     function TogFunction:UpdateToggle(newText, isTogOn)
  1246.                         isTogOn = isTogOn or toggle
  1247.                         if newText ~= nil then
  1248.                             togName.Text = newText
  1249.                         end
  1250.                         if isTogOn then
  1251.                             toggled = true
  1252.                             game.TweenService:Create(img, TweenInfo.new(0.11, Enum.EasingStyle.Linear,Enum.EasingDirection.In), {
  1253.                                 ImageTransparency = 0
  1254.                             }):Play()
  1255.                             pcall(callback, toggled)
  1256.                         else
  1257.                             toggled = false
  1258.                             game.TweenService:Create(img, TweenInfo.new(0.11, Enum.EasingStyle.Linear,Enum.EasingDirection.In), {
  1259.                                 ImageTransparency = 1
  1260.                             }):Play()
  1261.                             pcall(callback, toggled)
  1262.                         end
  1263.                     end
  1264.                     return TogFunction
  1265.             end
  1266.  
  1267.             function Elements:NewSlider(slidInf, slidTip, maxvalue, minvalue, callback)
  1268.                 slidInf = slidInf or "Slider"
  1269.                 slidTip = slidTip or "Slider tip here"
  1270.                 maxvalue = maxvalue or 500
  1271.                 minvalue = minvalue or 16
  1272.                 startVal = startVal or 0
  1273.                 callback = callback or function() end
  1274.  
  1275.                 local sliderElement = Instance.new("TextButton")
  1276.                 local UICorner = Instance.new("UICorner")
  1277.                 local togName = Instance.new("TextLabel")
  1278.                 local viewInfo = Instance.new("ImageButton")
  1279.                 local sliderBtn = Instance.new("TextButton")
  1280.                 local UICorner_2 = Instance.new("UICorner")
  1281.                 local UIListLayout = Instance.new("UIListLayout")
  1282.                 local sliderDrag = Instance.new("Frame")
  1283.                 local UICorner_3 = Instance.new("UICorner")
  1284.                 local write = Instance.new("ImageLabel")
  1285.                 local val = Instance.new("TextLabel")
  1286.  
  1287.                 sliderElement.Name = "sliderElement"
  1288.                 sliderElement.Parent = sectionInners
  1289.                 sliderElement.BackgroundColor3 = themeList.ElementColor
  1290.                 sliderElement.ClipsDescendants = true
  1291.                 sliderElement.Size = UDim2.new(0, 352, 0, 33)
  1292.                 sliderElement.AutoButtonColor = false
  1293.                 sliderElement.Font = Enum.Font.SourceSans
  1294.                 sliderElement.Text = ""
  1295.                 sliderElement.TextColor3 = Color3.fromRGB(0, 0, 0)
  1296.                 sliderElement.TextSize = 14.000
  1297.  
  1298.                 UICorner.CornerRadius = UDim.new(0, 4)
  1299.                 UICorner.Parent = sliderElement
  1300.  
  1301.                 togName.Name = "togName"
  1302.                 togName.Parent = sliderElement
  1303.                 togName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1304.                 togName.BackgroundTransparency = 1.000
  1305.                 togName.Position = UDim2.new(0.096704483, 0, 0.272727281, 0)
  1306.                 togName.Size = UDim2.new(0, 138, 0, 14)
  1307.                 togName.Font = Enum.Font.GothamSemibold
  1308.                 togName.Text = slidInf
  1309.                 togName.RichText = true
  1310.                 togName.TextColor3 = themeList.TextColor
  1311.                 togName.TextSize = 14.000
  1312.                 togName.TextXAlignment = Enum.TextXAlignment.Left
  1313.  
  1314.                 viewInfo.Name = "viewInfo"
  1315.                 viewInfo.Parent = sliderElement
  1316.                 viewInfo.BackgroundTransparency = 1.000
  1317.                 viewInfo.LayoutOrder = 9
  1318.                 viewInfo.Position = UDim2.new(0.930000007, 0, 0.151999995, 0)
  1319.                 viewInfo.Size = UDim2.new(0, 23, 0, 23)
  1320.                 viewInfo.ZIndex = 2
  1321.                 viewInfo.Image = "rbxassetid://3926305904"
  1322.                 viewInfo.ImageColor3 = themeList.SchemeColor
  1323.                 viewInfo.ImageRectOffset = Vector2.new(764, 764)
  1324.                 viewInfo.ImageRectSize = Vector2.new(36, 36)
  1325.  
  1326.                 sliderBtn.Name = "sliderBtn"
  1327.                 sliderBtn.Parent = sliderElement
  1328.                 sliderBtn.BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 5, themeList.ElementColor.g * 255 + 5, themeList.ElementColor.b * 255  + 5)
  1329.                 sliderBtn.BorderSizePixel = 0
  1330.                 sliderBtn.Position = UDim2.new(0.488749951, 0, 0.393939406, 0)
  1331.                 sliderBtn.Size = UDim2.new(0, 149, 0, 6)
  1332.                 sliderBtn.AutoButtonColor = false
  1333.                 sliderBtn.Font = Enum.Font.SourceSans
  1334.                 sliderBtn.Text = ""
  1335.                 sliderBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  1336.                 sliderBtn.TextSize = 14.000
  1337.  
  1338.                 UICorner_2.Parent = sliderBtn
  1339.  
  1340.                 UIListLayout.Parent = sliderBtn
  1341.                 UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  1342.                 UIListLayout.VerticalAlignment = Enum.VerticalAlignment.Center
  1343.  
  1344.                 sliderDrag.Name = "sliderDrag"
  1345.                 sliderDrag.Parent = sliderBtn
  1346.                 sliderDrag.BackgroundColor3 = themeList.SchemeColor
  1347.                 sliderDrag.BorderColor3 = Color3.fromRGB(74, 99, 135)
  1348.                 sliderDrag.BorderSizePixel = 0
  1349.                 sliderDrag.Size = UDim2.new(-0.671140969, 100,1,0)
  1350.  
  1351.                 UICorner_3.Parent = sliderDrag
  1352.  
  1353.                 write.Name = "write"
  1354.                 write.Parent = sliderElement
  1355.                 write.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1356.                 write.BackgroundTransparency = 1.000
  1357.                 write.BorderColor3 = Color3.fromRGB(27, 42, 53)
  1358.                 write.Position = UDim2.new(0.0199999996, 0, 0.180000007, 0)
  1359.                 write.Size = UDim2.new(0, 21, 0, 21)
  1360.                 write.Image = "rbxassetid://3926307971"
  1361.                 write.ImageColor3 = themeList.SchemeColor
  1362.                 write.ImageRectOffset = Vector2.new(404, 164)
  1363.                 write.ImageRectSize = Vector2.new(36, 36)
  1364.  
  1365.                 val.Name = "val"
  1366.                 val.Parent = sliderElement
  1367.                 val.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1368.                 val.BackgroundTransparency = 1.000
  1369.                 val.Position = UDim2.new(0.352386296, 0, 0.272727281, 0)
  1370.                 val.Size = UDim2.new(0, 41, 0, 14)
  1371.                 val.Font = Enum.Font.GothamSemibold
  1372.                 val.Text = minvalue
  1373.                 val.TextColor3 = themeList.TextColor
  1374.                 val.TextSize = 14.000
  1375.                 val.TextTransparency = 1.000
  1376.                 val.TextXAlignment = Enum.TextXAlignment.Right
  1377.  
  1378.                 local moreInfo = Instance.new("TextLabel")
  1379.                 local UICorner = Instance.new("UICorner")
  1380.  
  1381.                 moreInfo.Name = "TipMore"
  1382.                 moreInfo.Parent = infoContainer
  1383.                 moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  1384.                 moreInfo.Position = UDim2.new(0, 0, 2, 0)
  1385.                 moreInfo.Size = UDim2.new(0, 353, 0, 33)
  1386.                 moreInfo.ZIndex = 9
  1387.                 moreInfo.Font = Enum.Font.GothamSemibold
  1388.                 moreInfo.Text = "  "..slidTip
  1389.                 moreInfo.TextColor3 = themeList.TextColor
  1390.                 moreInfo.TextSize = 14.000
  1391.                 moreInfo.RichText = true
  1392.                 moreInfo.TextXAlignment = Enum.TextXAlignment.Left
  1393.  
  1394.                 UICorner.CornerRadius = UDim.new(0, 4)
  1395.                 UICorner.Parent = moreInfo
  1396.  
  1397.                 if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
  1398.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
  1399.                 end
  1400.                 if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
  1401.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
  1402.                 end
  1403.  
  1404.  
  1405.                                 updateSectionFrame()
  1406.                 UpdateSize()
  1407.                 local mouse = game:GetService("Players").LocalPlayer:GetMouse();
  1408.  
  1409.                 local ms = game.Players.LocalPlayer:GetMouse()
  1410.                 local uis = game:GetService("UserInputService")
  1411.                 local btn = sliderElement
  1412.                 local infBtn = viewInfo
  1413.                 local hovering = false
  1414.                 btn.MouseEnter:Connect(function()
  1415.                     if not focusing then
  1416.                         game.TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  1417.                             BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
  1418.                         }):Play()
  1419.                         hovering = true
  1420.                     end
  1421.                 end)
  1422.                 btn.MouseLeave:Connect(function()
  1423.                     if not focusing then
  1424.                         game.TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  1425.                             BackgroundColor3 = themeList.ElementColor
  1426.                         }):Play()
  1427.                         hovering = false
  1428.                     end
  1429.                 end)        
  1430.  
  1431.                 coroutine.wrap(function()
  1432.                     while wait() do
  1433.                         if not hovering then
  1434.                             sliderElement.BackgroundColor3 = themeList.ElementColor
  1435.                         end
  1436.                         moreInfo.TextColor3 = themeList.TextColor
  1437.                         moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  1438.                         val.TextColor3 = themeList.TextColor
  1439.                         write.ImageColor3 = themeList.SchemeColor
  1440.                         togName.TextColor3 = themeList.TextColor
  1441.                         viewInfo.ImageColor3 = themeList.SchemeColor
  1442.                         sliderBtn.BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 5, themeList.ElementColor.g * 255 + 5, themeList.ElementColor.b * 255  + 5)
  1443.                         sliderDrag.BackgroundColor3 = themeList.SchemeColor
  1444.                     end
  1445.                 end)()
  1446.  
  1447.                 local Value
  1448.                 sliderBtn.MouseButton1Down:Connect(function()
  1449.                     if not focusing then
  1450.                         game.TweenService:Create(val, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  1451.                             TextTransparency = 0
  1452.                         }):Play()
  1453.                         Value = math.floor((((tonumber(maxvalue) - tonumber(minvalue)) / 149) * sliderDrag.AbsoluteSize.X) + tonumber(minvalue)) or 0
  1454.                         pcall(function()
  1455.                             callback(Value)
  1456.                         end)
  1457.                         sliderDrag:TweenSize(UDim2.new(0, math.clamp(mouse.X - sliderDrag.AbsolutePosition.X, 0, 149), 0, 6), "InOut", "Linear", 0.05, true)
  1458.                         moveconnection = mouse.Move:Connect(function()
  1459.                             val.Text = Value
  1460.                             Value = math.floor((((tonumber(maxvalue) - tonumber(minvalue)) / 149) * sliderDrag.AbsoluteSize.X) + tonumber(minvalue))
  1461.                             pcall(function()
  1462.                                 callback(Value)
  1463.                             end)
  1464.                             sliderDrag:TweenSize(UDim2.new(0, math.clamp(mouse.X - sliderDrag.AbsolutePosition.X, 0, 149), 0, 6), "InOut", "Linear", 0.05, true)
  1465.                         end)
  1466.                         releaseconnection = uis.InputEnded:Connect(function(Mouse)
  1467.                             if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
  1468.                                 Value = math.floor((((tonumber(maxvalue) - tonumber(minvalue)) / 149) * sliderDrag.AbsoluteSize.X) + tonumber(minvalue))
  1469.                                 pcall(function()
  1470.                                     callback(Value)
  1471.                                 end)
  1472.                                 val.Text = Value
  1473.                                 game.TweenService:Create(val, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  1474.                                     TextTransparency = 1
  1475.                                 }):Play()
  1476.                                 sliderDrag:TweenSize(UDim2.new(0, math.clamp(mouse.X - sliderDrag.AbsolutePosition.X, 0, 149), 0, 6), "InOut", "Linear", 0.05, true)
  1477.                                 moveconnection:Disconnect()
  1478.                                 releaseconnection:Disconnect()
  1479.                             end
  1480.                         end)
  1481.                     else
  1482.                         for i,v in next, infoContainer:GetChildren() do
  1483.                             Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  1484.                             focusing = false
  1485.                         end
  1486.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  1487.                     end
  1488.                 end)
  1489.                 viewInfo.MouseButton1Click:Connect(function()
  1490.                     if not viewDe then
  1491.                         viewDe = true
  1492.                         focusing = true
  1493.                         for i,v in next, infoContainer:GetChildren() do
  1494.                             if v ~= moreInfo then
  1495.                                 Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  1496.                             end
  1497.                         end
  1498.                         Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,0,0)}, 0.2)
  1499.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 0.5}, 0.2)
  1500.                         Utility:TweenObject(btn, {BackgroundColor3 = themeList.ElementColor}, 0.2)
  1501.                         wait(1.5)
  1502.                         focusing = false
  1503.                         Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,2,0)}, 0.2)
  1504.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  1505.                         wait(0)
  1506.                         viewDe = false
  1507.                     end
  1508.                 end)        
  1509.             end
  1510.  
  1511.             function Elements:NewDropdown(dropname, dropinf, list, callback)
  1512.                 local DropFunction = {}
  1513.                 dropname = dropname or "Dropdown"
  1514.                 list = list or {}
  1515.                 dropinf = dropinf or "Dropdown info"
  1516.                 callback = callback or function() end  
  1517.  
  1518.                 local opened = false
  1519.                 local DropYSize = 33
  1520.  
  1521.  
  1522.                 local dropFrame = Instance.new("Frame")
  1523.                 local dropOpen = Instance.new("TextButton")
  1524.                 local listImg = Instance.new("ImageLabel")
  1525.                 local itemTextbox = Instance.new("TextLabel")
  1526.                 local viewInfo = Instance.new("ImageButton")
  1527.                 local UICorner = Instance.new("UICorner")
  1528.                 local UIListLayout = Instance.new("UIListLayout")
  1529.                 local Sample = Instance.new("ImageLabel")
  1530.  
  1531.                 local ms = game.Players.LocalPlayer:GetMouse()
  1532.                 Sample.Name = "Sample"
  1533.                 Sample.Parent = dropOpen
  1534.                 Sample.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1535.                 Sample.BackgroundTransparency = 1.000
  1536.                 Sample.Image = "http://www.roblox.com/asset/?id=4560909609"
  1537.                 Sample.ImageColor3 = themeList.SchemeColor
  1538.                 Sample.ImageTransparency = 0.600
  1539.                
  1540.                 dropFrame.Name = "dropFrame"
  1541.                 dropFrame.Parent = sectionInners
  1542.                 dropFrame.BackgroundColor3 = themeList.Background
  1543.                 dropFrame.BorderSizePixel = 0
  1544.                 dropFrame.Position = UDim2.new(0, 0, 1.23571432, 0)
  1545.                 dropFrame.Size = UDim2.new(0, 352, 0, 33)
  1546.                 dropFrame.ClipsDescendants = true
  1547.                 local sample = Sample
  1548.                 local btn = dropOpen
  1549.                 dropOpen.Name = "dropOpen"
  1550.                 dropOpen.Parent = dropFrame
  1551.                 dropOpen.BackgroundColor3 = themeList.ElementColor
  1552.                 dropOpen.Size = UDim2.new(0, 352, 0, 33)
  1553.                 dropOpen.AutoButtonColor = false
  1554.                 dropOpen.Font = Enum.Font.SourceSans
  1555.                 dropOpen.Text = ""
  1556.                 dropOpen.TextColor3 = Color3.fromRGB(0, 0, 0)
  1557.                 dropOpen.TextSize = 14.000
  1558.                 dropOpen.ClipsDescendants = true
  1559.                 dropOpen.MouseButton1Click:Connect(function()
  1560.                     if not focusing then
  1561.                         if opened then
  1562.                             opened = false
  1563.                             dropFrame:TweenSize(UDim2.new(0, 352, 0, 33), "InOut", "Linear", 0.08)
  1564.                             wait(0.1)
  1565.                             updateSectionFrame()
  1566.                             UpdateSize()
  1567.                             local c = sample:Clone()
  1568.                             c.Parent = btn
  1569.                             local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
  1570.                             c.Position = UDim2.new(0, x, 0, y)
  1571.                             local len, size = 0.35, nil
  1572.                             if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  1573.                                 size = (btn.AbsoluteSize.X * 1.5)
  1574.                             else
  1575.                                 size = (btn.AbsoluteSize.Y * 1.5)
  1576.                             end
  1577.                             c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
  1578.                             for i = 1, 10 do
  1579.                                 c.ImageTransparency = c.ImageTransparency + 0.05
  1580.                                 wait(len / 12)
  1581.                             end
  1582.                             c:Destroy()
  1583.                         else
  1584.                             opened = true
  1585.                             dropFrame:TweenSize(UDim2.new(0, 352, 0, UIListLayout.AbsoluteContentSize.Y), "InOut", "Linear", 0.08, true)
  1586.                             wait(0.1)
  1587.                             updateSectionFrame()
  1588.                             UpdateSize()
  1589.                             local c = sample:Clone()
  1590.                             c.Parent = btn
  1591.                             local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
  1592.                             c.Position = UDim2.new(0, x, 0, y)
  1593.                             local len, size = 0.35, nil
  1594.                             if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  1595.                                 size = (btn.AbsoluteSize.X * 1.5)
  1596.                             else
  1597.                                 size = (btn.AbsoluteSize.Y * 1.5)
  1598.                             end
  1599.                             c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
  1600.                             for i = 1, 10 do
  1601.                                 c.ImageTransparency = c.ImageTransparency + 0.05
  1602.                                 wait(len / 12)
  1603.                             end
  1604.                             c:Destroy()
  1605.                         end
  1606.                     else
  1607.                         for i,v in next, infoContainer:GetChildren() do
  1608.                             Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  1609.                             focusing = false
  1610.                         end
  1611.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  1612.                     end
  1613.                 end)
  1614.  
  1615.                 listImg.Name = "listImg"
  1616.                 listImg.Parent = dropOpen
  1617.                 listImg.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1618.                 listImg.BackgroundTransparency = 1.000
  1619.                 listImg.BorderColor3 = Color3.fromRGB(27, 42, 53)
  1620.                 listImg.Position = UDim2.new(0.0199999996, 0, 0.180000007, 0)
  1621.                 listImg.Size = UDim2.new(0, 21, 0, 21)
  1622.                 listImg.Image = "rbxassetid://3926305904"
  1623.                 listImg.ImageColor3 = themeList.SchemeColor
  1624.                 listImg.ImageRectOffset = Vector2.new(644, 364)
  1625.                 listImg.ImageRectSize = Vector2.new(36, 36)
  1626.  
  1627.                 itemTextbox.Name = "itemTextbox"
  1628.                 itemTextbox.Parent = dropOpen
  1629.                 itemTextbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1630.                 itemTextbox.BackgroundTransparency = 1.000
  1631.                 itemTextbox.Position = UDim2.new(0.0970000029, 0, 0.273000002, 0)
  1632.                 itemTextbox.Size = UDim2.new(0, 138, 0, 14)
  1633.                 itemTextbox.Font = Enum.Font.GothamSemibold
  1634.                 itemTextbox.Text = dropname
  1635.                 itemTextbox.RichText = true
  1636.                 itemTextbox.TextColor3 = themeList.TextColor
  1637.                 itemTextbox.TextSize = 14.000
  1638.                 itemTextbox.TextXAlignment = Enum.TextXAlignment.Left
  1639.  
  1640.                 viewInfo.Name = "viewInfo"
  1641.                 viewInfo.Parent = dropOpen
  1642.                 viewInfo.BackgroundTransparency = 1.000
  1643.                 viewInfo.LayoutOrder = 9
  1644.                 viewInfo.Position = UDim2.new(0.930000007, 0, 0.151999995, 0)
  1645.                 viewInfo.Size = UDim2.new(0, 23, 0, 23)
  1646.                 viewInfo.ZIndex = 2
  1647.                 viewInfo.Image = "rbxassetid://3926305904"
  1648.                 viewInfo.ImageColor3 = themeList.SchemeColor
  1649.                 viewInfo.ImageRectOffset = Vector2.new(764, 764)
  1650.                 viewInfo.ImageRectSize = Vector2.new(36, 36)
  1651.  
  1652.                 UICorner.CornerRadius = UDim.new(0, 4)
  1653.                 UICorner.Parent = dropOpen
  1654.  
  1655.                 local Sample = Instance.new("ImageLabel")
  1656.  
  1657.                 Sample.Name = "Sample"
  1658.                 Sample.Parent = dropOpen
  1659.                 Sample.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1660.                 Sample.BackgroundTransparency = 1.000
  1661.                 Sample.Image = "http://www.roblox.com/asset/?id=4560909609"
  1662.                 Sample.ImageColor3 = themeList.SchemeColor
  1663.                 Sample.ImageTransparency = 0.600
  1664.  
  1665.                 UIListLayout.Parent = dropFrame
  1666.                 UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  1667.                 UIListLayout.Padding = UDim.new(0, 3)
  1668.  
  1669.                 updateSectionFrame()
  1670.                 UpdateSize()
  1671.  
  1672.                 local ms = game.Players.LocalPlayer:GetMouse()
  1673.                 local uis = game:GetService("UserInputService")
  1674.                 local infBtn = viewInfo
  1675.  
  1676.                 local moreInfo = Instance.new("TextLabel")
  1677.                 local UICorner = Instance.new("UICorner")
  1678.  
  1679.                 moreInfo.Name = "TipMore"
  1680.                 moreInfo.Parent = infoContainer
  1681.                 moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  1682.                 moreInfo.Position = UDim2.new(0, 0, 2, 0)
  1683.                 moreInfo.Size = UDim2.new(0, 353, 0, 33)
  1684.                 moreInfo.ZIndex = 9
  1685.                 moreInfo.RichText = true
  1686.                 moreInfo.Font = Enum.Font.GothamSemibold
  1687.                 moreInfo.Text = "  "..dropinf
  1688.                 moreInfo.TextColor3 = themeList.TextColor
  1689.                 moreInfo.TextSize = 14.000
  1690.                 moreInfo.TextXAlignment = Enum.TextXAlignment.Left
  1691.  
  1692.                 local hovering = false
  1693.                 btn.MouseEnter:Connect(function()
  1694.                     if not focusing then
  1695.                         game.TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  1696.                             BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
  1697.                         }):Play()
  1698.                         hovering = true
  1699.                     end
  1700.                 end)
  1701.                 btn.MouseLeave:Connect(function()
  1702.                     if not focusing then
  1703.                         game.TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  1704.                             BackgroundColor3 = themeList.ElementColor
  1705.                         }):Play()
  1706.                         hovering = false
  1707.                     end
  1708.                 end)        
  1709.                 coroutine.wrap(function()
  1710.                     while wait() do
  1711.                         if not hovering then
  1712.                             dropOpen.BackgroundColor3 = themeList.ElementColor
  1713.                         end
  1714.                         Sample.ImageColor3 = themeList.SchemeColor
  1715.                         dropFrame.BackgroundColor3 = themeList.Background
  1716.                         listImg.ImageColor3 = themeList.SchemeColor
  1717.                         itemTextbox.TextColor3 = themeList.TextColor
  1718.                         viewInfo.ImageColor3 = themeList.SchemeColor
  1719.                         moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  1720.                         moreInfo.TextColor3 = themeList.TextColor
  1721.                     end
  1722.                 end)()
  1723.                 UICorner.CornerRadius = UDim.new(0, 4)
  1724.                 UICorner.Parent = moreInfo
  1725.  
  1726.                 if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
  1727.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
  1728.                 end
  1729.                 if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
  1730.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
  1731.                 end
  1732.  
  1733.                 viewInfo.MouseButton1Click:Connect(function()
  1734.                     if not viewDe then
  1735.                         viewDe = true
  1736.                         focusing = true
  1737.                         for i,v in next, infoContainer:GetChildren() do
  1738.                             if v ~= moreInfo then
  1739.                                 Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  1740.                             end
  1741.                         end
  1742.                         Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,0,0)}, 0.2)
  1743.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 0.5}, 0.2)
  1744.                         Utility:TweenObject(btn, {BackgroundColor3 = themeList.ElementColor}, 0.2)
  1745.                         wait(1.5)
  1746.                         focusing = false
  1747.                         Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,2,0)}, 0.2)
  1748.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  1749.                         wait(0)
  1750.                         viewDe = false
  1751.                     end
  1752.                 end)    
  1753.  
  1754.                 for i,v in next, list do
  1755.                     local optionSelect = Instance.new("TextButton")
  1756.                     local UICorner_2 = Instance.new("UICorner")
  1757.                     local Sample1 = Instance.new("ImageLabel")
  1758.  
  1759.                     local ms = game.Players.LocalPlayer:GetMouse()
  1760.                     Sample1.Name = "Sample1"
  1761.                     Sample1.Parent = optionSelect
  1762.                     Sample1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1763.                     Sample1.BackgroundTransparency = 1.000
  1764.                     Sample1.Image = "http://www.roblox.com/asset/?id=4560909609"
  1765.                     Sample1.ImageColor3 = themeList.SchemeColor
  1766.                     Sample1.ImageTransparency = 0.600
  1767.  
  1768.                     local sample1 = Sample1
  1769.                     DropYSize = DropYSize + 33
  1770.                     optionSelect.Name = "optionSelect"
  1771.                     optionSelect.Parent = dropFrame
  1772.                     optionSelect.BackgroundColor3 = themeList.ElementColor
  1773.                     optionSelect.Position = UDim2.new(0, 0, 0.235294119, 0)
  1774.                     optionSelect.Size = UDim2.new(0, 352, 0, 33)
  1775.                     optionSelect.AutoButtonColor = false
  1776.                     optionSelect.Font = Enum.Font.GothamSemibold
  1777.                     optionSelect.Text = "  "..v
  1778.                     optionSelect.TextColor3 = Color3.fromRGB(themeList.TextColor.r * 255 - 6, themeList.TextColor.g * 255 - 6, themeList.TextColor.b * 255 - 6)
  1779.                     optionSelect.TextSize = 14.000
  1780.                     optionSelect.TextXAlignment = Enum.TextXAlignment.Left
  1781.                     optionSelect.ClipsDescendants = true
  1782.                     optionSelect.MouseButton1Click:Connect(function()
  1783.                         if not focusing then
  1784.                             opened = false
  1785.                             callback(v)
  1786.                             itemTextbox.Text = v
  1787.                             dropFrame:TweenSize(UDim2.new(0, 352, 0, 33), 'InOut', 'Linear', 0.08)
  1788.                             wait(0.1)
  1789.                             updateSectionFrame()
  1790.                             UpdateSize()
  1791.                             local c = sample1:Clone()
  1792.                             c.Parent = optionSelect
  1793.                             local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
  1794.                             c.Position = UDim2.new(0, x, 0, y)
  1795.                             local len, size = 0.35, nil
  1796.                             if optionSelect.AbsoluteSize.X >= optionSelect.AbsoluteSize.Y then
  1797.                                 size = (optionSelect.AbsoluteSize.X * 1.5)
  1798.                             else
  1799.                                 size = (optionSelect.AbsoluteSize.Y * 1.5)
  1800.                             end
  1801.                             c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
  1802.                             for i = 1, 10 do
  1803.                                 c.ImageTransparency = c.ImageTransparency + 0.05
  1804.                                 wait(len / 12)
  1805.                             end
  1806.                             c:Destroy()        
  1807.                         else
  1808.                             for i,v in next, infoContainer:GetChildren() do
  1809.                                 Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  1810.                                 focusing = false
  1811.                             end
  1812.                             Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  1813.                         end
  1814.                     end)
  1815.    
  1816.                     UICorner_2.CornerRadius = UDim.new(0, 4)
  1817.                     UICorner_2.Parent = optionSelect
  1818.  
  1819.                     local oHover = false
  1820.                     optionSelect.MouseEnter:Connect(function()
  1821.                         if not focusing then
  1822.                             game.TweenService:Create(optionSelect, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  1823.                                 BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
  1824.                             }):Play()
  1825.                             oHover = true
  1826.                         end
  1827.                     end)
  1828.                     optionSelect.MouseLeave:Connect(function()
  1829.                         if not focusing then
  1830.                             game.TweenService:Create(optionSelect, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  1831.                                 BackgroundColor3 = themeList.ElementColor
  1832.                             }):Play()
  1833.                             oHover = false
  1834.                         end
  1835.                     end)  
  1836.                     coroutine.wrap(function()
  1837.                         while wait() do
  1838.                             if not oHover then
  1839.                                 optionSelect.BackgroundColor3 = themeList.ElementColor
  1840.                             end
  1841.                             optionSelect.TextColor3 = Color3.fromRGB(themeList.TextColor.r * 255 - 6, themeList.TextColor.g * 255 - 6, themeList.TextColor.b * 255 - 6)
  1842.                             Sample1.ImageColor3 = themeList.SchemeColor
  1843.                         end
  1844.                     end)()
  1845.                 end
  1846.  
  1847.                 function DropFunction:Refresh(newList)
  1848.                     newList = newList or {}
  1849.                     for i,v in next, dropFrame:GetChildren() do
  1850.                         if v.Name == "optionSelect" then
  1851.                             v:Destroy()
  1852.                         end
  1853.                     end
  1854.                     for i,v in next, newList do
  1855.                         local optionSelect = Instance.new("TextButton")
  1856.                         local UICorner_2 = Instance.new("UICorner")
  1857.                         local Sample11 = Instance.new("ImageLabel")
  1858.                         local ms = game.Players.LocalPlayer:GetMouse()
  1859.                         Sample11.Name = "Sample11"
  1860.                         Sample11.Parent = optionSelect
  1861.                         Sample11.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1862.                         Sample11.BackgroundTransparency = 1.000
  1863.                         Sample11.Image = "http://www.roblox.com/asset/?id=4560909609"
  1864.                         Sample11.ImageColor3 = themeList.SchemeColor
  1865.                         Sample11.ImageTransparency = 0.600
  1866.    
  1867.                         local sample11 = Sample11
  1868.                         DropYSize = DropYSize + 33
  1869.                         optionSelect.Name = "optionSelect"
  1870.                         optionSelect.Parent = dropFrame
  1871.                         optionSelect.BackgroundColor3 = themeList.ElementColor
  1872.                         optionSelect.Position = UDim2.new(0, 0, 0.235294119, 0)
  1873.                         optionSelect.Size = UDim2.new(0, 352, 0, 33)
  1874.                         optionSelect.AutoButtonColor = false
  1875.                         optionSelect.Font = Enum.Font.GothamSemibold
  1876.                         optionSelect.Text = "  "..v
  1877.                         optionSelect.TextColor3 = Color3.fromRGB(themeList.TextColor.r * 255 - 6, themeList.TextColor.g * 255 - 6, themeList.TextColor.b * 255 - 6)
  1878.                         optionSelect.TextSize = 14.000
  1879.                         optionSelect.TextXAlignment = Enum.TextXAlignment.Left
  1880.                         optionSelect.ClipsDescendants = true
  1881.                         UICorner_2.CornerRadius = UDim.new(0, 4)
  1882.                         UICorner_2.Parent = optionSelect
  1883.                         optionSelect.MouseButton1Click:Connect(function()
  1884.                             if not focusing then
  1885.                                 opened = false
  1886.                                 callback(v)
  1887.                                 itemTextbox.Text = v
  1888.                                 dropFrame:TweenSize(UDim2.new(0, 352, 0, 33), 'InOut', 'Linear', 0.08)
  1889.                                 wait(0.1)
  1890.                                 updateSectionFrame()
  1891.                                 UpdateSize()
  1892.                                 local c = sample11:Clone()
  1893.                                 c.Parent = optionSelect
  1894.                                 local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
  1895.                                 c.Position = UDim2.new(0, x, 0, y)
  1896.                                 local len, size = 0.35, nil
  1897.                                 if optionSelect.AbsoluteSize.X >= optionSelect.AbsoluteSize.Y then
  1898.                                     size = (optionSelect.AbsoluteSize.X * 1.5)
  1899.                                 else
  1900.                                     size = (optionSelect.AbsoluteSize.Y * 1.5)
  1901.                                 end
  1902.                                 c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
  1903.                                 for i = 1, 10 do
  1904.                                     c.ImageTransparency = c.ImageTransparency + 0.05
  1905.                                     wait(len / 12)
  1906.                                 end
  1907.                                 c:Destroy()        
  1908.                             else
  1909.                                 for i,v in next, infoContainer:GetChildren() do
  1910.                                     Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  1911.                                     focusing = false
  1912.                                 end
  1913.                                 Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  1914.                             end
  1915.                         end)
  1916.                                         updateSectionFrame()
  1917.                 UpdateSize()
  1918.                         local hov = false
  1919.                         optionSelect.MouseEnter:Connect(function()
  1920.                             if not focusing then
  1921.                                 game.TweenService:Create(optionSelect, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  1922.                                     BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
  1923.                                 }):Play()
  1924.                                 hov = true
  1925.                             end
  1926.                         end)
  1927.                         optionSelect.MouseLeave:Connect(function()
  1928.                             if not focusing then
  1929.                                 game.TweenService:Create(optionSelect, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  1930.                                     BackgroundColor3 = themeList.ElementColor
  1931.                                 }):Play()
  1932.                                 hov = false
  1933.                             end
  1934.                         end)  
  1935.                         coroutine.wrap(function()
  1936.                             while wait() do
  1937.                                 if not oHover then
  1938.                                     optionSelect.BackgroundColor3 = themeList.ElementColor
  1939.                                 end
  1940.                                 optionSelect.TextColor3 = Color3.fromRGB(themeList.TextColor.r * 255 - 6, themeList.TextColor.g * 255 - 6, themeList.TextColor.b * 255 - 6)
  1941.                                 Sample11.ImageColor3 = themeList.SchemeColor
  1942.                             end
  1943.                         end)()
  1944.                     end
  1945.                     if opened then
  1946.                         dropFrame:TweenSize(UDim2.new(0, 352, 0, UIListLayout.AbsoluteContentSize.Y), "InOut", "Linear", 0.08, true)
  1947.                         wait(0.1)
  1948.                         updateSectionFrame()
  1949.                         UpdateSize()
  1950.                     else
  1951.                         dropFrame:TweenSize(UDim2.new(0, 352, 0, 33), "InOut", "Linear", 0.08)
  1952.                         wait(0.1)
  1953.                         updateSectionFrame()
  1954.                         UpdateSize()
  1955.                     end
  1956.                 end
  1957.                 return DropFunction
  1958.             end
  1959.             function Elements:NewKeybind(keytext, keyinf, first, callback)
  1960.                 keytext = keytext or "KeybindText"
  1961.                 keyinf = keyinf or "KebindInfo"
  1962.                 callback = callback or function() end
  1963.                 local oldKey = first.Name
  1964.                 local keybindElement = Instance.new("TextButton")
  1965.                 local UICorner = Instance.new("UICorner")
  1966.                 local togName = Instance.new("TextLabel")
  1967.                 local viewInfo = Instance.new("ImageButton")
  1968.                 local touch = Instance.new("ImageLabel")
  1969.                 local Sample = Instance.new("ImageLabel")
  1970.                 local togName_2 = Instance.new("TextLabel")
  1971.  
  1972.                 local ms = game.Players.LocalPlayer:GetMouse()
  1973.                 local uis = game:GetService("UserInputService")
  1974.                 local infBtn = viewInfo
  1975.  
  1976.                 local moreInfo = Instance.new("TextLabel")
  1977.                 local UICorner1 = Instance.new("UICorner")
  1978.  
  1979.                 local sample = Sample
  1980.  
  1981.                 keybindElement.Name = "keybindElement"
  1982.                 keybindElement.Parent = sectionInners
  1983.                 keybindElement.BackgroundColor3 = themeList.ElementColor
  1984.                 keybindElement.ClipsDescendants = true
  1985.                 keybindElement.Size = UDim2.new(0, 352, 0, 33)
  1986.                 keybindElement.AutoButtonColor = false
  1987.                 keybindElement.Font = Enum.Font.SourceSans
  1988.                 keybindElement.Text = ""
  1989.                 keybindElement.TextColor3 = Color3.fromRGB(0, 0, 0)
  1990.                 keybindElement.TextSize = 14.000
  1991.                 keybindElement.MouseButton1Click:connect(function(e)
  1992.                     if not focusing then
  1993.                         togName_2.Text = ". . ."
  1994.                         local a, b = game:GetService('UserInputService').InputBegan:wait();
  1995.                         if a.KeyCode.Name ~= "Unknown" then
  1996.                             togName_2.Text = a.KeyCode.Name
  1997.                             oldKey = a.KeyCode.Name;
  1998.                         end
  1999.                         local c = sample:Clone()
  2000.                         c.Parent = keybindElement
  2001.                         local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
  2002.                         c.Position = UDim2.new(0, x, 0, y)
  2003.                         local len, size = 0.35, nil
  2004.                         if keybindElement.AbsoluteSize.X >= keybindElement.AbsoluteSize.Y then
  2005.                             size = (keybindElement.AbsoluteSize.X * 1.5)
  2006.                         else
  2007.                             size = (keybindElement.AbsoluteSize.Y * 1.5)
  2008.                         end
  2009.                         c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
  2010.                         for i = 1, 10 do
  2011.                         c.ImageTransparency = c.ImageTransparency + 0.05
  2012.                             wait(len / 12)
  2013.                         end
  2014.                     else
  2015.                         for i,v in next, infoContainer:GetChildren() do
  2016.                             Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  2017.                             focusing = false
  2018.                         end
  2019.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  2020.                     end
  2021.                 end)
  2022.        
  2023.                 game:GetService("UserInputService").InputBegan:connect(function(current, ok)
  2024.                     if not ok then
  2025.                         if current.KeyCode.Name == oldKey then
  2026.                             callback()
  2027.                         end
  2028.                     end
  2029.                 end)
  2030.  
  2031.                 moreInfo.Name = "TipMore"
  2032.                 moreInfo.Parent = infoContainer
  2033.                 moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  2034.                 moreInfo.Position = UDim2.new(0, 0, 2, 0)
  2035.                 moreInfo.Size = UDim2.new(0, 353, 0, 33)
  2036.                 moreInfo.ZIndex = 9
  2037.                 moreInfo.RichText = true
  2038.                 moreInfo.Font = Enum.Font.GothamSemibold
  2039.                 moreInfo.Text = "  "..keyinf
  2040.                 moreInfo.TextColor3 = themeList.TextColor
  2041.                 moreInfo.TextSize = 14.000
  2042.                 moreInfo.TextXAlignment = Enum.TextXAlignment.Left
  2043.  
  2044.                 Sample.Name = "Sample"
  2045.                 Sample.Parent = keybindElement
  2046.                 Sample.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2047.                 Sample.BackgroundTransparency = 1.000
  2048.                 Sample.Image = "http://www.roblox.com/asset/?id=4560909609"
  2049.                 Sample.ImageColor3 = themeList.SchemeColor
  2050.                 Sample.ImageTransparency = 0.600
  2051.  
  2052.                
  2053.                 togName.Name = "togName"
  2054.                 togName.Parent = keybindElement
  2055.                 togName.BackgroundColor3 = themeList.TextColor
  2056.                 togName.BackgroundTransparency = 1.000
  2057.                 togName.Position = UDim2.new(0.096704483, 0, 0.272727281, 0)
  2058.                 togName.Size = UDim2.new(0, 222, 0, 14)
  2059.                 togName.Font = Enum.Font.GothamSemibold
  2060.                 togName.Text = keytext
  2061.                 togName.RichText = true
  2062.                 togName.TextColor3 = themeList.TextColor
  2063.                 togName.TextSize = 14.000
  2064.                 togName.TextXAlignment = Enum.TextXAlignment.Left
  2065.  
  2066.                 viewInfo.Name = "viewInfo"
  2067.                 viewInfo.Parent = keybindElement
  2068.                 viewInfo.BackgroundTransparency = 1.000
  2069.                 viewInfo.LayoutOrder = 9
  2070.                 viewInfo.Position = UDim2.new(0.930000007, 0, 0.151999995, 0)
  2071.                 viewInfo.Size = UDim2.new(0, 23, 0, 23)
  2072.                 viewInfo.ZIndex = 2
  2073.                 viewInfo.Image = "rbxassetid://3926305904"
  2074.                 viewInfo.ImageColor3 = themeList.SchemeColor
  2075.                 viewInfo.ImageRectOffset = Vector2.new(764, 764)
  2076.                 viewInfo.ImageRectSize = Vector2.new(36, 36)
  2077.                 viewInfo.MouseButton1Click:Connect(function()
  2078.                     if not viewDe then
  2079.                         viewDe = true
  2080.                         focusing = true
  2081.                         for i,v in next, infoContainer:GetChildren() do
  2082.                             if v ~= moreInfo then
  2083.                                 Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  2084.                             end
  2085.                         end
  2086.                         Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,0,0)}, 0.2)
  2087.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 0.5}, 0.2)
  2088.                         Utility:TweenObject(keybindElement, {BackgroundColor3 = themeList.ElementColor}, 0.2)
  2089.                         wait(1.5)
  2090.                         focusing = false
  2091.                         Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,2,0)}, 0.2)
  2092.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  2093.                         wait(0)
  2094.                         viewDe = false
  2095.                     end
  2096.                 end)  
  2097.                                 updateSectionFrame()
  2098.                 UpdateSize()
  2099.                 local oHover = false
  2100.                 keybindElement.MouseEnter:Connect(function()
  2101.                     if not focusing then
  2102.                         game.TweenService:Create(keybindElement, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  2103.                             BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
  2104.                         }):Play()
  2105.                         oHover = true
  2106.                     end
  2107.                 end)
  2108.                 keybindElement.MouseLeave:Connect(function()
  2109.                     if not focusing then
  2110.                         game.TweenService:Create(keybindElement, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  2111.                             BackgroundColor3 = themeList.ElementColor
  2112.                         }):Play()
  2113.                         oHover = false
  2114.                     end
  2115.                 end)        
  2116.  
  2117.                 UICorner1.CornerRadius = UDim.new(0, 4)
  2118.                 UICorner1.Parent = moreInfo
  2119.  
  2120.                 if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
  2121.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
  2122.                 end
  2123.                 if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
  2124.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
  2125.                 end
  2126.  
  2127.                 UICorner.CornerRadius = UDim.new(0, 4)
  2128.                 UICorner.Parent = keybindElement
  2129.  
  2130.                 touch.Name = "touch"
  2131.                 touch.Parent = keybindElement
  2132.                 touch.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2133.                 touch.BackgroundTransparency = 1.000
  2134.                 touch.BorderColor3 = Color3.fromRGB(27, 42, 53)
  2135.                 touch.Position = UDim2.new(0.0199999996, 0, 0.180000007, 0)
  2136.                 touch.Size = UDim2.new(0, 21, 0, 21)
  2137.                 touch.Image = "rbxassetid://3926305904"
  2138.                 touch.ImageColor3 = themeList.SchemeColor
  2139.                 touch.ImageRectOffset = Vector2.new(364, 284)
  2140.                 touch.ImageRectSize = Vector2.new(36, 36)
  2141.  
  2142.                 togName_2.Name = "togName"
  2143.                 togName_2.Parent = keybindElement
  2144.                 togName_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2145.                 togName_2.BackgroundTransparency = 1.000
  2146.                 togName_2.Position = UDim2.new(0.727386296, 0, 0.272727281, 0)
  2147.                 togName_2.Size = UDim2.new(0, 70, 0, 14)
  2148.                 togName_2.Font = Enum.Font.GothamSemibold
  2149.                 togName_2.Text = oldKey
  2150.                 togName_2.TextColor3 = themeList.SchemeColor
  2151.                 togName_2.TextSize = 14.000
  2152.                 togName_2.TextXAlignment = Enum.TextXAlignment.Right  
  2153.  
  2154.                 coroutine.wrap(function()
  2155.                     while wait() do
  2156.                         if not oHover then
  2157.                             keybindElement.BackgroundColor3 = themeList.ElementColor
  2158.                         end
  2159.                         togName_2.TextColor3 = themeList.SchemeColor
  2160.                         touch.ImageColor3 = themeList.SchemeColor
  2161.                         viewInfo.ImageColor3 = themeList.SchemeColor
  2162.                         togName.BackgroundColor3 = themeList.TextColor
  2163.                         togName.TextColor3 = themeList.TextColor
  2164.                         Sample.ImageColor3 = themeList.SchemeColor
  2165.                         moreInfo.TextColor3 = themeList.TextColor
  2166.                         moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  2167.  
  2168.                     end
  2169.                 end)()
  2170.             end
  2171.  
  2172.             function Elements:NewColorPicker(colText, colInf, defcolor, callback)
  2173.                 colText = colText or "ColorPicker"
  2174.                 callback = callback or function() end
  2175.                 defcolor = defcolor or Color3.fromRGB(1,1,1)
  2176.                 local h, s, v = Color3.toHSV(defcolor)
  2177.                 local ms = game.Players.LocalPlayer:GetMouse()
  2178.                 local colorOpened = false
  2179.                 local colorElement = Instance.new("TextButton")
  2180.                 local UICorner = Instance.new("UICorner")
  2181.                 local colorHeader = Instance.new("Frame")
  2182.                 local UICorner_2 = Instance.new("UICorner")
  2183.                 local touch = Instance.new("ImageLabel")
  2184.                 local togName = Instance.new("TextLabel")
  2185.                 local viewInfo = Instance.new("ImageButton")
  2186.                 local colorCurrent = Instance.new("Frame")
  2187.                 local UICorner_3 = Instance.new("UICorner")
  2188.                 local UIListLayout = Instance.new("UIListLayout")
  2189.                 local colorInners = Instance.new("Frame")
  2190.                 local UICorner_4 = Instance.new("UICorner")
  2191.                 local rgb = Instance.new("ImageButton")
  2192.                 local UICorner_5 = Instance.new("UICorner")
  2193.                 local rbgcircle = Instance.new("ImageLabel")
  2194.                 local darkness = Instance.new("ImageButton")
  2195.                 local UICorner_6 = Instance.new("UICorner")
  2196.                 local darkcircle = Instance.new("ImageLabel")
  2197.                 local toggleDisabled = Instance.new("ImageLabel")
  2198.                 local toggleEnabled = Instance.new("ImageLabel")
  2199.                 local onrainbow = Instance.new("TextButton")
  2200.                 local togName_2 = Instance.new("TextLabel")
  2201.  
  2202.                 --Properties:
  2203.                 local Sample = Instance.new("ImageLabel")
  2204.                 Sample.Name = "Sample"
  2205.                 Sample.Parent = colorHeader
  2206.                 Sample.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2207.                 Sample.BackgroundTransparency = 1.000
  2208.                 Sample.Image = "http://www.roblox.com/asset/?id=4560909609"
  2209.                 Sample.ImageColor3 = themeList.SchemeColor
  2210.                 Sample.ImageTransparency = 0.600
  2211.  
  2212.                 local btn = colorHeader
  2213.                 local sample = Sample
  2214.  
  2215.                 colorElement.Name = "colorElement"
  2216.                 colorElement.Parent = sectionInners
  2217.                 colorElement.BackgroundColor3 = themeList.ElementColor
  2218.                 colorElement.BackgroundTransparency = 1.000
  2219.                 colorElement.ClipsDescendants = true
  2220.                 colorElement.Position = UDim2.new(0, 0, 0.566834569, 0)
  2221.                 colorElement.Size = UDim2.new(0, 352, 0, 33)
  2222.                 colorElement.AutoButtonColor = false
  2223.                 colorElement.Font = Enum.Font.SourceSans
  2224.                 colorElement.Text = ""
  2225.                 colorElement.TextColor3 = Color3.fromRGB(0, 0, 0)
  2226.                 colorElement.TextSize = 14.000
  2227.                 colorElement.MouseButton1Click:Connect(function()
  2228.                     if not focusing then
  2229.                         if colorOpened then
  2230.                             colorOpened = false
  2231.                             colorElement:TweenSize(UDim2.new(0, 352, 0, 33), "InOut", "Linear", 0.08)
  2232.                             wait(0.1)
  2233.                             updateSectionFrame()
  2234.                             UpdateSize()
  2235.                             local c = sample:Clone()
  2236.                             c.Parent = btn
  2237.                             local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
  2238.                             c.Position = UDim2.new(0, x, 0, y)
  2239.                             local len, size = 0.35, nil
  2240.                             if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  2241.                                 size = (btn.AbsoluteSize.X * 1.5)
  2242.                             else
  2243.                                 size = (btn.AbsoluteSize.Y * 1.5)
  2244.                             end
  2245.                             c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
  2246.                             for i = 1, 10 do
  2247.                                 c.ImageTransparency = c.ImageTransparency + 0.05
  2248.                                 wait(len / 12)
  2249.                             end
  2250.                             c:Destroy()
  2251.                         else
  2252.                             colorOpened = true
  2253.                             colorElement:TweenSize(UDim2.new(0, 352, 0, 141), "InOut", "Linear", 0.08, true)
  2254.                             wait(0.1)
  2255.                             updateSectionFrame()
  2256.                             UpdateSize()
  2257.                             local c = sample:Clone()
  2258.                             c.Parent = btn
  2259.                             local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
  2260.                             c.Position = UDim2.new(0, x, 0, y)
  2261.                             local len, size = 0.35, nil
  2262.                             if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
  2263.                                 size = (btn.AbsoluteSize.X * 1.5)
  2264.                             else
  2265.                                 size = (btn.AbsoluteSize.Y * 1.5)
  2266.                             end
  2267.                             c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
  2268.                             for i = 1, 10 do
  2269.                                 c.ImageTransparency = c.ImageTransparency + 0.05
  2270.                                 wait(len / 12)
  2271.                             end
  2272.                             c:Destroy()
  2273.                         end
  2274.                     else
  2275.                         for i,v in next, infoContainer:GetChildren() do
  2276.                             Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  2277.                             focusing = false
  2278.                         end
  2279.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  2280.                     end
  2281.                 end)
  2282.                 UICorner.CornerRadius = UDim.new(0, 4)
  2283.                 UICorner.Parent = colorElement
  2284.  
  2285.                 colorHeader.Name = "colorHeader"
  2286.                 colorHeader.Parent = colorElement
  2287.                 colorHeader.BackgroundColor3 = themeList.ElementColor
  2288.                 colorHeader.Size = UDim2.new(0, 352, 0, 33)
  2289.                 colorHeader.ClipsDescendants = true
  2290.  
  2291.                 UICorner_2.CornerRadius = UDim.new(0, 4)
  2292.                 UICorner_2.Parent = colorHeader
  2293.                
  2294.                 touch.Name = "touch"
  2295.                 touch.Parent = colorHeader
  2296.                 touch.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2297.                 touch.BackgroundTransparency = 1.000
  2298.                 touch.BorderColor3 = Color3.fromRGB(27, 42, 53)
  2299.                 touch.Position = UDim2.new(0.0199999996, 0, 0.180000007, 0)
  2300.                 touch.Size = UDim2.new(0, 21, 0, 21)
  2301.                 touch.Image = "rbxassetid://3926305904"
  2302.                 touch.ImageColor3 = themeList.SchemeColor
  2303.                 touch.ImageRectOffset = Vector2.new(44, 964)
  2304.                 touch.ImageRectSize = Vector2.new(36, 36)
  2305.  
  2306.                 togName.Name = "togName"
  2307.                 togName.Parent = colorHeader
  2308.                 togName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2309.                 togName.BackgroundTransparency = 1.000
  2310.                 togName.Position = UDim2.new(0.096704483, 0, 0.272727281, 0)
  2311.                 togName.Size = UDim2.new(0, 288, 0, 14)
  2312.                 togName.Font = Enum.Font.GothamSemibold
  2313.                 togName.Text = colText
  2314.                 togName.TextColor3 = themeList.TextColor
  2315.                 togName.TextSize = 14.000
  2316.                 togName.RichText = true
  2317.                 togName.TextXAlignment = Enum.TextXAlignment.Left
  2318.  
  2319.                 local moreInfo = Instance.new("TextLabel")
  2320.                 local UICorner = Instance.new("UICorner")
  2321.  
  2322.                 moreInfo.Name = "TipMore"
  2323.                 moreInfo.Parent = infoContainer
  2324.                 moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  2325.                 moreInfo.Position = UDim2.new(0, 0, 2, 0)
  2326.                 moreInfo.Size = UDim2.new(0, 353, 0, 33)
  2327.                 moreInfo.ZIndex = 9
  2328.                 moreInfo.Font = Enum.Font.GothamSemibold
  2329.                 moreInfo.Text = "  "..colInf
  2330.                 moreInfo.TextColor3 = themeList.TextColor
  2331.                 moreInfo.TextSize = 14.000
  2332.                 moreInfo.RichText = true
  2333.                 moreInfo.TextXAlignment = Enum.TextXAlignment.Left
  2334.  
  2335.                 UICorner.CornerRadius = UDim.new(0, 4)
  2336.                 UICorner.Parent = moreInfo
  2337.  
  2338.                 viewInfo.Name = "viewInfo"
  2339.                 viewInfo.Parent = colorHeader
  2340.                 viewInfo.BackgroundTransparency = 1.000
  2341.                 viewInfo.LayoutOrder = 9
  2342.                 viewInfo.Position = UDim2.new(0.930000007, 0, 0.151999995, 0)
  2343.                 viewInfo.Size = UDim2.new(0, 23, 0, 23)
  2344.                 viewInfo.ZIndex = 2
  2345.                 viewInfo.Image = "rbxassetid://3926305904"
  2346.                 viewInfo.ImageColor3 = themeList.SchemeColor
  2347.                 viewInfo.ImageRectOffset = Vector2.new(764, 764)
  2348.                 viewInfo.ImageRectSize = Vector2.new(36, 36)
  2349.                 viewInfo.MouseButton1Click:Connect(function()
  2350.                     if not viewDe then
  2351.                         viewDe = true
  2352.                         focusing = true
  2353.                         for i,v in next, infoContainer:GetChildren() do
  2354.                             if v ~= moreInfo then
  2355.                                 Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
  2356.                             end
  2357.                         end
  2358.                         Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,0,0)}, 0.2)
  2359.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 0.5}, 0.2)
  2360.                         Utility:TweenObject(colorElement, {BackgroundColor3 = themeList.ElementColor}, 0.2)
  2361.                         wait(1.5)
  2362.                         focusing = false
  2363.                         Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,2,0)}, 0.2)
  2364.                         Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
  2365.                         wait(0)
  2366.                         viewDe = false
  2367.                     end
  2368.                 end)  
  2369.  
  2370.                 colorCurrent.Name = "colorCurrent"
  2371.                 colorCurrent.Parent = colorHeader
  2372.                 colorCurrent.BackgroundColor3 = defcolor
  2373.                 colorCurrent.Position = UDim2.new(0.792613626, 0, 0.212121218, 0)
  2374.                 colorCurrent.Size = UDim2.new(0, 42, 0, 18)
  2375.  
  2376.                 UICorner_3.CornerRadius = UDim.new(0, 4)
  2377.                 UICorner_3.Parent = colorCurrent
  2378.  
  2379.                 UIListLayout.Parent = colorElement
  2380.                 UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  2381.                 UIListLayout.Padding = UDim.new(0, 3)
  2382.  
  2383.                 colorInners.Name = "colorInners"
  2384.                 colorInners.Parent = colorElement
  2385.                 colorInners.BackgroundColor3 = themeList.ElementColor
  2386.                 colorInners.Position = UDim2.new(0, 0, 0.255319148, 0)
  2387.                 colorInners.Size = UDim2.new(0, 352, 0, 105)
  2388.  
  2389.                 UICorner_4.CornerRadius = UDim.new(0, 4)
  2390.                 UICorner_4.Parent = colorInners
  2391.  
  2392.                 rgb.Name = "rgb"
  2393.                 rgb.Parent = colorInners
  2394.                 rgb.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2395.                 rgb.BackgroundTransparency = 1.000
  2396.                 rgb.Position = UDim2.new(0.0198863633, 0, 0.0476190485, 0)
  2397.                 rgb.Size = UDim2.new(0, 211, 0, 93)
  2398.                 rgb.Image = "http://www.roblox.com/asset/?id=6523286724"
  2399.  
  2400.                 UICorner_5.CornerRadius = UDim.new(0, 4)
  2401.                 UICorner_5.Parent = rgb
  2402.  
  2403.                 rbgcircle.Name = "rbgcircle"
  2404.                 rbgcircle.Parent = rgb
  2405.                 rbgcircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2406.                 rbgcircle.BackgroundTransparency = 1.000
  2407.                 rbgcircle.Size = UDim2.new(0, 14, 0, 14)
  2408.                 rbgcircle.Image = "rbxassetid://3926309567"
  2409.                 rbgcircle.ImageColor3 = Color3.fromRGB(0, 0, 0)
  2410.                 rbgcircle.ImageRectOffset = Vector2.new(628, 420)
  2411.                 rbgcircle.ImageRectSize = Vector2.new(48, 48)
  2412.  
  2413.                 darkness.Name = "darkness"
  2414.                 darkness.Parent = colorInners
  2415.                 darkness.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2416.                 darkness.BackgroundTransparency = 1.000
  2417.                 darkness.Position = UDim2.new(0.636363626, 0, 0.0476190485, 0)
  2418.                 darkness.Size = UDim2.new(0, 18, 0, 93)
  2419.                 darkness.Image = "http://www.roblox.com/asset/?id=6523291212"
  2420.  
  2421.                 UICorner_6.CornerRadius = UDim.new(0, 4)
  2422.                 UICorner_6.Parent = darkness
  2423.  
  2424.                 darkcircle.Name = "darkcircle"
  2425.                 darkcircle.Parent = darkness
  2426.                 darkcircle.AnchorPoint = Vector2.new(0.5, 0)
  2427.                 darkcircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2428.                 darkcircle.BackgroundTransparency = 1.000
  2429.                 darkcircle.Size = UDim2.new(0, 14, 0, 14)
  2430.                 darkcircle.Image = "rbxassetid://3926309567"
  2431.                 darkcircle.ImageColor3 = Color3.fromRGB(0, 0, 0)
  2432.                 darkcircle.ImageRectOffset = Vector2.new(628, 420)
  2433.                 darkcircle.ImageRectSize = Vector2.new(48, 48)
  2434.  
  2435.                 toggleDisabled.Name = "toggleDisabled"
  2436.                 toggleDisabled.Parent = colorInners
  2437.                 toggleDisabled.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2438.                 toggleDisabled.BackgroundTransparency = 1.000
  2439.                 toggleDisabled.Position = UDim2.new(0.704659104, 0, 0.0657142699, 0)
  2440.                 toggleDisabled.Size = UDim2.new(0, 21, 0, 21)
  2441.                 toggleDisabled.Image = "rbxassetid://3926309567"
  2442.                 toggleDisabled.ImageColor3 = themeList.SchemeColor
  2443.                 toggleDisabled.ImageRectOffset = Vector2.new(628, 420)
  2444.                 toggleDisabled.ImageRectSize = Vector2.new(48, 48)
  2445.  
  2446.                 toggleEnabled.Name = "toggleEnabled"
  2447.                 toggleEnabled.Parent = colorInners
  2448.                 toggleEnabled.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2449.                 toggleEnabled.BackgroundTransparency = 1.000
  2450.                 toggleEnabled.Position = UDim2.new(0.704999983, 0, 0.0659999996, 0)
  2451.                 toggleEnabled.Size = UDim2.new(0, 21, 0, 21)
  2452.                 toggleEnabled.Image = "rbxassetid://3926309567"
  2453.                 toggleEnabled.ImageColor3 = themeList.SchemeColor
  2454.                 toggleEnabled.ImageRectOffset = Vector2.new(784, 420)
  2455.                 toggleEnabled.ImageRectSize = Vector2.new(48, 48)
  2456.                 toggleEnabled.ImageTransparency = 1.000
  2457.  
  2458.                 onrainbow.Name = "onrainbow"
  2459.                 onrainbow.Parent = toggleEnabled
  2460.                 onrainbow.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2461.                 onrainbow.BackgroundTransparency = 1.000
  2462.                 onrainbow.Position = UDim2.new(2.90643607e-06, 0, 0, 0)
  2463.                 onrainbow.Size = UDim2.new(1, 0, 1, 0)
  2464.                 onrainbow.Font = Enum.Font.SourceSans
  2465.                 onrainbow.Text = ""
  2466.                 onrainbow.TextColor3 = Color3.fromRGB(0, 0, 0)
  2467.                 onrainbow.TextSize = 14.000
  2468.  
  2469.                 togName_2.Name = "togName"
  2470.                 togName_2.Parent = colorInners
  2471.                 togName_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2472.                 togName_2.BackgroundTransparency = 1.000
  2473.                 togName_2.Position = UDim2.new(0.779999971, 0, 0.100000001, 0)
  2474.                 togName_2.Size = UDim2.new(0, 278, 0, 14)
  2475.                 togName_2.Font = Enum.Font.GothamSemibold
  2476.                 togName_2.Text = "Rainbow"
  2477.                 togName_2.TextColor3 = themeList.TextColor
  2478.                 togName_2.TextSize = 14.000
  2479.                 togName_2.TextXAlignment = Enum.TextXAlignment.Left
  2480.  
  2481.                 if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
  2482.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
  2483.                 end
  2484.                 if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
  2485.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
  2486.                 end
  2487.                 local hovering = false
  2488.  
  2489.                 colorElement.MouseEnter:Connect(function()
  2490.                     if not focusing then
  2491.                         game.TweenService:Create(colorElement, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  2492.                             BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
  2493.                         }):Play()
  2494.                         hovering = true
  2495.                     end
  2496.                 end)
  2497.                 colorElement.MouseLeave:Connect(function()
  2498.                     if not focusing then
  2499.                         game.TweenService:Create(colorElement, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
  2500.                             BackgroundColor3 = themeList.ElementColor
  2501.                         }):Play()
  2502.                         hovering = false
  2503.                     end
  2504.                 end)        
  2505.  
  2506.                 if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
  2507.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
  2508.                 end
  2509.                 if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
  2510.                     Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
  2511.                 end
  2512.                 coroutine.wrap(function()
  2513.                     while wait() do
  2514.                         if not hovering then
  2515.                             colorElement.BackgroundColor3 = themeList.ElementColor
  2516.                         end
  2517.                         touch.ImageColor3 = themeList.SchemeColor
  2518.                         colorHeader.BackgroundColor3 = themeList.ElementColor
  2519.                         togName.TextColor3 = themeList.TextColor
  2520.                         moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
  2521.                         moreInfo.TextColor3 = themeList.TextColor
  2522.                         viewInfo.ImageColor3 = themeList.SchemeColor
  2523.                         colorInners.BackgroundColor3 = themeList.ElementColor
  2524.                         toggleDisabled.ImageColor3 = themeList.SchemeColor
  2525.                         toggleEnabled.ImageColor3 = themeList.SchemeColor
  2526.                         togName_2.TextColor3 = themeList.TextColor
  2527.                         Sample.ImageColor3 = themeList.SchemeColor
  2528.                     end
  2529.                 end)()
  2530.                 updateSectionFrame()
  2531.                 UpdateSize()
  2532.                 local plr = game.Players.LocalPlayer
  2533.                 local mouse = plr:GetMouse()
  2534.                 local uis = game:GetService('UserInputService')
  2535.                 local rs = game:GetService("RunService")
  2536.                 local colorpicker = false
  2537.                 local darknesss = false
  2538.                 local dark = false
  2539.                 local rgb = rgb    
  2540.                 local dark = darkness    
  2541.                 local cursor = rbgcircle
  2542.                 local cursor2 = darkcircle
  2543.                 local color = {1,1,1}
  2544.                 local rainbow = false
  2545.                 local rainbowconnection
  2546.                 local counter = 0
  2547.                 --
  2548.                 local function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  2549.                 counter = 0
  2550.                 local function mouseLocation()
  2551.                     return plr:GetMouse()
  2552.                 end
  2553.                 local function cp()
  2554.                     if colorpicker then
  2555.                         local ml = mouseLocation()
  2556.                         local x,y = ml.X - rgb.AbsolutePosition.X,ml.Y - rgb.AbsolutePosition.Y
  2557.                         local maxX,maxY = rgb.AbsoluteSize.X,rgb.AbsoluteSize.Y
  2558.                         if x<0 then x=0 end
  2559.                         if x>maxX then x=maxX end
  2560.                         if y<0 then y=0 end
  2561.                         if y>maxY then y=maxY end
  2562.                         x = x/maxX
  2563.                         y = y/maxY
  2564.                         local cx = cursor.AbsoluteSize.X/2
  2565.                         local cy = cursor.AbsoluteSize.Y/2
  2566.                         cursor.Position = UDim2.new(x,-cx,y,-cy)
  2567.                         color = {1-x,1-y,color[3]}
  2568.                         local realcolor = Color3.fromHSV(color[1],color[2],color[3])
  2569.                         colorCurrent.BackgroundColor3 = realcolor
  2570.                         callback(realcolor)
  2571.                     end
  2572.                     if darknesss then
  2573.                         local ml = mouseLocation()
  2574.                         local y = ml.Y - dark.AbsolutePosition.Y
  2575.                         local maxY = dark.AbsoluteSize.Y
  2576.                         if y<0 then y=0 end
  2577.                         if y>maxY then y=maxY end
  2578.                         y = y/maxY
  2579.                         local cy = cursor2.AbsoluteSize.Y/2
  2580.                         cursor2.Position = UDim2.new(0.5,0,y,-cy)
  2581.                         cursor2.ImageColor3 = Color3.fromHSV(0,0,y)
  2582.                         color = {color[1],color[2],1-y}
  2583.                         local realcolor = Color3.fromHSV(color[1],color[2],color[3])
  2584.                         colorCurrent.BackgroundColor3 = realcolor
  2585.                         callback(realcolor)
  2586.                     end
  2587.                 end
  2588.  
  2589.                 local function setcolor(tbl)
  2590.                     local cx = cursor.AbsoluteSize.X/2
  2591.                     local cy = cursor.AbsoluteSize.Y/2
  2592.                     color = {tbl[1],tbl[2],tbl[3]}
  2593.                     cursor.Position = UDim2.new(color[1],-cx,color[2]-1,-cy)
  2594.                     cursor2.Position = UDim2.new(0.5,0,color[3]-1,-cy)
  2595.                     local realcolor = Color3.fromHSV(color[1],color[2],color[3])
  2596.                     colorCurrent.BackgroundColor3 = realcolor
  2597.                 end
  2598.                 local function setrgbcolor(tbl)
  2599.                     local cx = cursor.AbsoluteSize.X/2
  2600.                     local cy = cursor.AbsoluteSize.Y/2
  2601.                     color = {tbl[1],tbl[2],color[3]}
  2602.                     cursor.Position = UDim2.new(color[1],-cx,color[2]-1,-cy)
  2603.                     local realcolor = Color3.fromHSV(color[1],color[2],color[3])
  2604.                     colorCurrent.BackgroundColor3 = realcolor
  2605.                     callback(realcolor)
  2606.                 end
  2607.                 local function togglerainbow()
  2608.                     if rainbow then
  2609.                         game.TweenService:Create(toggleEnabled, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {
  2610.                             ImageTransparency = 1
  2611.                         }):Play()
  2612.                         rainbow = false
  2613.                         rainbowconnection:Disconnect()
  2614.                     else
  2615.                         game.TweenService:Create(toggleEnabled, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {
  2616.                             ImageTransparency = 0
  2617.                         }):Play()
  2618.                         rainbow = true
  2619.                         rainbowconnection = rs.RenderStepped:Connect(function()
  2620.                             setrgbcolor({zigzag(counter),1,1})
  2621.                             counter = counter + 0.01
  2622.                         end)
  2623.                     end
  2624.                 end
  2625.  
  2626.                 onrainbow.MouseButton1Click:Connect(togglerainbow)
  2627.                 --
  2628.                 mouse.Move:connect(cp)
  2629.                 rgb.MouseButton1Down:connect(function()colorpicker=true end)
  2630.                 dark.MouseButton1Down:connect(function()darknesss=true end)
  2631.                 uis.InputEnded:Connect(function(input)
  2632.                     if input.UserInputType.Name == 'MouseButton1' then
  2633.                         if darknesss then darknesss = false end
  2634.                         if colorpicker then colorpicker = false end
  2635.                     end
  2636.                 end)
  2637.                 setcolor({h,s,v})
  2638.             end
  2639.            
  2640.             function Elements:NewLabel(title)
  2641.                 local labelFunctions = {}
  2642.                 local label = Instance.new("TextLabel")
  2643.                 local UICorner = Instance.new("UICorner")
  2644.                 label.Name = "label"
  2645.                 label.Parent = sectionInners
  2646.                 label.BackgroundColor3 = themeList.SchemeColor
  2647.                 label.BorderSizePixel = 0
  2648.                 label.ClipsDescendants = true
  2649.                 label.Text = title
  2650.                 label.Size = UDim2.new(0, 352, 0, 33)
  2651.                 label.Font = Enum.Font.Gotham
  2652.                 label.Text = "  "..title
  2653.                 label.RichText = true
  2654.                 label.TextColor3 = themeList.TextColor
  2655.                 Objects[label] = "TextColor3"
  2656.                 label.TextSize = 14.000
  2657.                 label.TextXAlignment = Enum.TextXAlignment.Left
  2658.                
  2659.                 UICorner.CornerRadius = UDim.new(0, 4)
  2660.                 UICorner.Parent = label
  2661.                
  2662.                 if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
  2663.                     Utility:TweenObject(label, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
  2664.                 end
  2665.                 if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
  2666.                     Utility:TweenObject(label, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
  2667.                 end
  2668.  
  2669.                 coroutine.wrap(function()
  2670.                     while wait() do
  2671.                         label.BackgroundColor3 = themeList.SchemeColor
  2672.                         label.TextColor3 = themeList.TextColor
  2673.                     end
  2674.                 end)()
  2675.                 updateSectionFrame()
  2676.                 UpdateSize()
  2677.                 function labelFunctions:UpdateLabel(newText)
  2678.                     if label.Text ~= "  "..newText then
  2679.                         label.Text = "  "..newText
  2680.                     end
  2681.                 end
  2682.                 return labelFunctions
  2683.             end
  2684.             return Elements
  2685.         end
  2686.         return Sections
  2687.     end  
  2688.     return Tabs
  2689. end
  2690. return Kavo
Add Comment
Please, Sign In to add comment