Advertisement
zqozr

Untitled

Sep 1st, 2021
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 120.57 KB | None | 0 0
  1. local DiscordLib = {}
  2. local UserInputService = game:GetService("UserInputService")
  3. local TweenService = game:GetService("TweenService")
  4. local RunService = game:GetService("RunService")
  5. local LocalPlayer = game:GetService("Players").LocalPlayer
  6. local Mouse = LocalPlayer:GetMouse()
  7. local HttpService = game:GetService("HttpService")
  8. local pfp
  9. local user
  10. local tag
  11. local userinfo = {}
  12.  
  13. pcall(function()
  14.     userinfo = HttpService:JSONDecode(readfile("discordlibinfo.txt"));
  15. end)
  16.  
  17. pfp = userinfo["pfp"] or "https://www.roblox.com/headshot-thumbnail/image?userId=".. game.Players.LocalPlayer.UserId .."&width=420&height=420&format=png"
  18. user =  userinfo["user"] or game.Players.LocalPlayer.Name
  19. tag = userinfo["tag"] or tostring(math.random(1000,9999))
  20.  
  21. local function SaveInfo()
  22.     userinfo["pfp"] = pfp
  23.     userinfo["user"] = user
  24.     userinfo["tag"] = tag
  25.     writefile("discordlibinfo.txt", HttpService:JSONEncode(userinfo));
  26. end
  27.  
  28. local function MakeDraggable(topbarobject, object)
  29.     local Dragging = nil
  30.     local DragInput = nil
  31.     local DragStart = nil
  32.     local StartPosition = nil
  33.  
  34.     local function Update(input)
  35.         local Delta = input.Position - DragStart
  36.         local pos =
  37.             UDim2.new(
  38.                 StartPosition.X.Scale,
  39.                 StartPosition.X.Offset + Delta.X,
  40.                 StartPosition.Y.Scale,
  41.                 StartPosition.Y.Offset + Delta.Y
  42.             )
  43.         object.Position = pos
  44.     end
  45.  
  46.     topbarobject.InputBegan:Connect(
  47.         function(input)
  48.             if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  49.                 Dragging = true
  50.                 DragStart = input.Position
  51.                 StartPosition = object.Position
  52.  
  53.                 input.Changed:Connect(
  54.                     function()
  55.                         if input.UserInputState == Enum.UserInputState.End then
  56.                             Dragging = false
  57.                         end
  58.                     end
  59.                 )
  60.             end
  61.         end
  62.     )
  63.  
  64.     topbarobject.InputChanged:Connect(
  65.         function(input)
  66.             if
  67.                 input.UserInputType == Enum.UserInputType.MouseMovement or
  68.                     input.UserInputType == Enum.UserInputType.Touch
  69.             then
  70.                 DragInput = input
  71.             end
  72.         end
  73.     )
  74.  
  75.     UserInputService.InputChanged:Connect(
  76.         function(input)
  77.             if input == DragInput and Dragging then
  78.                 Update(input)
  79.             end
  80.         end
  81.     )
  82. end
  83.  
  84. local Discord = Instance.new("ScreenGui")
  85. Discord.Name = "Discord"
  86. Discord.Parent = game.CoreGui
  87. Discord.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  88.  
  89. function DiscordLib:Window(text)
  90.     local currentservertoggled = ""
  91.     local minimized = false
  92.     local fs = false
  93.     local settingsopened = false
  94.     local MainFrame = Instance.new("Frame")
  95.     local TopFrame = Instance.new("Frame")
  96.     local Title = Instance.new("TextLabel")
  97.     local CloseBtn = Instance.new("TextButton")
  98.     local CloseIcon = Instance.new("ImageLabel")
  99.     local MinimizeBtn = Instance.new("TextButton")
  100.     local MinimizeIcon = Instance.new("ImageLabel")
  101.     local ServersHolder = Instance.new("Folder")
  102.     local Userpad = Instance.new("Frame")
  103.     local UserIcon = Instance.new("Frame")
  104.     local UserIconCorner = Instance.new("UICorner")
  105.     local UserImage = Instance.new("ImageLabel")
  106.     local UserCircleImage = Instance.new("ImageLabel")
  107.     local UserName = Instance.new("TextLabel")
  108.     local UserTag = Instance.new("TextLabel")
  109.     local ServersHoldFrame = Instance.new("Frame")
  110.     local ServersHold = Instance.new("ScrollingFrame")
  111.     local ServersHoldLayout = Instance.new("UIListLayout")
  112.     local ServersHoldPadding = Instance.new("UIPadding")
  113.     local TopFrameHolder = Instance.new("Frame")
  114.  
  115.     MainFrame.Name = "MainFrame"
  116.     MainFrame.Parent = Discord
  117.     MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  118.     MainFrame.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
  119.     MainFrame.BorderSizePixel = 0
  120.     MainFrame.ClipsDescendants = true
  121.     MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  122.     MainFrame.Size = UDim2.new(0, 681, 0, 396)
  123.  
  124.     TopFrame.Name = "TopFrame"
  125.     TopFrame.Parent = MainFrame
  126.     TopFrame.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
  127.     TopFrame.BackgroundTransparency = 1.000
  128.     TopFrame.BorderSizePixel = 0
  129.     TopFrame.Position = UDim2.new(-0.000658480625, 0, 0, 0)
  130.     TopFrame.Size = UDim2.new(0, 681, 0, 22)
  131.  
  132.     TopFrameHolder.Name = "TopFrameHolder"
  133.     TopFrameHolder.Parent = TopFrame
  134.     TopFrameHolder.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
  135.     TopFrameHolder.BackgroundTransparency = 1.000
  136.     TopFrameHolder.BorderSizePixel = 0
  137.     TopFrameHolder.Position = UDim2.new(-0.000658480625, 0, 0, 0)
  138.     TopFrameHolder.Size = UDim2.new(0, 681, 0, 22)
  139.  
  140.     Title.Name = "Title"
  141.     Title.Parent = TopFrame
  142.     Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  143.     Title.BackgroundTransparency = 1.000
  144.     Title.Position = UDim2.new(0.0102790017, 0, 0, 0)
  145.     Title.Size = UDim2.new(0, 192, 0, 23)
  146.     Title.Font = Enum.Font.Gotham
  147.     Title.Text = text
  148.     Title.TextColor3 = Color3.fromRGB(99, 102, 109)
  149.     Title.TextSize = 13.000
  150.     Title.TextXAlignment = Enum.TextXAlignment.Left
  151.  
  152.     CloseBtn.Name = "CloseBtn"
  153.     CloseBtn.Parent = TopFrame
  154.     CloseBtn.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
  155.     CloseBtn.BackgroundTransparency = 0
  156.     CloseBtn.Position = UDim2.new(0.959063113, 0, -0.0169996787, 0)
  157.     CloseBtn.Size = UDim2.new(0, 28, 0, 22)
  158.     CloseBtn.Font = Enum.Font.Gotham
  159.     CloseBtn.Text = ""
  160.     CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  161.     CloseBtn.TextSize = 14.000
  162.     CloseBtn.BorderSizePixel = 0
  163.     CloseBtn.AutoButtonColor = false
  164.  
  165.     CloseIcon.Name = "CloseIcon"
  166.     CloseIcon.Parent = CloseBtn
  167.     CloseIcon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  168.     CloseIcon.BackgroundTransparency = 1.000
  169.     CloseIcon.Position = UDim2.new(0.189182192, 0, 0.128935531, 0)
  170.     CloseIcon.Size = UDim2.new(0, 17, 0, 17)
  171.     CloseIcon.Image = "http://www.roblox.com/asset/?id=6035047409"
  172.     CloseIcon.ImageColor3 = Color3.fromRGB(220, 221, 222)
  173.  
  174.     MinimizeBtn.Name = "MinimizeButton"
  175.     MinimizeBtn.Parent = TopFrame
  176.     MinimizeBtn.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
  177.     MinimizeBtn.BackgroundTransparency = 0
  178.     MinimizeBtn.Position = UDim2.new(0.917947114, 0, -0.0169996787, 0)
  179.     MinimizeBtn.Size = UDim2.new(0, 28, 0, 22)
  180.     MinimizeBtn.Font = Enum.Font.Gotham
  181.     MinimizeBtn.Text = ""
  182.     MinimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  183.     MinimizeBtn.TextSize = 14.000
  184.     MinimizeBtn.BorderSizePixel = 0
  185.     MinimizeBtn.AutoButtonColor = false
  186.  
  187.     MinimizeIcon.Name = "MinimizeLabel"
  188.     MinimizeIcon.Parent = MinimizeBtn
  189.     MinimizeIcon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  190.     MinimizeIcon.BackgroundTransparency = 1.000
  191.     MinimizeIcon.Position = UDim2.new(0.189182192, 0, 0.128935531, 0)
  192.     MinimizeIcon.Size = UDim2.new(0, 17, 0, 17)
  193.     MinimizeIcon.Image = "http://www.roblox.com/asset/?id=6035067836"
  194.     MinimizeIcon.ImageColor3 = Color3.fromRGB(220, 221, 222)
  195.  
  196.     ServersHolder.Name = "ServersHolder"
  197.     ServersHolder.Parent = TopFrameHolder
  198.  
  199.     Userpad.Name = "Userpad"
  200.     Userpad.Parent = TopFrameHolder
  201.     Userpad.BackgroundColor3 = Color3.fromRGB(41, 43, 47)
  202.     Userpad.BorderSizePixel = 0
  203.     Userpad.Position = UDim2.new(0.106243297, 0, 15.9807148, 0)
  204.     Userpad.Size = UDim2.new(0, 179, 0, 43)
  205.  
  206.     UserIcon.Name = "UserIcon"
  207.     UserIcon.Parent = Userpad
  208.     UserIcon.BackgroundColor3 = Color3.fromRGB(31, 33, 36)
  209.     UserIcon.BorderSizePixel = 0
  210.     UserIcon.Position = UDim2.new(0.0340000018, 0, 0.123999998, 0)
  211.     UserIcon.Size = UDim2.new(0, 32, 0, 32)
  212.  
  213.     UserIconCorner.CornerRadius = UDim.new(1, 8)
  214.     UserIconCorner.Name = "UserIconCorner"
  215.     UserIconCorner.Parent = UserIcon
  216.  
  217.     UserImage.Name = "UserImage"
  218.     UserImage.Parent = UserIcon
  219.     UserImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  220.     UserImage.BackgroundTransparency = 1.000
  221.     UserImage.Size = UDim2.new(0, 32, 0, 32)
  222.     UserImage.Image = pfp
  223.  
  224.     UserCircleImage.Name = "UserImage"
  225.     UserCircleImage.Parent = UserImage
  226.     UserCircleImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  227.     UserCircleImage.BackgroundTransparency = 1.000
  228.     UserCircleImage.Size = UDim2.new(0, 32, 0, 32)
  229.     UserCircleImage.Image = "rbxassetid://4031889928"
  230.     UserCircleImage.ImageColor3 = Color3.fromRGB(41, 43, 47)
  231.  
  232.     UserName.Name = "UserName"
  233.     UserName.Parent = Userpad
  234.     UserName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  235.     UserName.BackgroundTransparency = 1.000
  236.     UserName.BorderSizePixel = 0
  237.     UserName.Position = UDim2.new(0.230000004, 0, 0.115999997, 0)
  238.     UserName.Size = UDim2.new(0, 98, 0, 17)
  239.     UserName.Font = Enum.Font.GothamSemibold
  240.     UserName.TextColor3 = Color3.fromRGB(255, 255, 255)
  241.     UserName.TextSize = 13.000
  242.     UserName.TextXAlignment = Enum.TextXAlignment.Left
  243.     UserName.ClipsDescendants = true
  244.  
  245.     UserTag.Name = "UserTag"
  246.     UserTag.Parent = Userpad
  247.     UserTag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  248.     UserTag.BackgroundTransparency = 1.000
  249.     UserTag.BorderSizePixel = 0
  250.     UserTag.Position = UDim2.new(0.230000004, 0, 0.455000013, 0)
  251.     UserTag.Size = UDim2.new(0, 95, 0, 17)
  252.     UserTag.Font = Enum.Font.Gotham
  253.     UserTag.TextColor3 = Color3.fromRGB(255, 255, 255)
  254.     UserTag.TextSize = 13.000
  255.     UserTag.TextTransparency = 0.300
  256.     UserTag.TextXAlignment = Enum.TextXAlignment.Left
  257.  
  258.     UserName.Text = user
  259.     UserTag.Text = "#" .. tag
  260.  
  261.     ServersHoldFrame.Name = "ServersHoldFrame"
  262.     ServersHoldFrame.Parent = MainFrame
  263.     ServersHoldFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  264.     ServersHoldFrame.BackgroundTransparency = 1.000
  265.     ServersHoldFrame.BorderColor3 = Color3.fromRGB(27, 42, 53)
  266.     ServersHoldFrame.Size = UDim2.new(0, 71, 0, 396)
  267.  
  268.     ServersHold.Name = "ServersHold"
  269.     ServersHold.Parent = ServersHoldFrame
  270.     ServersHold.Active = true
  271.     ServersHold.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  272.     ServersHold.BackgroundTransparency = 1.000
  273.     ServersHold.BorderSizePixel = 0
  274.     ServersHold.Position = UDim2.new(-0.000359333731, 0, 0.0580808073, 0)
  275.     ServersHold.Size = UDim2.new(0, 71, 0, 373)
  276.     ServersHold.ScrollBarThickness = 1
  277.     ServersHold.ScrollBarImageTransparency = 1
  278.     ServersHold.CanvasSize = UDim2.new(0, 0, 0, 0)
  279.  
  280.     ServersHoldLayout.Name = "ServersHoldLayout"
  281.     ServersHoldLayout.Parent = ServersHold
  282.     ServersHoldLayout.SortOrder = Enum.SortOrder.LayoutOrder
  283.     ServersHoldLayout.Padding = UDim.new(0, 7)
  284.  
  285.     ServersHoldPadding.Name = "ServersHoldPadding"
  286.     ServersHoldPadding.Parent = ServersHold
  287.  
  288.     CloseBtn.MouseButton1Click:Connect(
  289.         function()
  290.             MainFrame:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
  291.         end
  292.     )
  293.  
  294.     CloseBtn.MouseEnter:Connect(
  295.         function()
  296.             CloseBtn.BackgroundColor3 = Color3.fromRGB(240, 71, 71)
  297.         end
  298.     )
  299.  
  300.     CloseBtn.MouseLeave:Connect(
  301.         function()
  302.             CloseBtn.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
  303.         end
  304.     )
  305.  
  306.     MinimizeBtn.MouseEnter:Connect(
  307.         function()
  308.             MinimizeBtn.BackgroundColor3 = Color3.fromRGB(40, 43, 46)
  309.         end
  310.     )
  311.  
  312.     MinimizeBtn.MouseLeave:Connect(
  313.         function()
  314.             MinimizeBtn.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
  315.         end
  316.     )
  317.  
  318.     MinimizeBtn.MouseButton1Click:Connect(
  319.         function()
  320.             if minimized == false then
  321.                 MainFrame:TweenSize(
  322.                     UDim2.new(0, 681, 0, 22),
  323.                     Enum.EasingDirection.Out,
  324.                     Enum.EasingStyle.Quart,
  325.                     .3,
  326.                     true
  327.                 )
  328.             else
  329.                 MainFrame:TweenSize(
  330.                     UDim2.new(0, 681, 0, 396),
  331.                     Enum.EasingDirection.Out,
  332.                     Enum.EasingStyle.Quart,
  333.                     .3,
  334.                     true
  335.                 )
  336.             end
  337.             minimized = not minimized
  338.         end
  339.     )
  340.  
  341.     local SettingsOpenBtn = Instance.new("TextButton")
  342.     local SettingsOpenBtnIco = Instance.new("ImageLabel")
  343.  
  344.     SettingsOpenBtn.Name = "SettingsOpenBtn"
  345.     SettingsOpenBtn.Parent = Userpad
  346.     SettingsOpenBtn.BackgroundColor3 = Color3.fromRGB(53, 56, 62)
  347.     SettingsOpenBtn.BackgroundTransparency = 1.000
  348.     SettingsOpenBtn.Position = UDim2.new(0.849161983, 0, 0.279069781, 0)
  349.     SettingsOpenBtn.Size = UDim2.new(0, 18, 0, 18)
  350.     SettingsOpenBtn.Font = Enum.Font.SourceSans
  351.     SettingsOpenBtn.Text = ""
  352.     SettingsOpenBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  353.     SettingsOpenBtn.TextSize = 14.000
  354.  
  355.     SettingsOpenBtnIco.Name = "SettingsOpenBtnIco"
  356.     SettingsOpenBtnIco.Parent = SettingsOpenBtn
  357.     SettingsOpenBtnIco.BackgroundColor3 = Color3.fromRGB(220, 220, 220)
  358.     SettingsOpenBtnIco.BackgroundTransparency = 1.000
  359.     SettingsOpenBtnIco.Size = UDim2.new(0, 18, 0, 18)
  360.     SettingsOpenBtnIco.Image = "http://www.roblox.com/asset/?id=6031280882"
  361.     SettingsOpenBtnIco.ImageColor3 = Color3.fromRGB(220, 220, 220)
  362.     local SettingsFrame = Instance.new("Frame")
  363.     local Settings = Instance.new("Frame")
  364.     local SettingsHolder = Instance.new("Frame")
  365.     local CloseSettingsBtn = Instance.new("TextButton")
  366.     local CloseSettingsBtnCorner = Instance.new("UICorner")
  367.     local CloseSettingsBtnCircle = Instance.new("Frame")
  368.     local CloseSettingsBtnCircleCorner = Instance.new("UICorner")
  369.     local CloseSettingsBtnIcon = Instance.new("ImageLabel")
  370.     local TextLabel = Instance.new("TextLabel")
  371.     local UserPanel = Instance.new("Frame")
  372.     local UserSettingsPad = Instance.new("Frame")
  373.     local UserSettingsPadCorner = Instance.new("UICorner")
  374.     local UsernameText = Instance.new("TextLabel")
  375.     local UserSettingsPadUserTag = Instance.new("Frame")
  376.     local UserSettingsPadUser = Instance.new("TextLabel")
  377.     local UserSettingsPadUserTagLayout = Instance.new("UIListLayout")
  378.     local UserSettingsPadTag = Instance.new("TextLabel")
  379.     local EditBtn = Instance.new("TextButton")
  380.     local EditBtnCorner = Instance.new("UICorner")
  381.     local UserPanelUserIcon = Instance.new("TextButton")
  382.     local UserPanelUserImage = Instance.new("ImageLabel")
  383.     local UserPanelUserCircle = Instance.new("ImageLabel")
  384.     local BlackFrame = Instance.new("Frame")
  385.     local BlackFrameCorner = Instance.new("UICorner")
  386.     local ChangeAvatarText = Instance.new("TextLabel")
  387.     local SearchIcoFrame = Instance.new("Frame")
  388.     local SearchIcoFrameCorner = Instance.new("UICorner")
  389.     local SearchIco = Instance.new("ImageLabel")
  390.     local UserPanelUserTag = Instance.new("Frame")
  391.     local UserPanelUser = Instance.new("TextLabel")
  392.     local UserPanelUserTagLayout = Instance.new("UIListLayout")
  393.     local UserPanelTag = Instance.new("TextLabel")
  394.     local UserPanelCorner = Instance.new("UICorner")
  395.     local LeftFrame = Instance.new("Frame")
  396.     local MyAccountBtn = Instance.new("TextButton")
  397.     local MyAccountBtnCorner = Instance.new("UICorner")
  398.     local MyAccountBtnTitle = Instance.new("TextLabel")
  399.     local SettingsTitle = Instance.new("TextLabel")
  400.     local DiscordInfo = Instance.new("TextLabel")
  401.     local CurrentSettingOpen = Instance.new("TextLabel")
  402.  
  403.     SettingsFrame.Name = "SettingsFrame"
  404.     SettingsFrame.Parent = MainFrame
  405.     SettingsFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  406.     SettingsFrame.BackgroundTransparency = 1.000
  407.     SettingsFrame.Size = UDim2.new(0, 681, 0, 396)
  408.     SettingsFrame.Visible = false
  409.  
  410.     Settings.Name = "Settings"
  411.     Settings.Parent = SettingsFrame
  412.     Settings.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  413.     Settings.BorderSizePixel = 0
  414.     Settings.Position = UDim2.new(0, 0, 0.0530303046, 0)
  415.     Settings.Size = UDim2.new(0, 681, 0, 375)
  416.  
  417.     SettingsHolder.Name = "SettingsHolder"
  418.     SettingsHolder.Parent = Settings
  419.     SettingsHolder.AnchorPoint = Vector2.new(0.5, 0.5)
  420.     SettingsHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  421.     SettingsHolder.BackgroundTransparency = 1.000
  422.     SettingsHolder.ClipsDescendants = true
  423.     SettingsHolder.Position = UDim2.new(0.49926579, 0, 0.498666674, 0)
  424.     SettingsHolder.Size = UDim2.new(0, 0, 0, 0)
  425.  
  426.     CloseSettingsBtn.Name = "CloseSettingsBtn"
  427.     CloseSettingsBtn.Parent = SettingsHolder
  428.     CloseSettingsBtn.AnchorPoint = Vector2.new(0.5, 0.5)
  429.     CloseSettingsBtn.BackgroundColor3 = Color3.fromRGB(113, 117, 123)
  430.     CloseSettingsBtn.Position = UDim2.new(0.952967286, 0, 0.0853333324, 0)
  431.     CloseSettingsBtn.Selectable = false
  432.     CloseSettingsBtn.Size = UDim2.new(0, 30, 0, 30)
  433.     CloseSettingsBtn.AutoButtonColor = false
  434.     CloseSettingsBtn.Font = Enum.Font.SourceSans
  435.     CloseSettingsBtn.Text = ""
  436.     CloseSettingsBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  437.     CloseSettingsBtn.TextSize = 14.000
  438.  
  439.     CloseSettingsBtnCorner.CornerRadius = UDim.new(1, 0)
  440.     CloseSettingsBtnCorner.Name = "CloseSettingsBtnCorner"
  441.     CloseSettingsBtnCorner.Parent = CloseSettingsBtn
  442.  
  443.     CloseSettingsBtnCircle.Name = "CloseSettingsBtnCircle"
  444.     CloseSettingsBtnCircle.Parent = CloseSettingsBtn
  445.     CloseSettingsBtnCircle.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  446.     CloseSettingsBtnCircle.Position = UDim2.new(0.0879999995, 0, 0.118000001, 0)
  447.     CloseSettingsBtnCircle.Size = UDim2.new(0, 24, 0, 24)
  448.  
  449.     CloseSettingsBtnCircleCorner.CornerRadius = UDim.new(1, 0)
  450.     CloseSettingsBtnCircleCorner.Name = "CloseSettingsBtnCircleCorner"
  451.     CloseSettingsBtnCircleCorner.Parent = CloseSettingsBtnCircle
  452.  
  453.     CloseSettingsBtnIcon.Name = "CloseSettingsBtnIcon"
  454.     CloseSettingsBtnIcon.Parent = CloseSettingsBtnCircle
  455.     CloseSettingsBtnIcon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  456.     CloseSettingsBtnIcon.BackgroundTransparency = 1.000
  457.     CloseSettingsBtnIcon.Position = UDim2.new(0, 2, 0, 2)
  458.     CloseSettingsBtnIcon.Size = UDim2.new(0, 19, 0, 19)
  459.     CloseSettingsBtnIcon.Image = "http://www.roblox.com/asset/?id=6035047409"
  460.     CloseSettingsBtnIcon.ImageColor3 = Color3.fromRGB(222, 222, 222)
  461.  
  462.     CloseSettingsBtn.MouseButton1Click:Connect(function()
  463.         settingsopened = false
  464.         TopFrameHolder.Visible = true
  465.         ServersHoldFrame.Visible = true
  466.         SettingsHolder:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
  467.         TweenService:Create(
  468.             Settings,
  469.             TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  470.             {BackgroundTransparency = 1}
  471.         ):Play()
  472.         for i,v in next, SettingsHolder:GetChildren() do
  473.             TweenService:Create(
  474.                 v,
  475.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  476.                 {BackgroundTransparency = 1}
  477.             ):Play()
  478.         end
  479.         wait(.3)
  480.         SettingsFrame.Visible = false
  481.     end)
  482.  
  483.     CloseSettingsBtn.MouseEnter:Connect(function()
  484.         CloseSettingsBtnCircle.BackgroundColor3 = Color3.fromRGB(72,76,82)
  485.     end)
  486.  
  487.     CloseSettingsBtn.MouseLeave:Connect(function()
  488.         CloseSettingsBtnCircle.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  489.     end)
  490.  
  491.     UserInputService.InputBegan:Connect(
  492.         function(io, p)
  493.             if io.KeyCode == Enum.KeyCode.RightControl then
  494.                 if settingsopened == true then
  495.                     settingsopened = false
  496.                     TopFrameHolder.Visible = true
  497.                     ServersHoldFrame.Visible = true
  498.                     SettingsHolder:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
  499.                     TweenService:Create(
  500.                         Settings,
  501.                         TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  502.                         {BackgroundTransparency = 1}
  503.                     ):Play()
  504.                     for i,v in next, SettingsHolder:GetChildren() do
  505.                         TweenService:Create(
  506.                             v,
  507.                             TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  508.                             {BackgroundTransparency = 1}
  509.                         ):Play()
  510.                     end
  511.                     wait(.3)
  512.                     SettingsFrame.Visible = false
  513.                 end
  514.             end
  515.         end
  516.     )
  517.  
  518.     TextLabel.Parent = CloseSettingsBtn
  519.     TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  520.     TextLabel.BackgroundTransparency = 1.000
  521.     TextLabel.Position = UDim2.new(-0.0666666701, 0, 1.06666672, 0)
  522.     TextLabel.Size = UDim2.new(0, 34, 0, 22)
  523.     TextLabel.Font = Enum.Font.GothamSemibold
  524.     TextLabel.Text = "rightctrl"
  525.     TextLabel.TextColor3 = Color3.fromRGB(113, 117, 123)
  526.     TextLabel.TextSize = 11.000
  527.  
  528.     UserPanel.Name = "UserPanel"
  529.     UserPanel.Parent = SettingsHolder
  530.     UserPanel.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  531.     UserPanel.Position = UDim2.new(0.365638763, 0, 0.130666673, 0)
  532.     UserPanel.Size = UDim2.new(0, 362, 0, 164)
  533.  
  534.     UserSettingsPad.Name = "UserSettingsPad"
  535.     UserSettingsPad.Parent = UserPanel
  536.     UserSettingsPad.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  537.     UserSettingsPad.Position = UDim2.new(0.0331491716, 0, 0.568140388, 0)
  538.     UserSettingsPad.Size = UDim2.new(0, 337, 0, 56)
  539.  
  540.     UserSettingsPadCorner.Name = "UserSettingsPadCorner"
  541.     UserSettingsPadCorner.Parent = UserSettingsPad
  542.  
  543.     UsernameText.Name = "UsernameText"
  544.     UsernameText.Parent = UserSettingsPad
  545.     UsernameText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  546.     UsernameText.BackgroundTransparency = 1.000
  547.     UsernameText.Position = UDim2.new(0.0419999994, 0, 0.154714286, 0)
  548.     UsernameText.Size = UDim2.new(0, 65, 0, 19)
  549.     UsernameText.Font = Enum.Font.GothamBold
  550.     UsernameText.Text = "USERNAME"
  551.     UsernameText.TextColor3 = Color3.fromRGB(126, 130, 136)
  552.     UsernameText.TextSize = 11.000
  553.     UsernameText.TextXAlignment = Enum.TextXAlignment.Left
  554.  
  555.     UserSettingsPadUserTag.Name = "UserSettingsPadUserTag"
  556.     UserSettingsPadUserTag.Parent = UserSettingsPad
  557.     UserSettingsPadUserTag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  558.     UserSettingsPadUserTag.BackgroundTransparency = 1.000
  559.     UserSettingsPadUserTag.Position = UDim2.new(0.0419999994, 0, 0.493999988, 0)
  560.     UserSettingsPadUserTag.Size = UDim2.new(0, 65, 0, 19)
  561.  
  562.     UserSettingsPadUser.Name = "UserSettingsPadUser"
  563.     UserSettingsPadUser.Parent = UserSettingsPadUserTag
  564.     UserSettingsPadUser.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  565.     UserSettingsPadUser.BackgroundTransparency = 1.000
  566.     UserSettingsPadUser.Font = Enum.Font.Gotham
  567.     UserSettingsPadUser.TextColor3 = Color3.fromRGB(255, 255, 255)
  568.     UserSettingsPadUser.TextSize = 13.000
  569.     UserSettingsPadUser.TextXAlignment = Enum.TextXAlignment.Left
  570.     UserSettingsPadUser.Text = user
  571.     UserSettingsPadUser.Size = UDim2.new(0, UserSettingsPadUser.TextBounds.X + 2, 0, 19)
  572.  
  573.     UserSettingsPadUserTagLayout.Name = "UserSettingsPadUserTagLayout"
  574.     UserSettingsPadUserTagLayout.Parent = UserSettingsPadUserTag
  575.     UserSettingsPadUserTagLayout.FillDirection = Enum.FillDirection.Horizontal
  576.     UserSettingsPadUserTagLayout.SortOrder = Enum.SortOrder.LayoutOrder
  577.  
  578.     UserSettingsPadTag.Name = "UserSettingsPadTag"
  579.     UserSettingsPadTag.Parent = UserSettingsPadUserTag
  580.     UserSettingsPadTag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  581.     UserSettingsPadTag.BackgroundTransparency = 1.000
  582.     UserSettingsPadTag.Position = UDim2.new(0.0419999994, 0, 0.493999988, 0)
  583.     UserSettingsPadTag.Size = UDim2.new(0, 65, 0, 19)
  584.     UserSettingsPadTag.Font = Enum.Font.Gotham
  585.     UserSettingsPadTag.Text = "#" .. tag
  586.     UserSettingsPadTag.TextColor3 = Color3.fromRGB(184, 186, 189)
  587.     UserSettingsPadTag.TextSize = 13.000
  588.     UserSettingsPadTag.TextXAlignment = Enum.TextXAlignment.Left
  589.  
  590.     EditBtn.Name = "EditBtn"
  591.     EditBtn.Parent = UserSettingsPad
  592.     EditBtn.BackgroundColor3 = Color3.fromRGB(116, 127, 141)
  593.     EditBtn.Position = UDim2.new(0.797671914, 0, 0.232142866, 0)
  594.     EditBtn.Size = UDim2.new(0, 55, 0, 30)
  595.     EditBtn.Font = Enum.Font.Gotham
  596.     EditBtn.Text = "Edit"
  597.     EditBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  598.     EditBtn.TextSize = 14.000
  599.     EditBtn.AutoButtonColor = false
  600.  
  601.     EditBtn.MouseEnter:Connect(function()
  602.         TweenService:Create(
  603.             EditBtn,
  604.             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  605.             {BackgroundColor3 = Color3.fromRGB(104,114,127)}
  606.         ):Play()
  607.     end)
  608.  
  609.     EditBtn.MouseLeave:Connect(function()
  610.         TweenService:Create(
  611.             EditBtn,
  612.             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  613.             {BackgroundColor3 = Color3.fromRGB(116, 127, 141)}
  614.         ):Play()
  615.     end)
  616.  
  617.     EditBtnCorner.CornerRadius = UDim.new(0, 3)
  618.     EditBtnCorner.Name = "EditBtnCorner"
  619.     EditBtnCorner.Parent = EditBtn
  620.  
  621.     UserPanelUserIcon.Name = "UserPanelUserIcon"
  622.     UserPanelUserIcon.Parent = UserPanel
  623.     UserPanelUserIcon.BackgroundColor3 = Color3.fromRGB(31, 33, 36)
  624.     UserPanelUserIcon.BorderSizePixel = 0
  625.     UserPanelUserIcon.Position = UDim2.new(0.0340000018, 0, 0.074000001, 0)
  626.     UserPanelUserIcon.Size = UDim2.new(0, 71, 0, 71)
  627.     UserPanelUserIcon.AutoButtonColor = false
  628.     UserPanelUserIcon.Text = ""
  629.  
  630.     UserPanelUserImage.Name = "UserPanelUserImage"
  631.     UserPanelUserImage.Parent = UserPanelUserIcon
  632.     UserPanelUserImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  633.     UserPanelUserImage.BackgroundTransparency = 1.000
  634.     UserPanelUserImage.Size = UDim2.new(0, 71, 0, 71)
  635.     UserPanelUserImage.Image = pfp
  636.  
  637.     UserPanelUserCircle.Name = "UserPanelUserCircle"
  638.     UserPanelUserCircle.Parent = UserPanelUserImage
  639.     UserPanelUserCircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  640.     UserPanelUserCircle.BackgroundTransparency = 1.000
  641.     UserPanelUserCircle.Size = UDim2.new(0, 71, 0, 71)
  642.     UserPanelUserCircle.Image = "rbxassetid://4031889928"
  643.     UserPanelUserCircle.ImageColor3 = Color3.fromRGB(47, 49, 54)
  644.  
  645.     BlackFrame.Name = "BlackFrame"
  646.     BlackFrame.Parent = UserPanelUserIcon
  647.     BlackFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  648.     BlackFrame.BackgroundTransparency = 0.400
  649.     BlackFrame.BorderSizePixel = 0
  650.     BlackFrame.Size = UDim2.new(0, 71, 0, 71)
  651.     BlackFrame.Visible = false
  652.  
  653.     BlackFrameCorner.CornerRadius = UDim.new(1, 8)
  654.     BlackFrameCorner.Name = "BlackFrameCorner"
  655.     BlackFrameCorner.Parent = BlackFrame
  656.  
  657.     ChangeAvatarText.Name = "ChangeAvatarText"
  658.     ChangeAvatarText.Parent = BlackFrame
  659.     ChangeAvatarText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  660.     ChangeAvatarText.BackgroundTransparency = 1.000
  661.     ChangeAvatarText.Size = UDim2.new(0, 71, 0, 71)
  662.     ChangeAvatarText.Font = Enum.Font.GothamBold
  663.     ChangeAvatarText.Text = "CHAGNE    AVATAR"
  664.     ChangeAvatarText.TextColor3 = Color3.fromRGB(255, 255, 255)
  665.     ChangeAvatarText.TextSize = 11.000
  666.     ChangeAvatarText.TextWrapped = true
  667.  
  668.     SearchIcoFrame.Name = "SearchIcoFrame"
  669.     SearchIcoFrame.Parent = UserPanelUserIcon
  670.     SearchIcoFrame.BackgroundColor3 = Color3.fromRGB(222, 222, 222)
  671.     SearchIcoFrame.Position = UDim2.new(0.657999992, 0, 0, 0)
  672.     SearchIcoFrame.Size = UDim2.new(0, 20, 0, 20)
  673.  
  674.     SearchIcoFrameCorner.CornerRadius = UDim.new(1, 8)
  675.     SearchIcoFrameCorner.Name = "SearchIcoFrameCorner"
  676.     SearchIcoFrameCorner.Parent = SearchIcoFrame
  677.  
  678.     SearchIco.Name = "SearchIco"
  679.     SearchIco.Parent = SearchIcoFrame
  680.     SearchIco.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  681.     SearchIco.BackgroundTransparency = 1.000
  682.     SearchIco.Position = UDim2.new(0.150000006, 0, 0.100000001, 0)
  683.     SearchIco.Size = UDim2.new(0, 15, 0, 15)
  684.     SearchIco.Image = "http://www.roblox.com/asset/?id=6034407084"
  685.     SearchIco.ImageColor3 = Color3.fromRGB(114, 118, 125)
  686.  
  687.     UserPanelUserIcon.MouseEnter:Connect(function()
  688.         BlackFrame.Visible = true
  689.     end)
  690.  
  691.     UserPanelUserIcon.MouseLeave:Connect(function()
  692.         BlackFrame.Visible = false
  693.     end)
  694.  
  695.     UserPanelUserIcon.MouseButton1Click:Connect(function()
  696.         local NotificationHolder = Instance.new("TextButton")
  697.         NotificationHolder.Name = "NotificationHolder"
  698.         NotificationHolder.Parent = SettingsHolder
  699.         NotificationHolder.BackgroundColor3 = Color3.fromRGB(22,22,22)
  700.         NotificationHolder.Position = UDim2.new(-0.00881057233, 0, -0.00266666664, 0)
  701.         NotificationHolder.Size = UDim2.new(0, 687, 0, 375)
  702.         NotificationHolder.AutoButtonColor = false
  703.         NotificationHolder.Font = Enum.Font.SourceSans
  704.         NotificationHolder.Text = ""
  705.         NotificationHolder.TextColor3 = Color3.fromRGB(0, 0, 0)
  706.         NotificationHolder.TextSize = 14.000
  707.         NotificationHolder.BackgroundTransparency = 1
  708.         NotificationHolder.Visible = true
  709.         TweenService:Create(
  710.             NotificationHolder,
  711.             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  712.             {BackgroundTransparency = 0.2}
  713.         ):Play()
  714.  
  715.  
  716.  
  717.         local AvatarChange = Instance.new("Frame")
  718.         local UserChangeCorner = Instance.new("UICorner")
  719.         local UnderBar = Instance.new("Frame")
  720.         local UnderBarCorner = Instance.new("UICorner")
  721.         local UnderBarFrame = Instance.new("Frame")
  722.         local Text1 = Instance.new("TextLabel")
  723.         local Text2 = Instance.new("TextLabel")
  724.         local TextBoxFrame = Instance.new("Frame")
  725.         local TextBoxFrameCorner = Instance.new("UICorner")
  726.         local TextBoxFrame1 = Instance.new("Frame")
  727.         local TextBoxFrame1Corner = Instance.new("UICorner")
  728.         local AvatarTextbox = Instance.new("TextBox")
  729.         local ChangeBtn = Instance.new("TextButton")
  730.         local ChangeCorner = Instance.new("UICorner")
  731.         local CloseBtn2 = Instance.new("TextButton")
  732.         local Close2Icon = Instance.new("ImageLabel")
  733.         local CloseBtn1 = Instance.new("TextButton")
  734.         local CloseBtn1Corner = Instance.new("UICorner")
  735.         local ResetBtn = Instance.new("TextButton")
  736.         local ResetCorner = Instance.new("UICorner")
  737.  
  738.  
  739.         AvatarChange.Name = "AvatarChange"
  740.         AvatarChange.Parent = NotificationHolder
  741.         AvatarChange.AnchorPoint = Vector2.new(0.5, 0.5)
  742.         AvatarChange.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  743.         AvatarChange.ClipsDescendants = true
  744.         AvatarChange.Position = UDim2.new(0.513071597, 0, 0.4746176, 0)
  745.         AvatarChange.Size = UDim2.new(0, 0, 0, 0)
  746.         AvatarChange.BackgroundTransparency = 1
  747.  
  748.         AvatarChange:TweenSize(UDim2.new(0, 346, 0, 198), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
  749.         TweenService:Create(
  750.             AvatarChange,
  751.             TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  752.             {BackgroundTransparency = 0}
  753.         ):Play()
  754.  
  755.  
  756.         UserChangeCorner.CornerRadius = UDim.new(0, 5)
  757.         UserChangeCorner.Name = "UserChangeCorner"
  758.         UserChangeCorner.Parent = AvatarChange
  759.  
  760.         UnderBar.Name = "UnderBar"
  761.         UnderBar.Parent = AvatarChange
  762.         UnderBar.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  763.         UnderBar.Position = UDim2.new(-0.000297061284, 0, 0.945048928, 0)
  764.         UnderBar.Size = UDim2.new(0, 346, 0, 13)
  765.  
  766.         UnderBarCorner.CornerRadius = UDim.new(0, 5)
  767.         UnderBarCorner.Name = "UnderBarCorner"
  768.         UnderBarCorner.Parent = UnderBar
  769.  
  770.         UnderBarFrame.Name = "UnderBarFrame"
  771.         UnderBarFrame.Parent = UnderBar
  772.         UnderBarFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  773.         UnderBarFrame.BorderSizePixel = 0
  774.         UnderBarFrame.Position = UDim2.new(-0.000297061284, 0, -2.53846145, 0)
  775.         UnderBarFrame.Size = UDim2.new(0, 346, 0, 39)
  776.  
  777.         Text1.Name = "Text1"
  778.         Text1.Parent = AvatarChange
  779.         Text1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  780.         Text1.BackgroundTransparency = 1.000
  781.         Text1.Position = UDim2.new(-0.000594122568, 0, 0.0202020202, 0)
  782.         Text1.Size = UDim2.new(0, 346, 0, 68)
  783.         Text1.Font = Enum.Font.GothamSemibold
  784.         Text1.Text = "Change your avatar"
  785.         Text1.TextColor3 = Color3.fromRGB(255, 255, 255)
  786.         Text1.TextSize = 20.000
  787.  
  788.         Text2.Name = "Text2"
  789.         Text2.Parent = AvatarChange
  790.         Text2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  791.         Text2.BackgroundTransparency = 1.000
  792.         Text2.Position = UDim2.new(-0.000594122568, 0, 0.141587839, 0)
  793.         Text2.Size = UDim2.new(0, 346, 0, 63)
  794.         Text2.Font = Enum.Font.Gotham
  795.         Text2.Text = "Enter your new profile in a Roblox decal link."
  796.         Text2.TextColor3 = Color3.fromRGB(171, 172, 176)
  797.         Text2.TextSize = 14.000
  798.  
  799.         TextBoxFrame.Name = "TextBoxFrame"
  800.         TextBoxFrame.Parent = AvatarChange
  801.         TextBoxFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  802.         TextBoxFrame.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
  803.         TextBoxFrame.Position = UDim2.new(0.49710983, 0, 0.560606062, 0)
  804.         TextBoxFrame.Size = UDim2.new(0, 319, 0, 38)
  805.  
  806.         TextBoxFrameCorner.CornerRadius = UDim.new(0, 3)
  807.         TextBoxFrameCorner.Name = "TextBoxFrameCorner"
  808.         TextBoxFrameCorner.Parent = TextBoxFrame
  809.  
  810.         TextBoxFrame1.Name = "TextBoxFrame1"
  811.         TextBoxFrame1.Parent = TextBoxFrame
  812.         TextBoxFrame1.AnchorPoint = Vector2.new(0.5, 0.5)
  813.         TextBoxFrame1.BackgroundColor3 = Color3.fromRGB(48, 51, 57)
  814.         TextBoxFrame1.ClipsDescendants = true
  815.         TextBoxFrame1.Position = UDim2.new(0.5, 0, 0.5, 0)
  816.         TextBoxFrame1.Size = UDim2.new(0, 317, 0, 36)
  817.  
  818.         TextBoxFrame1Corner.CornerRadius = UDim.new(0, 3)
  819.         TextBoxFrame1Corner.Name = "TextBoxFrame1Corner"
  820.         TextBoxFrame1Corner.Parent = TextBoxFrame1
  821.  
  822.         AvatarTextbox.Name = "AvatarTextbox"
  823.         AvatarTextbox.Parent = TextBoxFrame1
  824.         AvatarTextbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  825.         AvatarTextbox.BackgroundTransparency = 1.000
  826.         AvatarTextbox.Position = UDim2.new(0.0378548913, 0, 0, 0)
  827.         AvatarTextbox.Size = UDim2.new(0, 293, 0, 37)
  828.         AvatarTextbox.Font = Enum.Font.Gotham
  829.         AvatarTextbox.Text = ""
  830.         AvatarTextbox.TextColor3 = Color3.fromRGB(193, 195, 197)
  831.         AvatarTextbox.TextSize = 14.000
  832.         AvatarTextbox.TextXAlignment = Enum.TextXAlignment.Left
  833.  
  834.         ChangeBtn.Name = "ChangeBtn"
  835.         ChangeBtn.Parent = AvatarChange
  836.         ChangeBtn.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
  837.         ChangeBtn.Position = UDim2.new(0.749670506, 0, 0.823232353, 0)
  838.         ChangeBtn.Size = UDim2.new(0, 76, 0, 27)
  839.         ChangeBtn.Font = Enum.Font.Gotham
  840.         ChangeBtn.Text = "Change"
  841.         ChangeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  842.         ChangeBtn.TextSize = 13.000
  843.         ChangeBtn.AutoButtonColor = false
  844.  
  845.         ChangeBtn.MouseEnter:Connect(function()
  846.             TweenService:Create(
  847.                 ChangeBtn,
  848.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  849.                 {BackgroundColor3 = Color3.fromRGB(103,123,196)}
  850.             ):Play()
  851.         end)
  852.  
  853.         ChangeBtn.MouseLeave:Connect(function()
  854.             TweenService:Create(
  855.                 ChangeBtn,
  856.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  857.                 {BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
  858.             ):Play()
  859.         end)
  860.  
  861.         ChangeBtn.MouseButton1Click:Connect(function()
  862.             pfp = tostring(AvatarTextbox.Text)
  863.             UserImage.Image = pfp
  864.             UserPanelUserImage.Image = pfp
  865.             SaveInfo()
  866.  
  867.             AvatarChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
  868.             TweenService:Create(
  869.                 AvatarChange,
  870.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  871.                 {BackgroundTransparency = 1}
  872.             ):Play()
  873.             TweenService:Create(
  874.                 NotificationHolder,
  875.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  876.                 {BackgroundTransparency = 1}
  877.             ):Play()
  878.             wait(.2)
  879.             NotificationHolder:Destroy()
  880.         end)
  881.  
  882.  
  883.  
  884.         ChangeCorner.CornerRadius = UDim.new(0, 4)
  885.         ChangeCorner.Name = "ChangeCorner"
  886.         ChangeCorner.Parent = ChangeBtn
  887.  
  888.         CloseBtn2.Name = "CloseBtn2"
  889.         CloseBtn2.Parent = AvatarChange
  890.         CloseBtn2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  891.         CloseBtn2.BackgroundTransparency = 1.000
  892.         CloseBtn2.Position = UDim2.new(0.898000002, 0, 0, 0)
  893.         CloseBtn2.Size = UDim2.new(0, 26, 0, 26)
  894.         CloseBtn2.Font = Enum.Font.Gotham
  895.         CloseBtn2.Text = ""
  896.         CloseBtn2.TextColor3 = Color3.fromRGB(255, 255, 255)
  897.         CloseBtn2.TextSize = 14.000
  898.  
  899.         Close2Icon.Name = "Close2Icon"
  900.         Close2Icon.Parent = CloseBtn2
  901.         Close2Icon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  902.         Close2Icon.BackgroundTransparency = 1.000
  903.         Close2Icon.Position = UDim2.new(-0.0384615399, 0, 0.312910825, 0)
  904.         Close2Icon.Size = UDim2.new(0, 25, 0, 25)
  905.         Close2Icon.Image = "http://www.roblox.com/asset/?id=6035047409"
  906.         Close2Icon.ImageColor3 = Color3.fromRGB(119, 122, 127)
  907.  
  908.         CloseBtn1.Name = "CloseBtn1"
  909.         CloseBtn1.Parent = AvatarChange
  910.         CloseBtn1.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
  911.         CloseBtn1.BackgroundTransparency = 1.000
  912.         CloseBtn1.Position = UDim2.new(0.495000005, 0, 0.823000014, 0)
  913.         CloseBtn1.Size = UDim2.new(0, 76, 0, 27)
  914.         CloseBtn1.Font = Enum.Font.Gotham
  915.         CloseBtn1.Text = "Close"
  916.         CloseBtn1.TextColor3 = Color3.fromRGB(255, 255, 255)
  917.         CloseBtn1.TextSize = 13.000
  918.  
  919.         CloseBtn1Corner.CornerRadius = UDim.new(0, 4)
  920.         CloseBtn1Corner.Name = "CloseBtn1Corner"
  921.         CloseBtn1Corner.Parent = CloseBtn1
  922.  
  923.         ResetBtn.Name = "ResetBtn"
  924.         ResetBtn.Parent = AvatarChange
  925.         ResetBtn.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
  926.         ResetBtn.BackgroundTransparency = 1.000
  927.         ResetBtn.Position = UDim2.new(0.260895967, 0, 0.823000014, 0)
  928.         ResetBtn.Size = UDim2.new(0, 76, 0, 27)
  929.         ResetBtn.Font = Enum.Font.Gotham
  930.         ResetBtn.Text = "Reset"
  931.         ResetBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  932.         ResetBtn.TextSize = 13.000
  933.  
  934.         ResetBtn.MouseButton1Click:Connect(function()
  935.             pfp = "https://www.roblox.com/headshot-thumbnail/image?userId=".. game.Players.LocalPlayer.UserId .."&width=420&height=420&format=png"
  936.             UserImage.Image = pfp
  937.             UserPanelUserImage.Image = pfp
  938.             SaveInfo()
  939.  
  940.             AvatarChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
  941.             TweenService:Create(
  942.                 AvatarChange,
  943.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  944.                 {BackgroundTransparency = 1}
  945.             ):Play()
  946.             TweenService:Create(
  947.                 NotificationHolder,
  948.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  949.                 {BackgroundTransparency = 1}
  950.             ):Play()
  951.             wait(.2)
  952.             NotificationHolder:Destroy()
  953.         end)
  954.  
  955.         ResetCorner.CornerRadius = UDim.new(0, 4)
  956.         ResetCorner.Name = "ResetCorner"
  957.         ResetCorner.Parent = ResetBtn
  958.  
  959.         CloseBtn1.MouseButton1Click:Connect(function()
  960.             AvatarChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
  961.             TweenService:Create(
  962.                 AvatarChange,
  963.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  964.                 {BackgroundTransparency = 1}
  965.             ):Play()
  966.             TweenService:Create(
  967.                 NotificationHolder,
  968.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  969.                 {BackgroundTransparency = 1}
  970.             ):Play()
  971.             wait(.2)
  972.             NotificationHolder:Destroy()
  973.         end)
  974.  
  975.         CloseBtn2.MouseButton1Click:Connect(function()
  976.             AvatarChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
  977.             TweenService:Create(
  978.                 AvatarChange,
  979.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  980.                 {BackgroundTransparency = 1}
  981.             ):Play()
  982.             TweenService:Create(
  983.                 NotificationHolder,
  984.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  985.                 {BackgroundTransparency = 1}
  986.             ):Play()
  987.             wait(.2)
  988.             NotificationHolder:Destroy()
  989.         end)
  990.  
  991.         CloseBtn2.MouseEnter:Connect(function()
  992.             TweenService:Create(
  993.                 Close2Icon,
  994.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  995.                 {ImageColor3 = Color3.fromRGB(210,210,210)}
  996.             ):Play()
  997.         end)
  998.  
  999.         CloseBtn2.MouseLeave:Connect(function()
  1000.             TweenService:Create(
  1001.                 Close2Icon,
  1002.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1003.                 {ImageColor3 = Color3.fromRGB(119, 122, 127)}
  1004.             ):Play()
  1005.         end)
  1006.  
  1007.  
  1008.         AvatarTextbox.Focused:Connect(function()
  1009.             TweenService:Create(
  1010.                 TextBoxFrame,
  1011.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1012.                 {BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
  1013.             ):Play()
  1014.         end)
  1015.  
  1016.         AvatarTextbox.FocusLost:Connect(function()
  1017.             TweenService:Create(
  1018.                 TextBoxFrame,
  1019.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1020.                 {BackgroundColor3 = Color3.fromRGB(37, 40, 43)}
  1021.             ):Play()
  1022.         end)
  1023.  
  1024.  
  1025.     end)
  1026.  
  1027.     UserPanelUserTag.Name = "UserPanelUserTag"
  1028.     UserPanelUserTag.Parent = UserPanel
  1029.     UserPanelUserTag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1030.     UserPanelUserTag.BackgroundTransparency = 1.000
  1031.     UserPanelUserTag.Position = UDim2.new(0.271143615, 0, 0.231804818, 0)
  1032.     UserPanelUserTag.Size = UDim2.new(0, 113, 0, 19)
  1033.  
  1034.     UserPanelUser.Name = "UserPanelUser"
  1035.     UserPanelUser.Parent = UserPanelUserTag
  1036.     UserPanelUser.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1037.     UserPanelUser.BackgroundTransparency = 1.000
  1038.     UserPanelUser.Font = Enum.Font.GothamSemibold
  1039.     UserPanelUser.TextColor3 = Color3.fromRGB(255, 255, 255)
  1040.     UserPanelUser.TextSize = 17.000
  1041.     UserPanelUser.TextXAlignment = Enum.TextXAlignment.Left
  1042.     UserPanelUser.Text = user
  1043.     UserPanelUser.Size = UDim2.new(0, UserPanelUser.TextBounds.X + 2, 0, 19)
  1044.  
  1045.  
  1046.     UserPanelUserTagLayout.Name = "UserPanelUserTagLayout"
  1047.     UserPanelUserTagLayout.Parent = UserPanelUserTag
  1048.     UserPanelUserTagLayout.FillDirection = Enum.FillDirection.Horizontal
  1049.     UserPanelUserTagLayout.SortOrder = Enum.SortOrder.LayoutOrder
  1050.  
  1051.     UserPanelTag.Name = "UserPanelTag"
  1052.     UserPanelTag.Parent = UserPanelUserTag
  1053.     UserPanelTag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1054.     UserPanelTag.BackgroundTransparency = 1.000
  1055.     UserPanelTag.Position = UDim2.new(0.0419999994, 0, 0.493999988, 0)
  1056.     UserPanelTag.Size = UDim2.new(0, 65, 0, 19)
  1057.     UserPanelTag.Font = Enum.Font.Gotham
  1058.     UserPanelTag.Text = "#" .. tag
  1059.     UserPanelTag.TextColor3 = Color3.fromRGB(184, 186, 189)
  1060.     UserPanelTag.TextSize = 17.000
  1061.     UserPanelTag.TextXAlignment = Enum.TextXAlignment.Left
  1062.  
  1063.     UserPanelCorner.Name = "UserPanelCorner"
  1064.     UserPanelCorner.Parent = UserPanel
  1065.  
  1066.     LeftFrame.Name = "LeftFrame"
  1067.     LeftFrame.Parent = SettingsHolder
  1068.     LeftFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  1069.     LeftFrame.BorderSizePixel = 0
  1070.     LeftFrame.Position = UDim2.new(0, 0, -0.000303059904, 0)
  1071.     LeftFrame.Size = UDim2.new(0, 233, 0, 375)
  1072.  
  1073.     MyAccountBtn.Name = "MyAccountBtn"
  1074.     MyAccountBtn.Parent = LeftFrame
  1075.     MyAccountBtn.BackgroundColor3 = Color3.fromRGB(57, 60, 67)
  1076.     MyAccountBtn.BorderSizePixel = 0
  1077.     MyAccountBtn.Position = UDim2.new(0.271232396, 0, 0.101614028, 0)
  1078.     MyAccountBtn.Size = UDim2.new(0, 160, 0, 30)
  1079.     MyAccountBtn.AutoButtonColor = false
  1080.     MyAccountBtn.Font = Enum.Font.SourceSans
  1081.     MyAccountBtn.Text = ""
  1082.     MyAccountBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  1083.     MyAccountBtn.TextSize = 14.000
  1084.  
  1085.     MyAccountBtnCorner.CornerRadius = UDim.new(0, 6)
  1086.     MyAccountBtnCorner.Name = "MyAccountBtnCorner"
  1087.     MyAccountBtnCorner.Parent = MyAccountBtn
  1088.  
  1089.     MyAccountBtnTitle.Name = "MyAccountBtnTitle"
  1090.     MyAccountBtnTitle.Parent = MyAccountBtn
  1091.     MyAccountBtnTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1092.     MyAccountBtnTitle.BackgroundTransparency = 1.000
  1093.     MyAccountBtnTitle.BorderSizePixel = 0
  1094.     MyAccountBtnTitle.Position = UDim2.new(0.0759999976, 0, -0.166999996, 0)
  1095.     MyAccountBtnTitle.Size = UDim2.new(0, 95, 0, 39)
  1096.     MyAccountBtnTitle.Font = Enum.Font.GothamSemibold
  1097.     MyAccountBtnTitle.Text = "My Account"
  1098.     MyAccountBtnTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  1099.     MyAccountBtnTitle.TextSize = 14.000
  1100.     MyAccountBtnTitle.TextXAlignment = Enum.TextXAlignment.Left
  1101.  
  1102.     SettingsTitle.Name = "SettingsTitle"
  1103.     SettingsTitle.Parent = LeftFrame
  1104.     SettingsTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1105.     SettingsTitle.BackgroundTransparency = 1.000
  1106.     SettingsTitle.Position = UDim2.new(0.308999985, 0, 0.0450000018, 0)
  1107.     SettingsTitle.Size = UDim2.new(0, 65, 0, 19)
  1108.     SettingsTitle.Font = Enum.Font.GothamBlack
  1109.     SettingsTitle.Text = "SETTINGS"
  1110.     SettingsTitle.TextColor3 = Color3.fromRGB(142, 146, 152)
  1111.     SettingsTitle.TextSize = 11.000
  1112.     SettingsTitle.TextXAlignment = Enum.TextXAlignment.Left
  1113.  
  1114.     DiscordInfo.Name = "DiscordInfo"
  1115.     DiscordInfo.Parent = LeftFrame
  1116.     DiscordInfo.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1117.     DiscordInfo.BackgroundTransparency = 1.000
  1118.     DiscordInfo.Position = UDim2.new(0.304721028, 0, 0.821333349, 0)
  1119.     DiscordInfo.Size = UDim2.new(0, 133, 0, 44)
  1120.     DiscordInfo.Font = Enum.Font.Gotham
  1121.     DiscordInfo.Text = "Stable 1.0.0 (00001)  Host 0.0.0.1                Roblox Lua Engine    "
  1122.     DiscordInfo.TextColor3 = Color3.fromRGB(101, 108, 116)
  1123.     DiscordInfo.TextSize = 13.000
  1124.     DiscordInfo.TextWrapped = true
  1125.     DiscordInfo.TextXAlignment = Enum.TextXAlignment.Left
  1126.     DiscordInfo.TextYAlignment = Enum.TextYAlignment.Top
  1127.  
  1128.     CurrentSettingOpen.Name = "CurrentSettingOpen"
  1129.     CurrentSettingOpen.Parent = LeftFrame
  1130.     CurrentSettingOpen.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1131.     CurrentSettingOpen.BackgroundTransparency = 1.000
  1132.     CurrentSettingOpen.Position = UDim2.new(1.07294846, 0, 0.0450000018, 0)
  1133.     CurrentSettingOpen.Size = UDim2.new(0, 65, 0, 19)
  1134.     CurrentSettingOpen.Font = Enum.Font.GothamBlack
  1135.     CurrentSettingOpen.Text = "MY ACCOUNT"
  1136.     CurrentSettingOpen.TextColor3 = Color3.fromRGB(255, 255, 255)
  1137.     CurrentSettingOpen.TextSize = 14.000
  1138.     CurrentSettingOpen.TextXAlignment = Enum.TextXAlignment.Left
  1139.  
  1140.  
  1141.     SettingsOpenBtn.MouseButton1Click:Connect(function ()
  1142.         settingsopened = true
  1143.         TopFrameHolder.Visible = false
  1144.         ServersHoldFrame.Visible = false
  1145.         SettingsFrame.Visible = true
  1146.         SettingsHolder:TweenSize(UDim2.new(0, 681, 0, 375), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
  1147.         Settings.BackgroundTransparency = 1
  1148.         TweenService:Create(
  1149.             Settings,
  1150.             TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1151.             {BackgroundTransparency = 0}
  1152.         ):Play()
  1153.         for i,v in next, SettingsHolder:GetChildren() do
  1154.             v.BackgroundTransparency = 1
  1155.             TweenService:Create(
  1156.                 v,
  1157.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1158.                 {BackgroundTransparency = 0}
  1159.             ):Play()
  1160.         end
  1161.     end)
  1162.  
  1163.     EditBtn.MouseButton1Click:Connect(function()
  1164.         local NotificationHolder = Instance.new("TextButton")
  1165.         NotificationHolder.Name = "NotificationHolder"
  1166.         NotificationHolder.Parent = SettingsHolder
  1167.         NotificationHolder.BackgroundColor3 = Color3.fromRGB(22,22,22)
  1168.         NotificationHolder.Position = UDim2.new(-0.00881057233, 0, -0.00266666664, 0)
  1169.         NotificationHolder.Size = UDim2.new(0, 687, 0, 375)
  1170.         NotificationHolder.AutoButtonColor = false
  1171.         NotificationHolder.Font = Enum.Font.SourceSans
  1172.         NotificationHolder.Text = ""
  1173.         NotificationHolder.TextColor3 = Color3.fromRGB(0, 0, 0)
  1174.         NotificationHolder.TextSize = 14.000
  1175.         NotificationHolder.BackgroundTransparency = 1
  1176.         NotificationHolder.Visible = true
  1177.         TweenService:Create(
  1178.             NotificationHolder,
  1179.             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1180.             {BackgroundTransparency = 0.2}
  1181.         ):Play()
  1182.  
  1183.         local UserChange = Instance.new("Frame")
  1184.         local UserChangeCorner = Instance.new("UICorner")
  1185.         local UnderBar = Instance.new("Frame")
  1186.         local UnderBarCorner = Instance.new("UICorner")
  1187.         local UnderBarFrame = Instance.new("Frame")
  1188.         local Text1 = Instance.new("TextLabel")
  1189.         local Text2 = Instance.new("TextLabel")
  1190.         local TextBoxFrame = Instance.new("Frame")
  1191.         local TextBoxFrameCorner = Instance.new("UICorner")
  1192.         local TextBoxFrame1 = Instance.new("Frame")
  1193.         local TextBoxFrame1Corner = Instance.new("UICorner")
  1194.         local UsernameTextbox = Instance.new("TextBox")
  1195.         local Seperator = Instance.new("Frame")
  1196.         local HashtagLabel = Instance.new("TextLabel")
  1197.         local TagTextbox = Instance.new("TextBox")
  1198.         local ChangeBtn = Instance.new("TextButton")
  1199.         local ChangeCorner = Instance.new("UICorner")
  1200.         local CloseBtn2 = Instance.new("TextButton")
  1201.         local Close2Icon = Instance.new("ImageLabel")
  1202.         local CloseBtn1 = Instance.new("TextButton")
  1203.         local CloseBtn1Corner = Instance.new("UICorner")
  1204.  
  1205.         UserChange.Name = "UserChange"
  1206.         UserChange.Parent = NotificationHolder
  1207.         UserChange.AnchorPoint = Vector2.new(0.5, 0.5)
  1208.         UserChange.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  1209.         UserChange.ClipsDescendants = true
  1210.         UserChange.Position = UDim2.new(0.513071597, 0, 0.4746176, 0)
  1211.         UserChange.Size = UDim2.new(0, 0, 0, 0)
  1212.         UserChange.BackgroundTransparency = 1
  1213.  
  1214.         UserChange:TweenSize(UDim2.new(0, 346, 0, 198), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
  1215.         TweenService:Create(
  1216.             UserChange,
  1217.             TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1218.             {BackgroundTransparency = 0}
  1219.         ):Play()
  1220.  
  1221.         UserChangeCorner.CornerRadius = UDim.new(0, 5)
  1222.         UserChangeCorner.Name = "UserChangeCorner"
  1223.         UserChangeCorner.Parent = UserChange
  1224.  
  1225.         UnderBar.Name = "UnderBar"
  1226.         UnderBar.Parent = UserChange
  1227.         UnderBar.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  1228.         UnderBar.Position = UDim2.new(-0.000297061284, 0, 0.945048928, 0)
  1229.         UnderBar.Size = UDim2.new(0, 346, 0, 13)
  1230.  
  1231.         UnderBarCorner.CornerRadius = UDim.new(0, 5)
  1232.         UnderBarCorner.Name = "UnderBarCorner"
  1233.         UnderBarCorner.Parent = UnderBar
  1234.  
  1235.         UnderBarFrame.Name = "UnderBarFrame"
  1236.         UnderBarFrame.Parent = UnderBar
  1237.         UnderBarFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  1238.         UnderBarFrame.BorderSizePixel = 0
  1239.         UnderBarFrame.Position = UDim2.new(-0.000297061284, 0, -2.53846145, 0)
  1240.         UnderBarFrame.Size = UDim2.new(0, 346, 0, 39)
  1241.  
  1242.         Text1.Name = "Text1"
  1243.         Text1.Parent = UserChange
  1244.         Text1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1245.         Text1.BackgroundTransparency = 1.000
  1246.         Text1.Position = UDim2.new(-0.000594122568, 0, 0.0202020202, 0)
  1247.         Text1.Size = UDim2.new(0, 346, 0, 68)
  1248.         Text1.Font = Enum.Font.GothamSemibold
  1249.         Text1.Text = "Change your username"
  1250.         Text1.TextColor3 = Color3.fromRGB(255, 255, 255)
  1251.         Text1.TextSize = 20.000
  1252.  
  1253.         Text2.Name = "Text2"
  1254.         Text2.Parent = UserChange
  1255.         Text2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1256.         Text2.BackgroundTransparency = 1.000
  1257.         Text2.Position = UDim2.new(-0.000594122568, 0, 0.141587839, 0)
  1258.         Text2.Size = UDim2.new(0, 346, 0, 63)
  1259.         Text2.Font = Enum.Font.Gotham
  1260.         Text2.Text = "Enter your new username."
  1261.         Text2.TextColor3 = Color3.fromRGB(171, 172, 176)
  1262.         Text2.TextSize = 14.000
  1263.  
  1264.         TextBoxFrame.Name = "TextBoxFrame"
  1265.         TextBoxFrame.Parent = UserChange
  1266.         TextBoxFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  1267.         TextBoxFrame.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
  1268.         TextBoxFrame.Position = UDim2.new(0.49710983, 0, 0.560606062, 0)
  1269.         TextBoxFrame.Size = UDim2.new(0, 319, 0, 38)
  1270.  
  1271.         TextBoxFrameCorner.CornerRadius = UDim.new(0, 3)
  1272.         TextBoxFrameCorner.Name = "TextBoxFrameCorner"
  1273.         TextBoxFrameCorner.Parent = TextBoxFrame
  1274.  
  1275.         TextBoxFrame1.Name = "TextBoxFrame1"
  1276.         TextBoxFrame1.Parent = TextBoxFrame
  1277.         TextBoxFrame1.AnchorPoint = Vector2.new(0.5, 0.5)
  1278.         TextBoxFrame1.BackgroundColor3 = Color3.fromRGB(48, 51, 57)
  1279.         TextBoxFrame1.Position = UDim2.new(0.5, 0, 0.5, 0)
  1280.         TextBoxFrame1.Size = UDim2.new(0, 317, 0, 36)
  1281.  
  1282.         TextBoxFrame1Corner.CornerRadius = UDim.new(0, 3)
  1283.         TextBoxFrame1Corner.Name = "TextBoxFrame1Corner"
  1284.         TextBoxFrame1Corner.Parent = TextBoxFrame1
  1285.  
  1286.         UsernameTextbox.Name = "UsernameTextbox"
  1287.         UsernameTextbox.Parent = TextBoxFrame1
  1288.         UsernameTextbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1289.         UsernameTextbox.BackgroundTransparency = 1.000
  1290.         UsernameTextbox.Position = UDim2.new(0.0378548913, 0, 0, 0)
  1291.         UsernameTextbox.Size = UDim2.new(0, 221, 0, 37)
  1292.         UsernameTextbox.Font = Enum.Font.Gotham
  1293.         UsernameTextbox.Text = user
  1294.         UsernameTextbox.TextColor3 = Color3.fromRGB(193, 195, 197)
  1295.         UsernameTextbox.TextSize = 14.000
  1296.         UsernameTextbox.TextXAlignment = Enum.TextXAlignment.Left
  1297.  
  1298.         Seperator.Name = "Seperator"
  1299.         Seperator.Parent = TextBoxFrame1
  1300.         Seperator.AnchorPoint = Vector2.new(0.5, 0.5)
  1301.         Seperator.BackgroundColor3 = Color3.fromRGB(64, 68, 73)
  1302.         Seperator.BorderSizePixel = 0
  1303.         Seperator.Position = UDim2.new(0.753000021, 0, 0.500999987, 0)
  1304.         Seperator.Size = UDim2.new(0, 1, 0, 25)
  1305.  
  1306.         HashtagLabel.Name = "HashtagLabel"
  1307.         HashtagLabel.Parent = TextBoxFrame1
  1308.         HashtagLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1309.         HashtagLabel.BackgroundTransparency = 1.000
  1310.         HashtagLabel.Position = UDim2.new(0.765877604, 0, -0.0546001866, 0)
  1311.         HashtagLabel.Size = UDim2.new(0, 23, 0, 37)
  1312.         HashtagLabel.Font = Enum.Font.Gotham
  1313.         HashtagLabel.Text = "#"
  1314.         HashtagLabel.TextColor3 = Color3.fromRGB(79, 82, 88)
  1315.         HashtagLabel.TextSize = 16.000
  1316.  
  1317.         TagTextbox.Name = "TagTextbox"
  1318.         TagTextbox.Parent = TextBoxFrame1
  1319.         TagTextbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1320.         TagTextbox.BackgroundTransparency = 1.000
  1321.         TagTextbox.Position = UDim2.new(0.824999988, 0, -0.0280000009, 0)
  1322.         TagTextbox.Size = UDim2.new(0, 59, 0, 38)
  1323.         TagTextbox.Font = Enum.Font.Gotham
  1324.         TagTextbox.PlaceholderColor3 = Color3.fromRGB(210, 211, 212)
  1325.         TagTextbox.Text = tag
  1326.         TagTextbox.TextColor3 = Color3.fromRGB(193, 195, 197)
  1327.         TagTextbox.TextSize = 14.000
  1328.         TagTextbox.TextXAlignment = Enum.TextXAlignment.Left
  1329.  
  1330.         ChangeBtn.Name = "ChangeBtn"
  1331.         ChangeBtn.Parent = UserChange
  1332.         ChangeBtn.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
  1333.         ChangeBtn.Position = UDim2.new(0.749670506, 0, 0.823232353, 0)
  1334.         ChangeBtn.Size = UDim2.new(0, 76, 0, 27)
  1335.         ChangeBtn.Font = Enum.Font.Gotham
  1336.         ChangeBtn.Text = "Change"
  1337.         ChangeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  1338.         ChangeBtn.TextSize = 13.000
  1339.         ChangeBtn.AutoButtonColor = false
  1340.  
  1341.         ChangeBtn.MouseEnter:Connect(function()
  1342.             TweenService:Create(
  1343.                 ChangeBtn,
  1344.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1345.                 {BackgroundColor3 = Color3.fromRGB(103,123,196)}
  1346.             ):Play()
  1347.         end)
  1348.  
  1349.         ChangeBtn.MouseLeave:Connect(function()
  1350.             TweenService:Create(
  1351.                 ChangeBtn,
  1352.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1353.                 {BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
  1354.             ):Play()
  1355.         end)
  1356.  
  1357.         ChangeBtn.MouseButton1Click:Connect(function()
  1358.             user = UsernameTextbox.Text
  1359.             tag = TagTextbox.Text
  1360.             UserSettingsPadUser.Text = user
  1361.             UserSettingsPadUser.Size = UDim2.new(0, UserSettingsPadUser.TextBounds.X + 2, 0, 19)
  1362.             UserSettingsPadTag.Text = "#" .. tag
  1363.             UserPanelTag.Text = "#" .. tag
  1364.             UserPanelUser.Text = user
  1365.             UserPanelUser.Size = UDim2.new(0, UserPanelUser.TextBounds.X + 2, 0, 19)
  1366.             UserName.Text = user
  1367.             UserTag.Text = "#" .. tag
  1368.             SaveInfo()
  1369.  
  1370.             UserChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
  1371.             TweenService:Create(
  1372.                 UserChange,
  1373.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1374.                 {BackgroundTransparency = 1}
  1375.             ):Play()
  1376.             TweenService:Create(
  1377.                 NotificationHolder,
  1378.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1379.                 {BackgroundTransparency = 1}
  1380.             ):Play()
  1381.             wait(.2)
  1382.             NotificationHolder:Destroy()
  1383.         end)
  1384.  
  1385.         ChangeCorner.CornerRadius = UDim.new(0, 4)
  1386.         ChangeCorner.Name = "ChangeCorner"
  1387.         ChangeCorner.Parent = ChangeBtn
  1388.  
  1389.         CloseBtn2.Name = "CloseBtn2"
  1390.         CloseBtn2.Parent = UserChange
  1391.         CloseBtn2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1392.         CloseBtn2.BackgroundTransparency = 1.000
  1393.         CloseBtn2.Position = UDim2.new(0.898000002, 0, 0, 0)
  1394.         CloseBtn2.Size = UDim2.new(0, 26, 0, 26)
  1395.         CloseBtn2.Font = Enum.Font.Gotham
  1396.         CloseBtn2.Text = ""
  1397.         CloseBtn2.TextColor3 = Color3.fromRGB(255, 255, 255)
  1398.         CloseBtn2.TextSize = 14.000
  1399.  
  1400.         Close2Icon.Name = "Close2Icon"
  1401.         Close2Icon.Parent = CloseBtn2
  1402.         Close2Icon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1403.         Close2Icon.BackgroundTransparency = 1.000
  1404.         Close2Icon.Position = UDim2.new(-0.0384615399, 0, 0.312910825, 0)
  1405.         Close2Icon.Size = UDim2.new(0, 25, 0, 25)
  1406.         Close2Icon.Image = "http://www.roblox.com/asset/?id=6035047409"
  1407.         Close2Icon.ImageColor3 = Color3.fromRGB(119, 122, 127)
  1408.  
  1409.         CloseBtn1.Name = "CloseBtn1"
  1410.         CloseBtn1.Parent = UserChange
  1411.         CloseBtn1.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
  1412.         CloseBtn1.BackgroundTransparency = 1.000
  1413.         CloseBtn1.Position = UDim2.new(0.495000005, 0, 0.823000014, 0)
  1414.         CloseBtn1.Size = UDim2.new(0, 76, 0, 27)
  1415.         CloseBtn1.Font = Enum.Font.Gotham
  1416.         CloseBtn1.Text = "Close"
  1417.         CloseBtn1.TextColor3 = Color3.fromRGB(255, 255, 255)
  1418.         CloseBtn1.TextSize = 13.000
  1419.  
  1420.         CloseBtn1Corner.CornerRadius = UDim.new(0, 4)
  1421.         CloseBtn1Corner.Name = "CloseBtn1Corner"
  1422.         CloseBtn1Corner.Parent = CloseBtn1
  1423.  
  1424.         CloseBtn1.MouseButton1Click:Connect(function()
  1425.             UserChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
  1426.             TweenService:Create(
  1427.                 UserChange,
  1428.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1429.                 {BackgroundTransparency = 1}
  1430.             ):Play()
  1431.             TweenService:Create(
  1432.                 NotificationHolder,
  1433.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1434.                 {BackgroundTransparency = 1}
  1435.             ):Play()
  1436.             wait(.2)
  1437.             NotificationHolder:Destroy()
  1438.         end)
  1439.  
  1440.         CloseBtn2.MouseButton1Click:Connect(function()
  1441.             UserChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
  1442.             TweenService:Create(
  1443.                 UserChange,
  1444.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1445.                 {BackgroundTransparency = 1}
  1446.             ):Play()
  1447.             TweenService:Create(
  1448.                 NotificationHolder,
  1449.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1450.                 {BackgroundTransparency = 1}
  1451.             ):Play()
  1452.             wait(.2)
  1453.             NotificationHolder:Destroy()
  1454.         end)
  1455.  
  1456.         CloseBtn2.MouseEnter:Connect(function()
  1457.             TweenService:Create(
  1458.                 Close2Icon,
  1459.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1460.                 {ImageColor3 = Color3.fromRGB(210,210,210)}
  1461.             ):Play()
  1462.         end)
  1463.  
  1464.         CloseBtn2.MouseLeave:Connect(function()
  1465.             TweenService:Create(
  1466.                 Close2Icon,
  1467.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1468.                 {ImageColor3 = Color3.fromRGB(119, 122, 127)}
  1469.             ):Play()
  1470.         end)
  1471.  
  1472.         TagTextbox.Changed:Connect(function()
  1473.             TagTextbox.Text = TagTextbox.Text:sub(1,4) 
  1474.         end)
  1475.  
  1476.         TagTextbox:GetPropertyChangedSignal("Text"):Connect(function()
  1477.             TagTextbox.Text = TagTextbox.Text:gsub('%D+', '');
  1478.         end)
  1479.  
  1480.         UsernameTextbox.Changed:Connect(function()
  1481.             UsernameTextbox.Text = UsernameTextbox.Text:sub(1,13)  
  1482.         end)
  1483.  
  1484.         TagTextbox.Focused:Connect(function()
  1485.             TweenService:Create(
  1486.                 TextBoxFrame,
  1487.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1488.                 {BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
  1489.             ):Play()
  1490.         end)
  1491.  
  1492.         TagTextbox.FocusLost:Connect(function()
  1493.             TweenService:Create(
  1494.                 TextBoxFrame,
  1495.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1496.                 {BackgroundColor3 = Color3.fromRGB(37, 40, 43)}
  1497.             ):Play()
  1498.         end)
  1499.  
  1500.         UsernameTextbox.Focused:Connect(function()
  1501.             TweenService:Create(
  1502.                 TextBoxFrame,
  1503.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1504.                 {BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
  1505.             ):Play()
  1506.         end)
  1507.  
  1508.         UsernameTextbox.FocusLost:Connect(function()
  1509.             TweenService:Create(
  1510.                 TextBoxFrame,
  1511.                 TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1512.                 {BackgroundColor3 = Color3.fromRGB(37, 40, 43)}
  1513.             ):Play()
  1514.         end)
  1515.  
  1516.     end)
  1517.  
  1518.     function DiscordLib:Notification(titletext, desctext, btntext)
  1519.         local NotificationHolderMain = Instance.new("TextButton")
  1520.         local Notification = Instance.new("Frame")
  1521.         local NotificationCorner = Instance.new("UICorner")
  1522.         local UnderBar = Instance.new("Frame")
  1523.         local UnderBarCorner = Instance.new("UICorner")
  1524.         local UnderBarFrame = Instance.new("Frame")
  1525.         local Text1 = Instance.new("TextLabel")
  1526.         local Text2 = Instance.new("TextLabel")
  1527.         local AlrightBtn = Instance.new("TextButton")
  1528.         local AlrightCorner = Instance.new("UICorner")
  1529.  
  1530.         NotificationHolderMain.Name = "NotificationHolderMain"
  1531.         NotificationHolderMain.Parent = MainFrame
  1532.         NotificationHolderMain.BackgroundColor3 = Color3.fromRGB(22, 22, 22)
  1533.         NotificationHolderMain.BackgroundTransparency = 1
  1534.         NotificationHolderMain.BorderSizePixel = 0
  1535.         NotificationHolderMain.Position = UDim2.new(0, 0, 0.0560000017, 0)
  1536.         NotificationHolderMain.Size = UDim2.new(0, 681, 0, 374)
  1537.         NotificationHolderMain.AutoButtonColor = false
  1538.         NotificationHolderMain.Font = Enum.Font.SourceSans
  1539.         NotificationHolderMain.Text = ""
  1540.         NotificationHolderMain.TextColor3 = Color3.fromRGB(0, 0, 0)
  1541.         NotificationHolderMain.TextSize = 14.000
  1542.         TweenService:Create(
  1543.             NotificationHolderMain,
  1544.             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1545.             {BackgroundTransparency = 0.2}
  1546.         ):Play()
  1547.  
  1548.  
  1549.         Notification.Name = "Notification"
  1550.         Notification.Parent = NotificationHolderMain
  1551.         Notification.AnchorPoint = Vector2.new(0.5, 0.5)
  1552.         Notification.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  1553.         Notification.ClipsDescendants = true
  1554.         Notification.Position = UDim2.new(0.524819076, 0, 0.469270051, 0)
  1555.         Notification.Size = UDim2.new(0, 0, 0, 0)
  1556.         Notification.BackgroundTransparency = 1
  1557.  
  1558.         Notification:TweenSize(UDim2.new(0, 346, 0, 176), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
  1559.  
  1560.         TweenService:Create(
  1561.             Notification,
  1562.             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1563.             {BackgroundTransparency = 0}
  1564.         ):Play()
  1565.  
  1566.         NotificationCorner.CornerRadius = UDim.new(0, 5)
  1567.         NotificationCorner.Name = "NotificationCorner"
  1568.         NotificationCorner.Parent = Notification
  1569.  
  1570.         UnderBar.Name = "UnderBar"
  1571.         UnderBar.Parent = Notification
  1572.         UnderBar.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  1573.         UnderBar.Position = UDim2.new(-0.000297061284, 0, 0.945048928, 0)
  1574.         UnderBar.Size = UDim2.new(0, 346, 0, 10)
  1575.  
  1576.         UnderBarCorner.CornerRadius = UDim.new(0, 5)
  1577.         UnderBarCorner.Name = "UnderBarCorner"
  1578.         UnderBarCorner.Parent = UnderBar
  1579.  
  1580.         UnderBarFrame.Name = "UnderBarFrame"
  1581.         UnderBarFrame.Parent = UnderBar
  1582.         UnderBarFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  1583.         UnderBarFrame.BorderSizePixel = 0
  1584.         UnderBarFrame.Position = UDim2.new(-0.000297061284, 0, -3.76068449, 0)
  1585.         UnderBarFrame.Size = UDim2.new(0, 346, 0, 40)
  1586.  
  1587.         Text1.Name = "Text1"
  1588.         Text1.Parent = Notification
  1589.         Text1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1590.         Text1.BackgroundTransparency = 1.000
  1591.         Text1.Position = UDim2.new(-0.000594122568, 0, 0.0202020202, 0)
  1592.         Text1.Size = UDim2.new(0, 346, 0, 68)
  1593.         Text1.Font = Enum.Font.GothamSemibold
  1594.         Text1.Text = titletext
  1595.         Text1.TextColor3 = Color3.fromRGB(255, 255, 255)
  1596.         Text1.TextSize = 20.000
  1597.  
  1598.         Text2.Name = "Text2"
  1599.         Text2.Parent = Notification
  1600.         Text2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1601.         Text2.BackgroundTransparency = 1.000
  1602.         Text2.Position = UDim2.new(0.106342293, 0, 0.317724228, 0)
  1603.         Text2.Size = UDim2.new(0, 272, 0, 63)
  1604.         Text2.Font = Enum.Font.Gotham
  1605.         Text2.Text = desctext
  1606.         Text2.TextColor3 = Color3.fromRGB(171, 172, 176)
  1607.         Text2.TextSize = 14.000
  1608.         Text2.TextWrapped = true
  1609.  
  1610.         AlrightBtn.Name = "AlrightBtn"
  1611.         AlrightBtn.Parent = Notification
  1612.         AlrightBtn.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
  1613.         AlrightBtn.Position = UDim2.new(0.0332369953, 0, 0.789141417, 0)
  1614.         AlrightBtn.Size = UDim2.new(0, 322, 0, 27)
  1615.         AlrightBtn.Font = Enum.Font.Gotham
  1616.         AlrightBtn.Text = btntext
  1617.         AlrightBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  1618.         AlrightBtn.TextSize = 13.000
  1619.         AlrightBtn.AutoButtonColor = false
  1620.  
  1621.         AlrightCorner.CornerRadius = UDim.new(0, 4)
  1622.         AlrightCorner.Name = "AlrightCorner"
  1623.         AlrightCorner.Parent = AlrightBtn
  1624.  
  1625.         AlrightBtn.MouseButton1Click:Connect(function()
  1626.             TweenService:Create(
  1627.                 NotificationHolderMain,
  1628.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1629.                 {BackgroundTransparency = 1}
  1630.             ):Play()
  1631.             Notification:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
  1632.             TweenService:Create(
  1633.                 Notification,
  1634.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1635.                 {BackgroundTransparency = 1}
  1636.             ):Play()
  1637.             wait(.2)
  1638.             NotificationHolderMain:Destroy()
  1639.         end)
  1640.  
  1641.         AlrightBtn.MouseEnter:Connect(function()
  1642.             TweenService:Create(
  1643.                 AlrightBtn,
  1644.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1645.                 {BackgroundColor3 = Color3.fromRGB(103,123,196)}
  1646.             ):Play()
  1647.         end)
  1648.  
  1649.         AlrightBtn.MouseLeave:Connect(function()
  1650.             TweenService:Create(
  1651.                 AlrightBtn,
  1652.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1653.                 {BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
  1654.             ):Play()
  1655.         end)
  1656.     end
  1657.  
  1658.     MakeDraggable(TopFrame, MainFrame)
  1659.     ServersHoldPadding.PaddingLeft = UDim.new(0, 14)
  1660.     local ServerHold = {}
  1661.     function ServerHold:Server(text, img)
  1662.         local fc = false
  1663.         local currentchanneltoggled = ""
  1664.         local Server = Instance.new("TextButton")
  1665.         local ServerBtnCorner = Instance.new("UICorner")
  1666.         local ServerIco = Instance.new("ImageLabel")
  1667.         local ServerWhiteFrame = Instance.new("Frame")
  1668.         local ServerWhiteFrameCorner = Instance.new("UICorner")
  1669.  
  1670.         Server.Name = text .. "Server"
  1671.         Server.Parent = ServersHold
  1672.         Server.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  1673.         Server.Position = UDim2.new(0.125, 0, 0, 0)
  1674.         Server.Size = UDim2.new(0, 47, 0, 47)
  1675.         Server.AutoButtonColor = false
  1676.         Server.Font = Enum.Font.Gotham
  1677.         Server.Text = ""
  1678.         Server.TextColor3 = Color3.fromRGB(255, 255, 255)
  1679.         Server.TextSize = 18.000
  1680.  
  1681.         ServerBtnCorner.CornerRadius = UDim.new(1, 0)
  1682.         ServerBtnCorner.Name = "ServerCorner"
  1683.         ServerBtnCorner.Parent = Server
  1684.  
  1685.         ServerIco.Name = "ServerIco"
  1686.         ServerIco.Parent = Server
  1687.         ServerIco.AnchorPoint = Vector2.new(0.5, 0.5)
  1688.         ServerIco.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1689.         ServerIco.BackgroundTransparency = 1.000
  1690.         ServerIco.Position = UDim2.new(0.489361703, 0, 0.489361703, 0)
  1691.         ServerIco.Size = UDim2.new(0, 26, 0, 26)
  1692.         ServerIco.Image = ""
  1693.  
  1694.         ServerWhiteFrame.Name = "ServerWhiteFrame"
  1695.         ServerWhiteFrame.Parent = Server
  1696.         ServerWhiteFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  1697.         ServerWhiteFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1698.         ServerWhiteFrame.Position = UDim2.new(-0.347378343, 0, 0.502659559, 0)
  1699.         ServerWhiteFrame.Size = UDim2.new(0, 11, 0, 10)
  1700.  
  1701.         ServerWhiteFrameCorner.CornerRadius = UDim.new(1, 0)
  1702.         ServerWhiteFrameCorner.Name = "ServerWhiteFrameCorner"
  1703.         ServerWhiteFrameCorner.Parent = ServerWhiteFrame
  1704.         ServersHold.CanvasSize = UDim2.new(0, 0, 0, ServersHoldLayout.AbsoluteContentSize.Y)
  1705.  
  1706.         local ServerFrame = Instance.new("Frame")
  1707.         local ServerFrame1 = Instance.new("Frame")
  1708.         local ServerFrame2 = Instance.new("Frame")
  1709.         local ServerTitleFrame = Instance.new("Frame")
  1710.         local ServerTitle = Instance.new("TextLabel")
  1711.         local GlowFrame = Instance.new("Frame")
  1712.         local Glow = Instance.new("ImageLabel")
  1713.         local ServerContentFrame = Instance.new("Frame")
  1714.         local ServerCorner = Instance.new("UICorner")
  1715.         local ChannelTitleFrame = Instance.new("Frame")
  1716.         local Hashtag = Instance.new("TextLabel")
  1717.         local ChannelTitle = Instance.new("TextLabel")
  1718.         local ChannelContentFrame = Instance.new("Frame")
  1719.         local GlowChannel = Instance.new("ImageLabel")
  1720.         local ServerChannelHolder = Instance.new("ScrollingFrame")
  1721.         local ServerChannelHolderLayout = Instance.new("UIListLayout")
  1722.         local ServerChannelHolderPadding = Instance.new("UIPadding")
  1723.  
  1724.  
  1725.         ServerFrame.Name = "ServerFrame"
  1726.         ServerFrame.Parent = ServersHolder
  1727.         ServerFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  1728.         ServerFrame.BorderSizePixel = 0
  1729.         ServerFrame.ClipsDescendants = true
  1730.         ServerFrame.Position = UDim2.new(0.105726875, 0, 1.01262593, 0)
  1731.         ServerFrame.Size = UDim2.new(0, 609, 0, 373)
  1732.         ServerFrame.Visible = false
  1733.  
  1734.         ServerFrame1.Name = "ServerFrame1"
  1735.         ServerFrame1.Parent = ServerFrame
  1736.         ServerFrame1.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  1737.         ServerFrame1.BorderSizePixel = 0
  1738.         ServerFrame1.Position = UDim2.new(0, 0, 0.972290039, 0)
  1739.         ServerFrame1.Size = UDim2.new(0, 12, 0, 10)
  1740.  
  1741.         ServerFrame2.Name = "ServerFrame2"
  1742.         ServerFrame2.Parent = ServerFrame
  1743.         ServerFrame2.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  1744.         ServerFrame2.BorderSizePixel = 0
  1745.         ServerFrame2.Position = UDim2.new(0.980295539, 0, 0.972290039, 0)
  1746.         ServerFrame2.Size = UDim2.new(0, 12, 0, 9)
  1747.  
  1748.         ServerTitleFrame.Name = "ServerTitleFrame"
  1749.         ServerTitleFrame.Parent = ServerFrame
  1750.         ServerTitleFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  1751.         ServerTitleFrame.BackgroundTransparency = 1.000
  1752.         ServerTitleFrame.BorderSizePixel = 0
  1753.         ServerTitleFrame.Position = UDim2.new(-0.0010054264, 0, -0.000900391256, 0)
  1754.         ServerTitleFrame.Size = UDim2.new(0, 180, 0, 40)
  1755.  
  1756.         ServerTitle.Name = "ServerTitle"
  1757.         ServerTitle.Parent = ServerTitleFrame
  1758.         ServerTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1759.         ServerTitle.BackgroundTransparency = 1.000
  1760.         ServerTitle.BorderSizePixel = 0
  1761.         ServerTitle.Position = UDim2.new(0.0751359761, 0, 0, 0)
  1762.         ServerTitle.Size = UDim2.new(0, 97, 0, 39)
  1763.         ServerTitle.Font = Enum.Font.GothamSemibold
  1764.         ServerTitle.Text = text
  1765.         ServerTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  1766.         ServerTitle.TextSize = 15.000
  1767.         ServerTitle.TextXAlignment = Enum.TextXAlignment.Left
  1768.  
  1769.         GlowFrame.Name = "GlowFrame"
  1770.         GlowFrame.Parent = ServerFrame
  1771.         GlowFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  1772.         GlowFrame.BackgroundTransparency = 1.000
  1773.         GlowFrame.BorderSizePixel = 0
  1774.         GlowFrame.Position = UDim2.new(-0.0010054264, 0, -0.000900391256, 0)
  1775.         GlowFrame.Size = UDim2.new(0, 609, 0, 40)
  1776.  
  1777.         Glow.Name = "Glow"
  1778.         Glow.Parent = GlowFrame
  1779.         Glow.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1780.         Glow.BackgroundTransparency = 1.000
  1781.         Glow.BorderSizePixel = 0
  1782.         Glow.Position = UDim2.new(0, -15, 0, -15)
  1783.         Glow.Size = UDim2.new(1, 30, 1, 30)
  1784.         Glow.ZIndex = 0
  1785.         Glow.Image = "rbxassetid://4996891970"
  1786.         Glow.ImageColor3 = Color3.fromRGB(15, 15, 15)
  1787.         Glow.ScaleType = Enum.ScaleType.Slice
  1788.         Glow.SliceCenter = Rect.new(20, 20, 280, 280)
  1789.  
  1790.         ServerContentFrame.Name = "ServerContentFrame"
  1791.         ServerContentFrame.Parent = ServerFrame
  1792.         ServerContentFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  1793.         ServerContentFrame.BackgroundTransparency = 1.000
  1794.         ServerContentFrame.BorderSizePixel = 0
  1795.         ServerContentFrame.Position = UDim2.new(-0.0010054264, 0, 0.106338218, 0)
  1796.         ServerContentFrame.Size = UDim2.new(0, 180, 0, 333)
  1797.  
  1798.         ServerCorner.CornerRadius = UDim.new(0, 9)
  1799.         ServerCorner.Name = "ServerCorner"
  1800.         ServerCorner.Parent = ServerFrame
  1801.  
  1802.         ChannelTitleFrame.Name = "ChannelTitleFrame"
  1803.         ChannelTitleFrame.Parent = ServerFrame
  1804.         ChannelTitleFrame.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  1805.         ChannelTitleFrame.BorderSizePixel = 0
  1806.         ChannelTitleFrame.Position = UDim2.new(0.294561088, 0, -0.000900391256, 0)
  1807.         ChannelTitleFrame.Size = UDim2.new(0, 429, 0, 40)
  1808.  
  1809.         Hashtag.Name = "Hashtag"
  1810.         Hashtag.Parent = ChannelTitleFrame
  1811.         Hashtag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1812.         Hashtag.BackgroundTransparency = 1.000
  1813.         Hashtag.BorderSizePixel = 0
  1814.         Hashtag.Position = UDim2.new(0.0279720277, 0, 0, 0)
  1815.         Hashtag.Size = UDim2.new(0, 19, 0, 39)
  1816.         Hashtag.Font = Enum.Font.Gotham
  1817.         Hashtag.Text = "#"
  1818.         Hashtag.TextColor3 = Color3.fromRGB(114, 118, 125)
  1819.         Hashtag.TextSize = 25.000
  1820.  
  1821.         ChannelTitle.Name = "ChannelTitle"
  1822.         ChannelTitle.Parent = ChannelTitleFrame
  1823.         ChannelTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1824.         ChannelTitle.BackgroundTransparency = 1.000
  1825.         ChannelTitle.BorderSizePixel = 0
  1826.         ChannelTitle.Position = UDim2.new(0.0862470865, 0, 0, 0)
  1827.         ChannelTitle.Size = UDim2.new(0, 95, 0, 39)
  1828.         ChannelTitle.Font = Enum.Font.GothamSemibold
  1829.         ChannelTitle.Text = ""
  1830.         ChannelTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  1831.         ChannelTitle.TextSize = 15.000
  1832.         ChannelTitle.TextXAlignment = Enum.TextXAlignment.Left
  1833.  
  1834.         ChannelContentFrame.Name = "ChannelContentFrame"
  1835.         ChannelContentFrame.Parent = ServerFrame
  1836.         ChannelContentFrame.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  1837.         ChannelContentFrame.BorderSizePixel = 0
  1838.         ChannelContentFrame.ClipsDescendants = true
  1839.         ChannelContentFrame.Position = UDim2.new(0.294561088, 0, 0.106338218, 0)
  1840.         ChannelContentFrame.Size = UDim2.new(0, 429, 0, 333)
  1841.  
  1842.         GlowChannel.Name = "GlowChannel"
  1843.         GlowChannel.Parent = ChannelContentFrame
  1844.         GlowChannel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1845.         GlowChannel.BackgroundTransparency = 1.000
  1846.         GlowChannel.BorderSizePixel = 0
  1847.         GlowChannel.Position = UDim2.new(0, -33, 0, -91)
  1848.         GlowChannel.Size = UDim2.new(1.06396091, 30, 0.228228226, 30)
  1849.         GlowChannel.ZIndex = 0
  1850.         GlowChannel.Image = "rbxassetid://4996891970"
  1851.         GlowChannel.ImageColor3 = Color3.fromRGB(15, 15, 15)
  1852.         GlowChannel.ScaleType = Enum.ScaleType.Slice
  1853.         GlowChannel.SliceCenter = Rect.new(20, 20, 280, 280)
  1854.  
  1855.         ServerChannelHolder.Name = "ServerChannelHolder"
  1856.         ServerChannelHolder.Parent = ServerContentFrame
  1857.         ServerChannelHolder.Active = true
  1858.         ServerChannelHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1859.         ServerChannelHolder.BackgroundTransparency = 1.000
  1860.         ServerChannelHolder.BorderSizePixel = 0
  1861.         ServerChannelHolder.Position = UDim2.new(0.00535549596, 0, 0.0241984241, 0)
  1862.         ServerChannelHolder.Selectable = false
  1863.         ServerChannelHolder.Size = UDim2.new(0, 179, 0, 278)
  1864.         ServerChannelHolder.CanvasSize = UDim2.new(0, 0, 0, 0)
  1865.         ServerChannelHolder.ScrollBarThickness = 4
  1866.         ServerChannelHolder.ScrollBarImageColor3 = Color3.fromRGB(18, 19, 21)
  1867.         ServerChannelHolder.ScrollBarImageTransparency = 1
  1868.  
  1869.         ServerChannelHolderLayout.Name = "ServerChannelHolderLayout"
  1870.         ServerChannelHolderLayout.Parent = ServerChannelHolder
  1871.         ServerChannelHolderLayout.SortOrder = Enum.SortOrder.LayoutOrder
  1872.         ServerChannelHolderLayout.Padding = UDim.new(0, 4)
  1873.  
  1874.         ServerChannelHolderPadding.Name = "ServerChannelHolderPadding"
  1875.         ServerChannelHolderPadding.Parent = ServerChannelHolder
  1876.         ServerChannelHolderPadding.PaddingLeft = UDim.new(0, 9)
  1877.  
  1878.         ServerChannelHolder.MouseEnter:Connect(function()
  1879.             ServerChannelHolder.ScrollBarImageTransparency = 0
  1880.         end)
  1881.  
  1882.         ServerChannelHolder.MouseLeave:Connect(function()
  1883.             ServerChannelHolder.ScrollBarImageTransparency = 1
  1884.         end)
  1885.  
  1886.         Server.MouseEnter:Connect(
  1887.             function()
  1888.                 if currentservertoggled ~= Server.Name then
  1889.                     TweenService:Create(
  1890.                         Server,
  1891.                         TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1892.                         {BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
  1893.                     ):Play()
  1894.                     TweenService:Create(
  1895.                         ServerBtnCorner,
  1896.                         TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1897.                         {CornerRadius = UDim.new(0, 15)}
  1898.                     ):Play()
  1899.                     ServerWhiteFrame:TweenSize(
  1900.                         UDim2.new(0, 11, 0, 27),
  1901.                         Enum.EasingDirection.Out,
  1902.                         Enum.EasingStyle.Quart,
  1903.                         .3,
  1904.                         true
  1905.                     )
  1906.                 end
  1907.             end
  1908.         )
  1909.  
  1910.         Server.MouseLeave:Connect(
  1911.             function()
  1912.                 if currentservertoggled ~= Server.Name then
  1913.                     TweenService:Create(
  1914.                         Server,
  1915.                         TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1916.                         {BackgroundColor3 = Color3.fromRGB(47, 49, 54)}
  1917.                     ):Play()
  1918.                     TweenService:Create(
  1919.                         ServerBtnCorner,
  1920.                         TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1921.                         {CornerRadius = UDim.new(1, 0)}
  1922.                     ):Play()
  1923.                     ServerWhiteFrame:TweenSize(
  1924.                         UDim2.new(0, 11, 0, 10),
  1925.                         Enum.EasingDirection.Out,
  1926.                         Enum.EasingStyle.Quart,
  1927.                         .3,
  1928.                         true
  1929.                     )
  1930.                 end
  1931.             end
  1932.         )
  1933.  
  1934.         Server.MouseButton1Click:Connect(
  1935.             function()
  1936.                 currentservertoggled = Server.Name
  1937.                 for i, v in next, ServersHolder:GetChildren() do
  1938.                     if v.Name == "ServerFrame" then
  1939.                         v.Visible = false
  1940.                     end
  1941.                     ServerFrame.Visible = true
  1942.                 end
  1943.                 for i, v in next, ServersHold:GetChildren() do
  1944.                     if v.ClassName == "TextButton" then
  1945.                         TweenService:Create(
  1946.                             v,
  1947.                             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1948.                             {BackgroundColor3 = Color3.fromRGB(47, 49, 54)}
  1949.                         ):Play()
  1950.                         TweenService:Create(
  1951.                             Server,
  1952.                             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1953.                             {BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
  1954.                         ):Play()
  1955.                         TweenService:Create(
  1956.                             v.ServerCorner,
  1957.                             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1958.                             {CornerRadius = UDim.new(1, 0)}
  1959.                         ):Play()
  1960.                         TweenService:Create(
  1961.                             ServerBtnCorner,
  1962.                             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1963.                             {CornerRadius = UDim.new(0, 15)}
  1964.                         ):Play()
  1965.                         v.ServerWhiteFrame:TweenSize(
  1966.                             UDim2.new(0, 11, 0, 10),
  1967.                             Enum.EasingDirection.Out,
  1968.                             Enum.EasingStyle.Quart,
  1969.                             .3,
  1970.                             true
  1971.                         )
  1972.                         ServerWhiteFrame:TweenSize(
  1973.                             UDim2.new(0, 11, 0, 46),
  1974.                             Enum.EasingDirection.Out,
  1975.                             Enum.EasingStyle.Quart,
  1976.                             .3,
  1977.                             true
  1978.                         )
  1979.                     end
  1980.                 end
  1981.             end
  1982.         )
  1983.  
  1984.         if img == "" then
  1985.             Server.Text = string.sub(text, 1, 1)
  1986.         else
  1987.             ServerIco.Image = img
  1988.         end
  1989.  
  1990.         if fs == false then
  1991.             TweenService:Create(
  1992.                 Server,
  1993.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1994.                 {BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
  1995.             ):Play()
  1996.             TweenService:Create(
  1997.                 ServerBtnCorner,
  1998.                 TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1999.                 {CornerRadius = UDim.new(0, 15)}
  2000.             ):Play()
  2001.             ServerWhiteFrame:TweenSize(
  2002.                 UDim2.new(0, 11, 0, 46),
  2003.                 Enum.EasingDirection.Out,
  2004.                 Enum.EasingStyle.Quart,
  2005.                 .3,
  2006.                 true
  2007.             )
  2008.             ServerFrame.Visible = true
  2009.             Server.Name = text .. "Server"
  2010.             currentservertoggled = Server.Name
  2011.             fs = true
  2012.         end
  2013.         local ChannelHold = {}
  2014.         function ChannelHold:Channel(text)
  2015.             local ChannelBtn = Instance.new("TextButton")
  2016.             local ChannelBtnCorner = Instance.new("UICorner")
  2017.             local ChannelBtnHashtag = Instance.new("TextLabel")
  2018.             local ChannelBtnTitle = Instance.new("TextLabel")
  2019.  
  2020.             ChannelBtn.Name = text .. "ChannelBtn"
  2021.             ChannelBtn.Parent = ServerChannelHolder
  2022.             ChannelBtn.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  2023.             ChannelBtn.BorderSizePixel = 0
  2024.             ChannelBtn.Position = UDim2.new(0.24118948, 0, 0.578947365, 0)
  2025.             ChannelBtn.Size = UDim2.new(0, 160, 0, 30)
  2026.             ChannelBtn.AutoButtonColor = false
  2027.             ChannelBtn.Font = Enum.Font.SourceSans
  2028.             ChannelBtn.Text = ""
  2029.             ChannelBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  2030.             ChannelBtn.TextSize = 14.000
  2031.  
  2032.             ChannelBtnCorner.CornerRadius = UDim.new(0, 6)
  2033.             ChannelBtnCorner.Name = "ChannelBtnCorner"
  2034.             ChannelBtnCorner.Parent = ChannelBtn
  2035.  
  2036.             ChannelBtnHashtag.Name = "ChannelBtnHashtag"
  2037.             ChannelBtnHashtag.Parent = ChannelBtn
  2038.             ChannelBtnHashtag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2039.             ChannelBtnHashtag.BackgroundTransparency = 1.000
  2040.             ChannelBtnHashtag.BorderSizePixel = 0
  2041.             ChannelBtnHashtag.Position = UDim2.new(0.0279720314, 0, 0, 0)
  2042.             ChannelBtnHashtag.Size = UDim2.new(0, 24, 0, 30)
  2043.             ChannelBtnHashtag.Font = Enum.Font.Gotham
  2044.             ChannelBtnHashtag.Text = "#"
  2045.             ChannelBtnHashtag.TextColor3 = Color3.fromRGB(114, 118, 125)
  2046.             ChannelBtnHashtag.TextSize = 21.000
  2047.  
  2048.             ChannelBtnTitle.Name = "ChannelBtnTitle"
  2049.             ChannelBtnTitle.Parent = ChannelBtn
  2050.             ChannelBtnTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2051.             ChannelBtnTitle.BackgroundTransparency = 1.000
  2052.             ChannelBtnTitle.BorderSizePixel = 0
  2053.             ChannelBtnTitle.Position = UDim2.new(0.173747092, 0, -0.166666672, 0)
  2054.             ChannelBtnTitle.Size = UDim2.new(0, 95, 0, 39)
  2055.             ChannelBtnTitle.Font = Enum.Font.Gotham
  2056.             ChannelBtnTitle.Text = text
  2057.             ChannelBtnTitle.TextColor3 = Color3.fromRGB(114, 118, 125)
  2058.             ChannelBtnTitle.TextSize = 14.000
  2059.             ChannelBtnTitle.TextXAlignment = Enum.TextXAlignment.Left
  2060.             ServerChannelHolder.CanvasSize = UDim2.new(0, 0, 0, ServerChannelHolderLayout.AbsoluteContentSize.Y)
  2061.  
  2062.             local ChannelHolder = Instance.new("ScrollingFrame")
  2063.             local ChannelHolderLayout = Instance.new("UIListLayout")
  2064.  
  2065.             ChannelHolder.Name = "ChannelHolder"
  2066.             ChannelHolder.Parent = ChannelContentFrame
  2067.             ChannelHolder.Active = true
  2068.             ChannelHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2069.             ChannelHolder.BackgroundTransparency = 1.000
  2070.             ChannelHolder.BorderSizePixel = 0
  2071.             ChannelHolder.Position = UDim2.new(0.0360843192, 0, 0.0241984241, 0)
  2072.             ChannelHolder.Size = UDim2.new(0, 412, 0, 314)
  2073.             ChannelHolder.ScrollBarThickness = 6
  2074.             ChannelHolder.CanvasSize = UDim2.new(0,0,0,0)
  2075.             ChannelHolder.ScrollBarImageTransparency = 0
  2076.             ChannelHolder.ScrollBarImageColor3 = Color3.fromRGB(18, 19, 21)
  2077.             ChannelHolder.Visible = false
  2078.             ChannelHolder.ClipsDescendants = false
  2079.  
  2080.             ChannelHolderLayout.Name = "ChannelHolderLayout"
  2081.             ChannelHolderLayout.Parent = ChannelHolder
  2082.             ChannelHolderLayout.SortOrder = Enum.SortOrder.LayoutOrder
  2083.             ChannelHolderLayout.Padding = UDim.new(0, 6)
  2084.  
  2085.             ChannelBtn.MouseEnter:Connect(function()
  2086.                 if currentchanneltoggled ~= ChannelBtn.Name then
  2087.                     ChannelBtn.BackgroundColor3 = Color3.fromRGB(52,55,60)
  2088.                     ChannelBtnTitle.TextColor3 = Color3.fromRGB(220,221,222)
  2089.                 end
  2090.             end)
  2091.  
  2092.             ChannelBtn.MouseLeave:Connect(function()
  2093.                 if currentchanneltoggled ~= ChannelBtn.Name then
  2094.                     ChannelBtn.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  2095.                     ChannelBtnTitle.TextColor3 = Color3.fromRGB(114, 118, 125)
  2096.                 end
  2097.             end)
  2098.  
  2099.             ChannelBtn.MouseButton1Click:Connect(function()
  2100.                 for i, v in next, ChannelContentFrame:GetChildren() do
  2101.                     if v.Name == "ChannelHolder" then
  2102.                         v.Visible = false
  2103.                     end
  2104.                     ChannelHolder.Visible = true
  2105.                 end
  2106.                 for i, v in next, ServerChannelHolder:GetChildren() do
  2107.                     if v.ClassName == "TextButton" then
  2108.                         v.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  2109.                         v.ChannelBtnTitle.TextColor3 = Color3.fromRGB(114, 118, 125)
  2110.                     end
  2111.                     ServerFrame.Visible = true
  2112.                 end
  2113.                 ChannelTitle.Text = text
  2114.                 ChannelBtn.BackgroundColor3 = Color3.fromRGB(57,60,67)
  2115.                 ChannelBtnTitle.TextColor3 = Color3.fromRGB(255,255,255)
  2116.                 currentchanneltoggled = ChannelBtn.Name
  2117.             end)
  2118.  
  2119.             if fc == false then
  2120.                 fc = true
  2121.                 ChannelTitle.Text = text
  2122.                 ChannelBtn.BackgroundColor3 = Color3.fromRGB(57,60,67)
  2123.                 ChannelBtnTitle.TextColor3 = Color3.fromRGB(255,255,255)
  2124.                 currentchanneltoggled = ChannelBtn.Name
  2125.                 ChannelHolder.Visible = true
  2126.             end
  2127.             local ChannelContent = {}
  2128.             function ChannelContent:Button(text,callback)
  2129.                 local Button = Instance.new("TextButton")
  2130.                 local ButtonCorner = Instance.new("UICorner")
  2131.  
  2132.                 Button.Name = "Button"
  2133.                 Button.Parent = ChannelHolder
  2134.                 Button.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
  2135.                 Button.Size = UDim2.new(0, 401, 0, 30)
  2136.                 Button.AutoButtonColor = false
  2137.                 Button.Font = Enum.Font.Gotham
  2138.                 Button.TextColor3 = Color3.fromRGB(255, 255, 255)
  2139.                 Button.TextSize = 14.000
  2140.                 Button.Text = text
  2141.  
  2142.                 ButtonCorner.CornerRadius = UDim.new(0, 4)
  2143.                 ButtonCorner.Name = "ButtonCorner"
  2144.                 ButtonCorner.Parent = Button
  2145.  
  2146.                 Button.MouseEnter:Connect(function()
  2147.                     TweenService:Create(
  2148.                         Button,
  2149.                         TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2150.                         {BackgroundColor3 = Color3.fromRGB(103,123,196)}
  2151.                     ):Play()
  2152.                 end)
  2153.  
  2154.                 Button.MouseButton1Click:Connect(function()
  2155.                     pcall(callback)
  2156.                     Button.TextSize = 0
  2157.                     TweenService:Create(
  2158.                         Button,
  2159.                         TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2160.                         {TextSize = 14}
  2161.                     ):Play()
  2162.                 end)
  2163.  
  2164.                 Button.MouseLeave:Connect(function()
  2165.                     TweenService:Create(
  2166.                         Button,
  2167.                         TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2168.                         {BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
  2169.                     ):Play()
  2170.                 end)
  2171.                 ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2172.                 return Button
  2173.             end
  2174.             function ChannelContent:Toggle(text,default,callback)
  2175.                 local toggled = false
  2176.                 local Toggle = Instance.new("TextButton")
  2177.                 local ToggleTitle = Instance.new("TextLabel")
  2178.                 local ToggleFrame = Instance.new("Frame")
  2179.                 local ToggleFrameCorner = Instance.new("UICorner")
  2180.                 local ToggleFrameCircle = Instance.new("Frame")
  2181.                 local ToggleFrameCircleCorner = Instance.new("UICorner")
  2182.                 local Icon = Instance.new("ImageLabel")
  2183.  
  2184.                 Toggle.Name = "Toggle"
  2185.                 Toggle.Parent = ChannelHolder
  2186.                 Toggle.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  2187.                 Toggle.BorderSizePixel = 0
  2188.                 Toggle.Position = UDim2.new(0.261979163, 0, 0.190789461, 0)
  2189.                 Toggle.Size = UDim2.new(0, 401, 0, 30)
  2190.                 Toggle.AutoButtonColor = false
  2191.                 Toggle.Font = Enum.Font.Gotham
  2192.                 Toggle.Text = ""
  2193.                 Toggle.TextColor3 = Color3.fromRGB(255, 255, 255)
  2194.                 Toggle.TextSize = 14.000
  2195.  
  2196.                 ToggleTitle.Name = "ToggleTitle"
  2197.                 ToggleTitle.Parent = Toggle
  2198.                 ToggleTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2199.                 ToggleTitle.BackgroundTransparency = 1.000
  2200.                 ToggleTitle.Position = UDim2.new(0, 5, 0, 0)
  2201.                 ToggleTitle.Size = UDim2.new(0, 200, 0, 30)
  2202.                 ToggleTitle.Font = Enum.Font.Gotham
  2203.                 ToggleTitle.Text = text
  2204.                 ToggleTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  2205.                 ToggleTitle.TextSize = 14.000
  2206.                 ToggleTitle.TextXAlignment = Enum.TextXAlignment.Left
  2207.  
  2208.                 ToggleFrame.Name = "ToggleFrame"
  2209.                 ToggleFrame.Parent = Toggle
  2210.                 ToggleFrame.BackgroundColor3 = Color3.fromRGB(114, 118, 125)
  2211.                 ToggleFrame.Position = UDim2.new(0.900481343, -5, 0.13300018, 0)
  2212.                 ToggleFrame.Size = UDim2.new(0, 40, 0, 21)
  2213.  
  2214.                 ToggleFrameCorner.CornerRadius = UDim.new(1, 8)
  2215.                 ToggleFrameCorner.Name = "ToggleFrameCorner"
  2216.                 ToggleFrameCorner.Parent = ToggleFrame
  2217.  
  2218.                 ToggleFrameCircle.Name = "ToggleFrameCircle"
  2219.                 ToggleFrameCircle.Parent = ToggleFrame
  2220.                 ToggleFrameCircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2221.                 ToggleFrameCircle.Position = UDim2.new(0.234999999, -5, 0.133000001, 0)
  2222.                 ToggleFrameCircle.Size = UDim2.new(0, 15, 0, 15)
  2223.  
  2224.                 ToggleFrameCircleCorner.CornerRadius = UDim.new(1, 0)
  2225.                 ToggleFrameCircleCorner.Name = "ToggleFrameCircleCorner"
  2226.                 ToggleFrameCircleCorner.Parent = ToggleFrameCircle
  2227.  
  2228.                 Icon.Name = "Icon"
  2229.                 Icon.Parent = ToggleFrameCircle
  2230.                 Icon.AnchorPoint = Vector2.new(0.5, 0.5)
  2231.                 Icon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2232.                 Icon.BackgroundTransparency = 1.000
  2233.                 Icon.BorderColor3 = Color3.fromRGB(27, 42, 53)
  2234.                 Icon.Position = UDim2.new(0, 8, 0, 8)
  2235.                 Icon.Size = UDim2.new(0, 13, 0, 13)
  2236.                 Icon.Image = "http://www.roblox.com/asset/?id=6035047409"
  2237.                 Icon.ImageColor3 = Color3.fromRGB(114, 118, 125)
  2238.  
  2239.                 Toggle.MouseButton1Click:Connect(function()
  2240.                     if toggled == false then
  2241.                         TweenService:Create(
  2242.                             Icon,
  2243.                             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2244.                             {ImageColor3 = Color3.fromRGB(67,181,129)}
  2245.                         ):Play()
  2246.                         TweenService:Create(
  2247.                             ToggleFrame,
  2248.                             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2249.                             {BackgroundColor3 = Color3.fromRGB(67,181,129)}
  2250.                         ):Play()
  2251.                         ToggleFrameCircle:TweenPosition(UDim2.new(0.655, -5, 0.133000001, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
  2252.                         TweenService:Create(
  2253.                             Icon,
  2254.                             TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2255.                             {ImageTransparency = 1}
  2256.                         ):Play()
  2257.                         Icon.Image = "http://www.roblox.com/asset/?id=6023426926"
  2258.                         wait(.1)
  2259.                         TweenService:Create(
  2260.                             Icon,
  2261.                             TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2262.                             {ImageTransparency = 0}
  2263.                         ):Play()
  2264.                     else
  2265.                         TweenService:Create(
  2266.                             Icon,
  2267.                             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2268.                             {ImageColor3 = Color3.fromRGB(114, 118, 125)}
  2269.                         ):Play()
  2270.                         TweenService:Create(
  2271.                             ToggleFrame,
  2272.                             TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2273.                             {BackgroundColor3 = Color3.fromRGB(114, 118, 125)}
  2274.                         ):Play()
  2275.                         ToggleFrameCircle:TweenPosition(UDim2.new(0.234999999, -5, 0.133000001, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
  2276.                         TweenService:Create(
  2277.                             Icon,
  2278.                             TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2279.                             {ImageTransparency = 1}
  2280.                         ):Play()
  2281.                         Icon.Image = "http://www.roblox.com/asset/?id=6035047409"
  2282.                         wait(.1)
  2283.                         TweenService:Create(
  2284.                             Icon,
  2285.                             TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2286.                             {ImageTransparency = 0}
  2287.                         ):Play()
  2288.                     end
  2289.                     toggled = not toggled
  2290.                     pcall(callback, toggled)
  2291.                 end)
  2292.  
  2293.                 ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2294.             end
  2295.  
  2296.             function ChannelContent:Slider(text, min, max, start, callback)
  2297.                 local SliderFunc = {}
  2298.                 local dragging = false
  2299.                 local Slider = Instance.new("TextButton")
  2300.                 local SliderTitle = Instance.new("TextLabel")
  2301.                 local SliderFrame = Instance.new("Frame")
  2302.                 local SliderFrameCorner = Instance.new("UICorner")
  2303.                 local CurrentValueFrame = Instance.new("Frame")
  2304.                 local CurrentValueFrameCorner = Instance.new("UICorner")
  2305.                 local Zip = Instance.new("Frame")
  2306.                 local ZipCorner = Instance.new("UICorner")
  2307.                 local ValueBubble = Instance.new("Frame")
  2308.                 local ValueBubbleCorner = Instance.new("UICorner")
  2309.                 local SquareBubble = Instance.new("Frame")
  2310.                 local GlowBubble = Instance.new("ImageLabel")
  2311.                 local ValueLabel = Instance.new("TextLabel")
  2312.  
  2313.  
  2314.                 Slider.Name = "Slider"
  2315.                 Slider.Parent = ChannelHolder
  2316.                 Slider.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  2317.                 Slider.BorderSizePixel = 0
  2318.                 Slider.Position = UDim2.new(0, 0, 0.216560602, 0)
  2319.                 Slider.Size = UDim2.new(0, 401, 0, 38)
  2320.                 Slider.AutoButtonColor = false
  2321.                 Slider.Font = Enum.Font.Gotham
  2322.                 Slider.Text = ""
  2323.                 Slider.TextColor3 = Color3.fromRGB(255, 255, 255)
  2324.                 Slider.TextSize = 14.000
  2325.  
  2326.                 SliderTitle.Name = "SliderTitle"
  2327.                 SliderTitle.Parent = Slider
  2328.                 SliderTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2329.                 SliderTitle.BackgroundTransparency = 1.000
  2330.                 SliderTitle.Position = UDim2.new(0, 5, 0, -4)
  2331.                 SliderTitle.Size = UDim2.new(0, 200, 0, 27)
  2332.                 SliderTitle.Font = Enum.Font.Gotham
  2333.                 SliderTitle.Text = text
  2334.                 SliderTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  2335.                 SliderTitle.TextSize = 14.000
  2336.                 SliderTitle.TextXAlignment = Enum.TextXAlignment.Left
  2337.  
  2338.                 SliderFrame.Name = "SliderFrame"
  2339.                 SliderFrame.Parent = Slider
  2340.                 SliderFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  2341.                 SliderFrame.BackgroundColor3 = Color3.fromRGB(79, 84, 92)
  2342.                 SliderFrame.Position = UDim2.new(0.497999996, 0, 0.757000029, 0)
  2343.                 SliderFrame.Size = UDim2.new(0, 385, 0, 8)
  2344.  
  2345.                 SliderFrameCorner.Name = "SliderFrameCorner"
  2346.                 SliderFrameCorner.Parent = SliderFrame
  2347.  
  2348.                 CurrentValueFrame.Name = "CurrentValueFrame"
  2349.                 CurrentValueFrame.Parent = SliderFrame
  2350.                 CurrentValueFrame.BackgroundColor3 = Color3.fromRGB(114, 137, 218)
  2351.                 CurrentValueFrame.Size = UDim2.new((start or 0) / max, 0, 0, 8)
  2352.  
  2353.                 CurrentValueFrameCorner.Name = "CurrentValueFrameCorner"
  2354.                 CurrentValueFrameCorner.Parent = CurrentValueFrame
  2355.  
  2356.                 Zip.Name = "Zip"
  2357.                 Zip.Parent = SliderFrame
  2358.                 Zip.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2359.                 Zip.Position = UDim2.new((start or 0)/max, -6,-0.644999981, 0)
  2360.                 Zip.Size = UDim2.new(0, 10, 0, 18)
  2361.                 ZipCorner.CornerRadius = UDim.new(0, 3)
  2362.                 ZipCorner.Name = "ZipCorner"
  2363.                 ZipCorner.Parent = Zip
  2364.  
  2365.                 ValueBubble.Name = "ValueBubble"
  2366.                 ValueBubble.Parent = Zip
  2367.                 ValueBubble.AnchorPoint = Vector2.new(0.5, 0.5)
  2368.                 ValueBubble.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  2369.                 ValueBubble.Position = UDim2.new(0.5, 0, -1.00800002, 0)
  2370.                 ValueBubble.Size = UDim2.new(0, 36, 0, 21)
  2371.                 ValueBubble.Visible = false
  2372.  
  2373.  
  2374.                 Zip.MouseEnter:Connect(function()
  2375.                     if dragging == false then
  2376.                         ValueBubble.Visible = true
  2377.                     end
  2378.                 end)
  2379.  
  2380.                 Zip.MouseLeave:Connect(function()
  2381.                     if dragging == false then
  2382.                         ValueBubble.Visible = false
  2383.                     end
  2384.                 end)
  2385.  
  2386.  
  2387.                 ValueBubbleCorner.CornerRadius = UDim.new(0, 3)
  2388.                 ValueBubbleCorner.Name = "ValueBubbleCorner"
  2389.                 ValueBubbleCorner.Parent = ValueBubble
  2390.  
  2391.                 SquareBubble.Name = "SquareBubble"
  2392.                 SquareBubble.Parent = ValueBubble
  2393.                 SquareBubble.AnchorPoint = Vector2.new(0.5, 0.5)
  2394.                 SquareBubble.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  2395.                 SquareBubble.BorderSizePixel = 0
  2396.                 SquareBubble.Position = UDim2.new(0.493000001, 0, 0.637999971, 0)
  2397.                 SquareBubble.Rotation = 45.000
  2398.                 SquareBubble.Size = UDim2.new(0, 19, 0, 19)
  2399.  
  2400.                 GlowBubble.Name = "GlowBubble"
  2401.                 GlowBubble.Parent = ValueBubble
  2402.                 GlowBubble.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2403.                 GlowBubble.BackgroundTransparency = 1.000
  2404.                 GlowBubble.BorderSizePixel = 0
  2405.                 GlowBubble.Position = UDim2.new(0, -15, 0, -15)
  2406.                 GlowBubble.Size = UDim2.new(1, 30, 1, 30)
  2407.                 GlowBubble.ZIndex = 0
  2408.                 GlowBubble.Image = "rbxassetid://4996891970"
  2409.                 GlowBubble.ImageColor3 = Color3.fromRGB(15, 15, 15)
  2410.                 GlowBubble.ScaleType = Enum.ScaleType.Slice
  2411.                 GlowBubble.SliceCenter = Rect.new(20, 20, 280, 280)
  2412.  
  2413.                 ValueLabel.Name = "ValueLabel"
  2414.                 ValueLabel.Parent = ValueBubble
  2415.                 ValueLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2416.                 ValueLabel.BackgroundTransparency = 1.000
  2417.                 ValueLabel.Size = UDim2.new(0, 36, 0, 21)
  2418.                 ValueLabel.Font = Enum.Font.Gotham
  2419.                 ValueLabel.Text = tostring(start and math.floor((start / max) * (max - min) + min) or 0)
  2420.                 ValueLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  2421.                 ValueLabel.TextSize = 10.000
  2422.                 local function move(input)
  2423.                     local pos =
  2424.                         UDim2.new(
  2425.                             math.clamp((input.Position.X - SliderFrame.AbsolutePosition.X) / SliderFrame.AbsoluteSize.X, 0, 1),
  2426.                             -6,
  2427.                             -0.644999981,
  2428.                             0
  2429.                         )
  2430.                     local pos1 =
  2431.                         UDim2.new(
  2432.                             math.clamp((input.Position.X - SliderFrame.AbsolutePosition.X) / SliderFrame.AbsoluteSize.X, 0, 1),
  2433.                             0,
  2434.                             0,
  2435.                             8
  2436.                         )
  2437.                     CurrentValueFrame.Size = pos1
  2438.                     Zip.Position = pos
  2439.                     local value = math.floor(((pos.X.Scale * max) / max) * (max - min) + min)
  2440.                     ValueLabel.Text = tostring(value)
  2441.                     pcall(callback, value)
  2442.                 end
  2443.                 Zip.InputBegan:Connect(
  2444.                     function(input)
  2445.                         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  2446.                             dragging = true
  2447.                             ValueBubble.Visible = true
  2448.                         end
  2449.                     end
  2450.                 )
  2451.                 Zip.InputEnded:Connect(
  2452.                     function(input)
  2453.                         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  2454.                             dragging = false
  2455.                             ValueBubble.Visible = false
  2456.                         end
  2457.                     end
  2458.                 )
  2459.                 game:GetService("UserInputService").InputChanged:Connect(
  2460.                 function(input)
  2461.                     if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
  2462.                         move(input)
  2463.                     end
  2464.                 end
  2465.                 )
  2466.  
  2467.                 function SliderFunc:Change(tochange)
  2468.                     CurrentValueFrame.Size = UDim2.new((tochange or 0) / max, 0, 0, 8)
  2469.                     Zip.Position = UDim2.new((tochange or 0)/max, -6,-0.644999981, 0)
  2470.                     ValueLabel.Text = tostring(tochange and math.floor((tochange / max) * (max - min) + min) or 0)
  2471.                     pcall(callback, tochange)
  2472.                 end
  2473.  
  2474.                 ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2475.                 return SliderFunc
  2476.             end
  2477.             function ChannelContent:Seperator()
  2478.                 local Seperator1 = Instance.new("Frame")
  2479.                 local Seperator2 = Instance.new("Frame")
  2480.  
  2481.                 Seperator1.Name = "Seperator1"
  2482.                 Seperator1.Parent = ChannelHolder
  2483.                 Seperator1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2484.                 Seperator1.BackgroundTransparency = 1.000
  2485.                 Seperator1.Position = UDim2.new(0, 0, 0.350318581, 0)
  2486.                 Seperator1.Size = UDim2.new(0, 100, 0, 8)
  2487.  
  2488.                 Seperator2.Name = "Seperator2"
  2489.                 Seperator2.Parent = Seperator1
  2490.                 Seperator2.BackgroundColor3 = Color3.fromRGB(66, 69, 74)
  2491.                 Seperator2.BorderSizePixel = 0
  2492.                 Seperator2.Position = UDim2.new(0, 0, 0, 4)
  2493.                 Seperator2.Size = UDim2.new(0, 401, 0, 1)
  2494.                 ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2495.             end
  2496.             function ChannelContent:Dropdown(text, list, callback)
  2497.                 local DropFunc = {}
  2498.                 local itemcount = 0
  2499.                 local framesize = 0
  2500.                 local DropTog = false
  2501.                 local Dropdown = Instance.new("Frame")
  2502.                 local DropdownTitle = Instance.new("TextLabel")
  2503.                 local DropdownFrameOutline = Instance.new("Frame")
  2504.                 local DropdownFrameOutlineCorner = Instance.new("UICorner")
  2505.                 local DropdownFrame = Instance.new("Frame")
  2506.                 local DropdownFrameCorner = Instance.new("UICorner")
  2507.                 local CurrentSelectedText = Instance.new("TextLabel")
  2508.                 local ArrowImg = Instance.new("ImageLabel")
  2509.                 local DropdownFrameBtn = Instance.new("TextButton")
  2510.  
  2511.                 Dropdown.Name = "Dropdown"
  2512.                 Dropdown.Parent = ChannelHolder
  2513.                 Dropdown.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2514.                 Dropdown.BackgroundTransparency = 1.000
  2515.                 Dropdown.Position = UDim2.new(0.0796874985, 0, 0.445175439, 0)
  2516.                 Dropdown.Size = UDim2.new(0, 403, 0, 73)
  2517.  
  2518.                 DropdownTitle.Name = "DropdownTitle"
  2519.                 DropdownTitle.Parent = Dropdown
  2520.                 DropdownTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2521.                 DropdownTitle.BackgroundTransparency = 1.000
  2522.                 DropdownTitle.Position = UDim2.new(0, 5, 0, 0)
  2523.                 DropdownTitle.Size = UDim2.new(0, 200, 0, 29)
  2524.                 DropdownTitle.Font = Enum.Font.Gotham
  2525.                 DropdownTitle.Text = text
  2526.                 DropdownTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  2527.                 DropdownTitle.TextSize = 14.000
  2528.                 DropdownTitle.TextXAlignment = Enum.TextXAlignment.Left
  2529.  
  2530.                 DropdownFrameOutline.Name = "DropdownFrameOutline"
  2531.                 DropdownFrameOutline.Parent = DropdownTitle
  2532.                 DropdownFrameOutline.AnchorPoint = Vector2.new(0.5, 0.5)
  2533.                 DropdownFrameOutline.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
  2534.                 DropdownFrameOutline.Position = UDim2.new(0.988442957, 0, 1.6197437, 0)
  2535.                 DropdownFrameOutline.Size = UDim2.new(0, 396, 0, 36)
  2536.  
  2537.                 DropdownFrameOutlineCorner.CornerRadius = UDim.new(0, 3)
  2538.                 DropdownFrameOutlineCorner.Name = "DropdownFrameOutlineCorner"
  2539.                 DropdownFrameOutlineCorner.Parent = DropdownFrameOutline
  2540.  
  2541.                 DropdownFrame.Name = "DropdownFrame"
  2542.                 DropdownFrame.Parent = DropdownTitle
  2543.                 DropdownFrame.BackgroundColor3 = Color3.fromRGB(48, 51, 57)
  2544.                 DropdownFrame.ClipsDescendants = true
  2545.                 DropdownFrame.Position = UDim2.new(0.00999999978, 0, 1.06638527, 0)
  2546.                 DropdownFrame.Selectable = true
  2547.                 DropdownFrame.Size = UDim2.new(0, 392, 0, 32)
  2548.  
  2549.                 DropdownFrameCorner.CornerRadius = UDim.new(0, 3)
  2550.                 DropdownFrameCorner.Name = "DropdownFrameCorner"
  2551.                 DropdownFrameCorner.Parent = DropdownFrame
  2552.  
  2553.                 CurrentSelectedText.Name = "CurrentSelectedText"
  2554.                 CurrentSelectedText.Parent = DropdownFrame
  2555.                 CurrentSelectedText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2556.                 CurrentSelectedText.BackgroundTransparency = 1.000
  2557.                 CurrentSelectedText.Position = UDim2.new(0.0178571437, 0, 0, 0)
  2558.                 CurrentSelectedText.Size = UDim2.new(0, 193, 0, 32)
  2559.                 CurrentSelectedText.Font = Enum.Font.Gotham
  2560.                 CurrentSelectedText.Text = "..."
  2561.                 CurrentSelectedText.TextColor3 = Color3.fromRGB(212, 212, 212)
  2562.                 CurrentSelectedText.TextSize = 14.000
  2563.                 CurrentSelectedText.TextXAlignment = Enum.TextXAlignment.Left
  2564.  
  2565.                 ArrowImg.Name = "ArrowImg"
  2566.                 ArrowImg.Parent = CurrentSelectedText
  2567.                 ArrowImg.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2568.                 ArrowImg.BackgroundTransparency = 1.000
  2569.                 ArrowImg.Position = UDim2.new(1.84974098, 0, 0.167428851, 0)
  2570.                 ArrowImg.Size = UDim2.new(0, 22, 0, 22)
  2571.                 ArrowImg.Image = "http://www.roblox.com/asset/?id=6034818372"
  2572.                 ArrowImg.ImageColor3 = Color3.fromRGB(212, 212, 212)
  2573.  
  2574.                 DropdownFrameBtn.Name = "DropdownFrameBtn"
  2575.                 DropdownFrameBtn.Parent = DropdownFrame
  2576.                 DropdownFrameBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2577.                 DropdownFrameBtn.BackgroundTransparency = 1.000
  2578.                 DropdownFrameBtn.Size = UDim2.new(0, 392, 0, 32)
  2579.                 DropdownFrameBtn.Font = Enum.Font.SourceSans
  2580.                 DropdownFrameBtn.Text = ""
  2581.                 DropdownFrameBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  2582.                 DropdownFrameBtn.TextSize = 14.000
  2583.  
  2584.                 local DropdownFrameMainOutline = Instance.new("Frame")
  2585.                 local DropdownFrameMainOutlineCorner = Instance.new("UICorner")
  2586.                 local DropdownFrameMain = Instance.new("Frame")
  2587.                 local DropdownFrameMainCorner = Instance.new("UICorner")
  2588.                 local DropItemHolderLabel = Instance.new("TextLabel")
  2589.                 local DropItemHolder = Instance.new("ScrollingFrame")
  2590.                 local DropItemHolderLayout = Instance.new("UIListLayout")
  2591.  
  2592.                 DropdownFrameMainOutline.Name = "DropdownFrameMainOutline"
  2593.                 DropdownFrameMainOutline.Parent = DropdownTitle
  2594.                 DropdownFrameMainOutline.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
  2595.                 DropdownFrameMainOutline.Position = UDim2.new(-0.00155700743, 0, 2.16983342, 0)
  2596.                 DropdownFrameMainOutline.Size = UDim2.new(0, 396, 0, 81)
  2597.                 DropdownFrameMainOutline.Visible = false
  2598.  
  2599.                 DropdownFrameMainOutlineCorner.CornerRadius = UDim.new(0, 3)
  2600.                 DropdownFrameMainOutlineCorner.Name = "DropdownFrameMainOutlineCorner"
  2601.                 DropdownFrameMainOutlineCorner.Parent = DropdownFrameMainOutline
  2602.  
  2603.                 DropdownFrameMain.Name = "DropdownFrameMain"
  2604.                 DropdownFrameMain.Parent = DropdownTitle
  2605.                 DropdownFrameMain.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  2606.                 DropdownFrameMain.ClipsDescendants = true
  2607.                 DropdownFrameMain.Position = UDim2.new(0.00999999978, 0, 2.2568965, 0)
  2608.                 DropdownFrameMain.Selectable = true
  2609.                 DropdownFrameMain.Size = UDim2.new(0, 392, 0, 77)
  2610.                 DropdownFrameMain.Visible = false
  2611.  
  2612.                 DropdownFrameMainCorner.CornerRadius = UDim.new(0, 3)
  2613.                 DropdownFrameMainCorner.Name = "DropdownFrameMainCorner"
  2614.                 DropdownFrameMainCorner.Parent = DropdownFrameMain
  2615.  
  2616.                 DropItemHolderLabel.Name = "ItemHolderLabel"
  2617.                 DropItemHolderLabel.Parent = DropdownFrameMain
  2618.                 DropItemHolderLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2619.                 DropItemHolderLabel.BackgroundTransparency = 1.000
  2620.                 DropItemHolderLabel.Position = UDim2.new(0.0178571437, 0, 0, 0)
  2621.                 DropItemHolderLabel.Size = UDim2.new(0, 193, 0, 13)
  2622.                 DropItemHolderLabel.Font = Enum.Font.Gotham
  2623.                 DropItemHolderLabel.Text = ""
  2624.                 DropItemHolderLabel.TextColor3 = Color3.fromRGB(212, 212, 212)
  2625.                 DropItemHolderLabel.TextSize = 14.000
  2626.                 DropItemHolderLabel.TextXAlignment = Enum.TextXAlignment.Left
  2627.  
  2628.                 DropItemHolder.Name = "ItemHolder"
  2629.                 DropItemHolder.Parent = DropItemHolderLabel
  2630.                 DropItemHolder.Active = true
  2631.                 DropItemHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2632.                 DropItemHolder.BackgroundTransparency = 1.000
  2633.                 DropItemHolder.Position = UDim2.new(0, 0, 0.215384638, 0)
  2634.                 DropItemHolder.Size = UDim2.new(0, 385, 0, 0)
  2635.                 DropItemHolder.CanvasSize = UDim2.new(0, 0, 0, 0)
  2636.                 DropItemHolder.ScrollBarThickness = 6
  2637.                 DropItemHolder.BorderSizePixel = 0
  2638.                 DropItemHolder.ScrollBarImageColor3 = Color3.fromRGB(28, 29, 32)
  2639.  
  2640.                 DropItemHolderLayout.Name = "ItemHolderLayout"
  2641.                 DropItemHolderLayout.Parent = DropItemHolder
  2642.                 DropItemHolderLayout.SortOrder = Enum.SortOrder.LayoutOrder
  2643.                 DropItemHolderLayout.Padding = UDim.new(0, 0)
  2644.  
  2645.                 DropdownFrameBtn.MouseButton1Click:Connect(function()
  2646.                     if DropTog == false then
  2647.                         DropdownFrameMain.Visible = true
  2648.                         DropdownFrameMainOutline.Visible = true
  2649.                         Dropdown.Size = UDim2.new(0, 403, 0, 73 + DropdownFrameMainOutline.AbsoluteSize.Y)
  2650.                         ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2651.  
  2652.                     else
  2653.                         Dropdown.Size = UDim2.new(0, 403, 0, 73)
  2654.                         DropdownFrameMain.Visible = false
  2655.                         DropdownFrameMainOutline.Visible = false
  2656.                         ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2657.                     end
  2658.                     DropTog = not DropTog
  2659.                 end)
  2660.  
  2661.  
  2662.                 for i,v in next, list do
  2663.                     itemcount = itemcount + 1
  2664.  
  2665.                     if itemcount == 1 then
  2666.                         framesize = 29
  2667.                     elseif itemcount == 2 then
  2668.                         framesize = 58
  2669.                     elseif itemcount >= 3 then
  2670.                         framesize = 87
  2671.                     end
  2672.  
  2673.                     local Item = Instance.new("TextButton")
  2674.                     local ItemCorner = Instance.new("UICorner")
  2675.                     local ItemText = Instance.new("TextLabel")
  2676.  
  2677.                     Item.Name = "Item"
  2678.                     Item.Parent = DropItemHolder
  2679.                     Item.BackgroundColor3 = Color3.fromRGB(42, 44, 48)
  2680.                     Item.Size = UDim2.new(0, 379, 0, 29)
  2681.                     Item.AutoButtonColor = false
  2682.                     Item.Font = Enum.Font.SourceSans
  2683.                     Item.Text = ""
  2684.                     Item.TextColor3 = Color3.fromRGB(0, 0, 0)
  2685.                     Item.TextSize = 14.000
  2686.                     Item.BackgroundTransparency = 1
  2687.  
  2688.                     ItemCorner.CornerRadius = UDim.new(0, 4)
  2689.                     ItemCorner.Name = "ItemCorner"
  2690.                     ItemCorner.Parent = Item
  2691.  
  2692.                     ItemText.Name = "ItemText"
  2693.                     ItemText.Parent = Item
  2694.                     ItemText.BackgroundColor3 = Color3.fromRGB(42, 44, 48)
  2695.                     ItemText.BackgroundTransparency = 1.000
  2696.                     ItemText.Position = UDim2.new(0.0211081803, 0, 0, 0)
  2697.                     ItemText.Size = UDim2.new(0, 192, 0, 29)
  2698.                     ItemText.Font = Enum.Font.Gotham
  2699.                     ItemText.TextColor3 = Color3.fromRGB(212, 212, 212)
  2700.                     ItemText.TextSize = 14.000
  2701.                     ItemText.TextXAlignment = Enum.TextXAlignment.Left
  2702.                     ItemText.Text = v
  2703.  
  2704.                     Item.MouseEnter:Connect(function()
  2705.                         ItemText.TextColor3 = Color3.fromRGB(255,255,255)
  2706.                         Item.BackgroundTransparency = 0
  2707.                     end)
  2708.  
  2709.                     Item.MouseLeave:Connect(function()
  2710.                         ItemText.TextColor3 = Color3.fromRGB(212, 212, 212)
  2711.                         Item.BackgroundTransparency = 1
  2712.                     end)
  2713.  
  2714.                     Item.MouseButton1Click:Connect(function()
  2715.                         CurrentSelectedText.Text = v
  2716.                         pcall(callback, v)
  2717.                         Dropdown.Size = UDim2.new(0, 403, 0, 73)
  2718.                         DropdownFrameMain.Visible = false
  2719.                         DropdownFrameMainOutline.Visible = false
  2720.                         ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2721.                         DropTog = not DropTog
  2722.                     end)
  2723.  
  2724.                     DropItemHolder.CanvasSize = UDim2.new(0,0,0,DropItemHolderLayout.AbsoluteContentSize.Y)
  2725.  
  2726.                     DropItemHolder.Size = UDim2.new(0, 385, 0, framesize)
  2727.                     DropdownFrameMain.Size = UDim2.new(0, 392, 0, framesize + 6)
  2728.                     DropdownFrameMainOutline.Size = UDim2.new(0, 396, 0, framesize + 10)
  2729.                 end
  2730.  
  2731.                 ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2732.  
  2733.                 function DropFunc:Clear()
  2734.                     for i,v in next, DropItemHolder:GetChildren() do
  2735.                         if v.Name == "Item" then
  2736.                             v:Destroy()
  2737.                         end
  2738.                     end                    
  2739.  
  2740.                     CurrentSelectedText.Text = "..."
  2741.  
  2742.                     itemcount = 0
  2743.                     framesize = 0
  2744.                     DropItemHolder.Size = UDim2.new(0, 385, 0, 0)
  2745.                     DropdownFrameMain.Size = UDim2.new(0, 392, 0, 0)
  2746.                     DropdownFrameMainOutline.Size = UDim2.new(0, 396, 0, 0)
  2747.                     Dropdown.Size = UDim2.new(0, 403, 0, 73)
  2748.                     DropdownFrameMain.Visible = false
  2749.                     DropdownFrameMainOutline.Visible = false
  2750.                     ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2751.                 end
  2752.  
  2753.                 function DropFunc:Add(textadd)
  2754.                     itemcount = itemcount + 1
  2755.  
  2756.                     if itemcount == 1 then
  2757.                         framesize = 29
  2758.                     elseif itemcount == 2 then
  2759.                         framesize = 58
  2760.                     elseif itemcount >= 3 then
  2761.                         framesize = 87
  2762.                     end
  2763.  
  2764.                     local Item = Instance.new("TextButton")
  2765.                     local ItemCorner = Instance.new("UICorner")
  2766.                     local ItemText = Instance.new("TextLabel")
  2767.  
  2768.                     Item.Name = "Item"
  2769.                     Item.Parent = DropItemHolder
  2770.                     Item.BackgroundColor3 = Color3.fromRGB(42, 44, 48)
  2771.                     Item.Size = UDim2.new(0, 379, 0, 29)
  2772.                     Item.AutoButtonColor = false
  2773.                     Item.Font = Enum.Font.SourceSans
  2774.                     Item.Text = ""
  2775.                     Item.TextColor3 = Color3.fromRGB(0, 0, 0)
  2776.                     Item.TextSize = 14.000
  2777.                     Item.BackgroundTransparency = 1
  2778.  
  2779.                     ItemCorner.CornerRadius = UDim.new(0, 4)
  2780.                     ItemCorner.Name = "ItemCorner"
  2781.                     ItemCorner.Parent = Item
  2782.  
  2783.                     ItemText.Name = "ItemText"
  2784.                     ItemText.Parent = Item
  2785.                     ItemText.BackgroundColor3 = Color3.fromRGB(42, 44, 48)
  2786.                     ItemText.BackgroundTransparency = 1.000
  2787.                     ItemText.Position = UDim2.new(0.0211081803, 0, 0, 0)
  2788.                     ItemText.Size = UDim2.new(0, 192, 0, 29)
  2789.                     ItemText.Font = Enum.Font.Gotham
  2790.                     ItemText.TextColor3 = Color3.fromRGB(212, 212, 212)
  2791.                     ItemText.TextSize = 14.000
  2792.                     ItemText.TextXAlignment = Enum.TextXAlignment.Left
  2793.                     ItemText.Text = textadd
  2794.  
  2795.                     Item.MouseEnter:Connect(function()
  2796.                         ItemText.TextColor3 = Color3.fromRGB(255,255,255)
  2797.                         Item.BackgroundTransparency = 0
  2798.                     end)
  2799.  
  2800.                     Item.MouseLeave:Connect(function()
  2801.                         ItemText.TextColor3 = Color3.fromRGB(212, 212, 212)
  2802.                         Item.BackgroundTransparency = 1
  2803.                     end)
  2804.  
  2805.                     Item.MouseButton1Click:Connect(function()
  2806.                         CurrentSelectedText.Text = textadd
  2807.                         pcall(callback, textadd)
  2808.                         Dropdown.Size = UDim2.new(0, 403, 0, 73)
  2809.                         DropdownFrameMain.Visible = false
  2810.                         DropdownFrameMainOutline.Visible = false
  2811.                         ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2812.                         DropTog = not DropTog
  2813.                     end)
  2814.  
  2815.                     DropItemHolder.CanvasSize = UDim2.new(0,0,0,DropItemHolderLayout.AbsoluteContentSize.Y)
  2816.  
  2817.                     DropItemHolder.Size = UDim2.new(0, 385, 0, framesize)
  2818.                     DropdownFrameMain.Size = UDim2.new(0, 392, 0, framesize + 6)
  2819.                     DropdownFrameMainOutline.Size = UDim2.new(0, 396, 0, framesize + 10)
  2820.                 end
  2821.                 return DropFunc
  2822.             end
  2823.             function ChannelContent:Colorpicker(text, preset, callback)
  2824.                 local OldToggleColor = Color3.fromRGB(0, 0, 0)
  2825.                 local OldColor = Color3.fromRGB(0, 0, 0)
  2826.                 local OldColorSelectionPosition = nil
  2827.                 local OldHueSelectionPosition = nil
  2828.                 local ColorH, ColorS, ColorV = 1, 1, 1
  2829.                 local RainbowColorPicker = false
  2830.                 local ColorPickerInput = nil
  2831.                 local ColorInput = nil
  2832.                 local HueInput = nil
  2833.  
  2834.                 local Colorpicker = Instance.new("Frame")
  2835.                 local ColorpickerTitle = Instance.new("TextLabel")
  2836.                 local ColorpickerFrameOutline = Instance.new("Frame")
  2837.                 local ColorpickerFrameOutlineCorner = Instance.new("UICorner")
  2838.                 local ColorpickerFrame = Instance.new("Frame")
  2839.                 local ColorpickerFrameCorner = Instance.new("UICorner")
  2840.                 local Color = Instance.new("ImageLabel")
  2841.                 local ColorCorner = Instance.new("UICorner")
  2842.                 local ColorSelection = Instance.new("ImageLabel")
  2843.                 local Hue = Instance.new("ImageLabel")
  2844.                 local HueCorner = Instance.new("UICorner")
  2845.                 local HueGradient = Instance.new("UIGradient")
  2846.                 local HueSelection = Instance.new("ImageLabel")
  2847.                 local PresetClr = Instance.new("Frame")
  2848.                 local PresetClrCorner = Instance.new("UICorner")
  2849.  
  2850.                 Colorpicker.Name = "Colorpicker"
  2851.                 Colorpicker.Parent = ChannelHolder
  2852.                 Colorpicker.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2853.                 Colorpicker.BackgroundTransparency = 1.000
  2854.                 Colorpicker.Position = UDim2.new(0.0895741582, 0, 0.474232763, 0)
  2855.                 Colorpicker.Size = UDim2.new(0, 403, 0, 175)
  2856.  
  2857.                 ColorpickerTitle.Name = "ColorpickerTitle"
  2858.                 ColorpickerTitle.Parent = Colorpicker
  2859.                 ColorpickerTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2860.                 ColorpickerTitle.BackgroundTransparency = 1.000
  2861.                 ColorpickerTitle.Position = UDim2.new(0, 5, 0, 0)
  2862.                 ColorpickerTitle.Size = UDim2.new(0, 200, 0, 29)
  2863.                 ColorpickerTitle.Font = Enum.Font.Gotham
  2864.                 ColorpickerTitle.Text = "Colorpicker"
  2865.                 ColorpickerTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  2866.                 ColorpickerTitle.TextSize = 14.000
  2867.                 ColorpickerTitle.TextXAlignment = Enum.TextXAlignment.Left
  2868.  
  2869.                 ColorpickerFrameOutline.Name = "ColorpickerFrameOutline"
  2870.                 ColorpickerFrameOutline.Parent = ColorpickerTitle
  2871.                 ColorpickerFrameOutline.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
  2872.                 ColorpickerFrameOutline.Position = UDim2.new(-0.00100000005, 0, 0.991999984, 0)
  2873.                 ColorpickerFrameOutline.Size = UDim2.new(0, 238, 0, 139)
  2874.  
  2875.                 ColorpickerFrameOutlineCorner.CornerRadius = UDim.new(0, 3)
  2876.                 ColorpickerFrameOutlineCorner.Name = "ColorpickerFrameOutlineCorner"
  2877.                 ColorpickerFrameOutlineCorner.Parent = ColorpickerFrameOutline
  2878.  
  2879.                 ColorpickerFrame.Name = "ColorpickerFrame"
  2880.                 ColorpickerFrame.Parent = ColorpickerTitle
  2881.                 ColorpickerFrame.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  2882.                 ColorpickerFrame.ClipsDescendants = true
  2883.                 ColorpickerFrame.Position = UDim2.new(0.00999999978, 0, 1.06638515, 0)
  2884.                 ColorpickerFrame.Selectable = true
  2885.                 ColorpickerFrame.Size = UDim2.new(0, 234, 0, 135)
  2886.  
  2887.                 ColorpickerFrameCorner.CornerRadius = UDim.new(0, 3)
  2888.                 ColorpickerFrameCorner.Name = "ColorpickerFrameCorner"
  2889.                 ColorpickerFrameCorner.Parent = ColorpickerFrame
  2890.  
  2891.                 Color.Name = "Color"
  2892.                 Color.Parent = ColorpickerFrame
  2893.                 Color.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  2894.                 Color.Position = UDim2.new(0, 10, 0, 10)
  2895.                 Color.Size = UDim2.new(0, 154, 0, 118)
  2896.                 Color.ZIndex = 10
  2897.                 Color.Image = "rbxassetid://4155801252"
  2898.  
  2899.                 ColorCorner.CornerRadius = UDim.new(0, 3)
  2900.                 ColorCorner.Name = "ColorCorner"
  2901.                 ColorCorner.Parent = Color
  2902.  
  2903.                 ColorSelection.Name = "ColorSelection"
  2904.                 ColorSelection.Parent = Color
  2905.                 ColorSelection.AnchorPoint = Vector2.new(0.5, 0.5)
  2906.                 ColorSelection.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2907.                 ColorSelection.BackgroundTransparency = 1.000
  2908.                 ColorSelection.Position = UDim2.new(preset and select(3, Color3.toHSV(preset)))
  2909.                 ColorSelection.Size = UDim2.new(0, 18, 0, 18)
  2910.                 ColorSelection.Image = "http://www.roblox.com/asset/?id=4805639000"
  2911.                 ColorSelection.ScaleType = Enum.ScaleType.Fit
  2912.  
  2913.                 Hue.Name = "Hue"
  2914.                 Hue.Parent = ColorpickerFrame
  2915.                 Hue.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2916.                 Hue.Position = UDim2.new(0, 171, 0, 10)
  2917.                 Hue.Size = UDim2.new(0, 18, 0, 118)
  2918.  
  2919.                 HueCorner.CornerRadius = UDim.new(0, 3)
  2920.                 HueCorner.Name = "HueCorner"
  2921.                 HueCorner.Parent = Hue
  2922.  
  2923.                 HueGradient.Color = ColorSequence.new {
  2924.                     ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 4)),
  2925.                     ColorSequenceKeypoint.new(0.20, Color3.fromRGB(234, 255, 0)),
  2926.                     ColorSequenceKeypoint.new(0.40, Color3.fromRGB(21, 255, 0)),
  2927.                     ColorSequenceKeypoint.new(0.60, Color3.fromRGB(0, 255, 255)),
  2928.                     ColorSequenceKeypoint.new(0.80, Color3.fromRGB(0, 17, 255)),
  2929.                     ColorSequenceKeypoint.new(0.90, Color3.fromRGB(255, 0, 251)),
  2930.                     ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 4))
  2931.                 }              
  2932.                 HueGradient.Rotation = 270
  2933.                 HueGradient.Name = "HueGradient"
  2934.                 HueGradient.Parent = Hue
  2935.  
  2936.                 HueSelection.Name = "HueSelection"
  2937.                 HueSelection.Parent = Hue
  2938.                 HueSelection.AnchorPoint = Vector2.new(0.5, 0.5)
  2939.                 HueSelection.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2940.                 HueSelection.BackgroundTransparency = 1.000
  2941.                 HueSelection.Position = UDim2.new(0.48, 0, 1 - select(1, Color3.toHSV(preset)))
  2942.                 HueSelection.Size = UDim2.new(0, 18, 0, 18)
  2943.                 HueSelection.Image = "http://www.roblox.com/asset/?id=4805639000"
  2944.  
  2945.                 PresetClr.Name = "PresetClr"
  2946.                 PresetClr.Parent = ColorpickerFrame
  2947.                 PresetClr.BackgroundColor3 = preset
  2948.                 PresetClr.Position = UDim2.new(0.846153855, 0, 0.0740740746, 0)
  2949.                 PresetClr.Size = UDim2.new(0, 25, 0, 25)
  2950.  
  2951.                 PresetClrCorner.CornerRadius = UDim.new(0, 3)
  2952.                 PresetClrCorner.Name = "PresetClrCorner"
  2953.                 PresetClrCorner.Parent = PresetClr
  2954.  
  2955.                 local function UpdateColorPicker(nope)
  2956.                     PresetClr.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
  2957.                     Color.BackgroundColor3 = Color3.fromHSV(ColorH, 1, 1)
  2958.  
  2959.                     pcall(callback, PresetClr.BackgroundColor3)
  2960.                 end
  2961.  
  2962.                 ColorH =
  2963.                     1 -
  2964.                     (math.clamp(HueSelection.AbsolutePosition.Y - Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) /
  2965.                         Hue.AbsoluteSize.Y)
  2966.                 ColorS =
  2967.                     (math.clamp(ColorSelection.AbsolutePosition.X - Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) /
  2968.                         Color.AbsoluteSize.X)
  2969.                 ColorV =
  2970.                     1 -
  2971.                     (math.clamp(ColorSelection.AbsolutePosition.Y - Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) /
  2972.                         Color.AbsoluteSize.Y)
  2973.  
  2974.                 PresetClr.BackgroundColor3 = preset
  2975.                 Color.BackgroundColor3 = preset
  2976.                 pcall(callback, PresetClr.BackgroundColor3)
  2977.  
  2978.                 Color.InputBegan:Connect(
  2979.                     function(input)
  2980.                         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  2981.  
  2982.                             if ColorInput then
  2983.                                 ColorInput:Disconnect()
  2984.                             end
  2985.  
  2986.                             ColorInput =
  2987.                                 RunService.RenderStepped:Connect(
  2988.                                     function()
  2989.                                     local ColorX =
  2990.                                         (math.clamp(Mouse.X - Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) /
  2991.                                             Color.AbsoluteSize.X)
  2992.                                     local ColorY =
  2993.                                         (math.clamp(Mouse.Y - Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) /
  2994.                                             Color.AbsoluteSize.Y)
  2995.  
  2996.                                     ColorSelection.Position = UDim2.new(ColorX, 0, ColorY, 0)
  2997.                                     ColorS = ColorX
  2998.                                     ColorV = 1 - ColorY
  2999.  
  3000.                                     UpdateColorPicker(true)
  3001.                                 end
  3002.                                 )
  3003.                         end
  3004.                     end
  3005.                 )
  3006.  
  3007.                 Color.InputEnded:Connect(
  3008.                     function(input)
  3009.                         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3010.                             if ColorInput then
  3011.                                 ColorInput:Disconnect()
  3012.                             end
  3013.                         end
  3014.                     end
  3015.                 )
  3016.  
  3017.                 Hue.InputBegan:Connect(
  3018.                     function(input)
  3019.                         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3020.  
  3021.  
  3022.                             if HueInput then
  3023.                                 HueInput:Disconnect()
  3024.                             end
  3025.  
  3026.                             HueInput =
  3027.                                 RunService.RenderStepped:Connect(
  3028.                                     function()
  3029.                                     local HueY =
  3030.                                         (math.clamp(Mouse.Y - Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) /
  3031.                                             Hue.AbsoluteSize.Y)
  3032.  
  3033.                                     HueSelection.Position = UDim2.new(0.48, 0, HueY, 0)
  3034.                                     ColorH = 1 - HueY
  3035.  
  3036.                                     UpdateColorPicker(true)
  3037.                                 end
  3038.                                 )
  3039.                         end
  3040.                     end
  3041.                 )
  3042.  
  3043.                 Hue.InputEnded:Connect(
  3044.                     function(input)
  3045.                         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3046.                             if HueInput then
  3047.                                 HueInput:Disconnect()
  3048.                             end
  3049.                         end
  3050.                     end
  3051.                 )
  3052.  
  3053.                 ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  3054.             end
  3055.  
  3056.             function ChannelContent:Textbox(text, placetext, disapper, callback)
  3057.                 local Textbox = Instance.new("Frame")
  3058.                 local TextboxTitle = Instance.new("TextLabel")
  3059.                 local TextboxFrameOutline = Instance.new("Frame")
  3060.                 local TextboxFrameOutlineCorner = Instance.new("UICorner")
  3061.                 local TextboxFrame = Instance.new("Frame")
  3062.                 local TextboxFrameCorner = Instance.new("UICorner")
  3063.                 local TextBox = Instance.new("TextBox")
  3064.  
  3065.                 Textbox.Name = "Textbox"
  3066.                 Textbox.Parent = ChannelHolder
  3067.                 Textbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3068.                 Textbox.BackgroundTransparency = 1.000
  3069.                 Textbox.Position = UDim2.new(0.0796874985, 0, 0.445175439, 0)
  3070.                 Textbox.Size = UDim2.new(0, 403, 0, 73)
  3071.  
  3072.                 TextboxTitle.Name = "TextboxTitle"
  3073.                 TextboxTitle.Parent = Textbox
  3074.                 TextboxTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3075.                 TextboxTitle.BackgroundTransparency = 1.000
  3076.                 TextboxTitle.Position = UDim2.new(0, 5, 0, 0)
  3077.                 TextboxTitle.Size = UDim2.new(0, 200, 0, 29)
  3078.                 TextboxTitle.Font = Enum.Font.Gotham
  3079.                 TextboxTitle.Text = text
  3080.                 TextboxTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  3081.                 TextboxTitle.TextSize = 14.000
  3082.                 TextboxTitle.TextXAlignment = Enum.TextXAlignment.Left
  3083.  
  3084.                 TextboxFrameOutline.Name = "TextboxFrameOutline"
  3085.                 TextboxFrameOutline.Parent = TextboxTitle
  3086.                 TextboxFrameOutline.AnchorPoint = Vector2.new(0.5, 0.5)
  3087.                 TextboxFrameOutline.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
  3088.                 TextboxFrameOutline.Position = UDim2.new(0.988442957, 0, 1.6197437, 0)
  3089.                 TextboxFrameOutline.Size = UDim2.new(0, 396, 0, 36)
  3090.  
  3091.                 TextboxFrameOutlineCorner.CornerRadius = UDim.new(0, 3)
  3092.                 TextboxFrameOutlineCorner.Name = "TextboxFrameOutlineCorner"
  3093.                 TextboxFrameOutlineCorner.Parent = TextboxFrameOutline
  3094.  
  3095.                 TextboxFrame.Name = "TextboxFrame"
  3096.                 TextboxFrame.Parent = TextboxTitle
  3097.                 TextboxFrame.BackgroundColor3 = Color3.fromRGB(48, 51, 57)
  3098.                 TextboxFrame.ClipsDescendants = true
  3099.                 TextboxFrame.Position = UDim2.new(0.00999999978, 0, 1.06638527, 0)
  3100.                 TextboxFrame.Selectable = true
  3101.                 TextboxFrame.Size = UDim2.new(0, 392, 0, 32)
  3102.  
  3103.                 TextboxFrameCorner.CornerRadius = UDim.new(0, 3)
  3104.                 TextboxFrameCorner.Name = "TextboxFrameCorner"
  3105.                 TextboxFrameCorner.Parent = TextboxFrame
  3106.  
  3107.                 TextBox.Parent = TextboxFrame
  3108.                 TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3109.                 TextBox.BackgroundTransparency = 1.000
  3110.                 TextBox.Position = UDim2.new(0.0178571437, 0, 0, 0)
  3111.                 TextBox.Size = UDim2.new(0, 377, 0, 32)
  3112.                 TextBox.Font = Enum.Font.Gotham
  3113.                 TextBox.PlaceholderColor3 = Color3.fromRGB(91, 95, 101)
  3114.                 TextBox.PlaceholderText = placetext
  3115.                 TextBox.Text = ""
  3116.                 TextBox.TextColor3 = Color3.fromRGB(193, 195, 197)
  3117.                 TextBox.TextSize = 14.000
  3118.                 TextBox.TextXAlignment = Enum.TextXAlignment.Left
  3119.  
  3120.                 TextBox.Focused:Connect(function()
  3121.                     TweenService:Create(
  3122.                         TextboxFrameOutline,
  3123.                         TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  3124.                         {BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
  3125.                     ):Play()
  3126.                 end)
  3127.  
  3128.                 TextBox.FocusLost:Connect(function(ep)
  3129.                     TweenService:Create(
  3130.                         TextboxFrameOutline,
  3131.                         TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  3132.                         {BackgroundColor3 = Color3.fromRGB(37, 40, 43)}
  3133.                     ):Play()
  3134.                     if ep then
  3135.                         if #TextBox.Text > 0 then
  3136.                             pcall(callback, TextBox.Text)
  3137.                             if disapper then
  3138.                                 TextBox.Text = ""
  3139.                             end
  3140.                         end
  3141.                     end
  3142.                 end)
  3143.  
  3144.                 ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  3145.             end
  3146.  
  3147.             function ChannelContent:Label(text)
  3148.                 local Label = Instance.new("TextButton")
  3149.                 local LabelTitle = Instance.new("TextLabel")
  3150.  
  3151.                 Label.Name = "Label"
  3152.                 Label.Parent = ChannelHolder
  3153.                 Label.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  3154.                 Label.BorderSizePixel = 0
  3155.                 Label.Position = UDim2.new(0.261979163, 0, 0.190789461, 0)
  3156.                 Label.Size = UDim2.new(0, 401, 0, 30)
  3157.                 Label.AutoButtonColor = false
  3158.                 Label.Font = Enum.Font.Gotham
  3159.                 Label.Text = ""
  3160.                 Label.TextColor3 = Color3.fromRGB(255, 255, 255)
  3161.                 Label.TextSize = 14.000
  3162.  
  3163.                 LabelTitle.Name = "LabelTitle"
  3164.                 LabelTitle.Parent = Label
  3165.                 LabelTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3166.                 LabelTitle.BackgroundTransparency = 1.000
  3167.                 LabelTitle.Position = UDim2.new(0, 5, 0, 0)
  3168.                 LabelTitle.Size = UDim2.new(0, 200, 0, 30)
  3169.                 LabelTitle.Font = Enum.Font.Gotham
  3170.                 LabelTitle.Text = text
  3171.                 LabelTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  3172.                 LabelTitle.TextSize = 14.000
  3173.                 LabelTitle.TextXAlignment = Enum.TextXAlignment.Left
  3174.  
  3175.                 ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  3176.                 return Label
  3177.             end
  3178.  
  3179.             function ChannelContent:Bind(text, presetbind, callback)
  3180.                 local Key = presetbind.Name
  3181.                 local Keybind = Instance.new("TextButton")
  3182.                 local KeybindTitle = Instance.new("TextLabel")
  3183.                 local KeybindText = Instance.new("TextLabel")
  3184.  
  3185.                 Keybind.Name = "Keybind"
  3186.                 Keybind.Parent = ChannelHolder
  3187.                 Keybind.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  3188.                 Keybind.BorderSizePixel = 0
  3189.                 Keybind.Position = UDim2.new(0.261979163, 0, 0.190789461, 0)
  3190.                 Keybind.Size = UDim2.new(0, 401, 0, 30)
  3191.                 Keybind.AutoButtonColor = false
  3192.                 Keybind.Font = Enum.Font.Gotham
  3193.                 Keybind.Text = ""
  3194.                 Keybind.TextColor3 = Color3.fromRGB(255, 255, 255)
  3195.                 Keybind.TextSize = 14.000
  3196.  
  3197.                 KeybindTitle.Name = "KeybindTitle"
  3198.                 KeybindTitle.Parent = Keybind
  3199.                 KeybindTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3200.                 KeybindTitle.BackgroundTransparency = 1.000
  3201.                 KeybindTitle.Position = UDim2.new(0, 5, 0, 0)
  3202.                 KeybindTitle.Size = UDim2.new(0, 200, 0, 30)
  3203.                 KeybindTitle.Font = Enum.Font.Gotham
  3204.                 KeybindTitle.Text = text
  3205.                 KeybindTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  3206.                 KeybindTitle.TextSize = 14.000
  3207.                 KeybindTitle.TextXAlignment = Enum.TextXAlignment.Left
  3208.  
  3209.                 KeybindText.Name = "KeybindText"
  3210.                 KeybindText.Parent = Keybind
  3211.                 KeybindText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3212.                 KeybindText.BackgroundTransparency = 1.000
  3213.                 KeybindText.Position = UDim2.new(0, 316, 0, 0)
  3214.                 KeybindText.Size = UDim2.new(0, 85, 0, 30)
  3215.                 KeybindText.Font = Enum.Font.Gotham
  3216.                 KeybindText.Text = presetbind.Name
  3217.                 KeybindText.TextColor3 = Color3.fromRGB(127, 131, 137)
  3218.                 KeybindText.TextSize = 14.000
  3219.                 KeybindText.TextXAlignment = Enum.TextXAlignment.Right
  3220.  
  3221.                 Keybind.MouseButton1Click:Connect(function()
  3222.                     KeybindText.Text = "..."
  3223.                     local inputwait = game:GetService("UserInputService").InputBegan:wait()
  3224.                     if inputwait.KeyCode.Name ~= "Unknown" then
  3225.                         KeybindText.Text = inputwait.KeyCode.Name
  3226.                         Key = inputwait.KeyCode.Name
  3227.                     end
  3228.                 end)
  3229.  
  3230.                 game:GetService("UserInputService").InputBegan:connect(function(current, pressed)
  3231.                     if not pressed then
  3232.                         if current.KeyCode.Name == Key then
  3233.                             pcall(callback)
  3234.                         end
  3235.                     end
  3236.                 end)
  3237.                 ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  3238.             end
  3239.  
  3240.             return ChannelContent
  3241.         end
  3242.  
  3243.         return ChannelHold
  3244.     end
  3245.     return ServerHold, MainFrame
  3246. end
  3247. return DiscordLib
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement