DeezBigNuts

Untitled

May 4th, 2023
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 120.81 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. end
  2173. function ChannelContent:Toggle(text,default,callback)
  2174. local toggled = false
  2175. local Toggle = Instance.new("TextButton")
  2176. local ToggleTitle = Instance.new("TextLabel")
  2177. local ToggleFrame = Instance.new("Frame")
  2178. local ToggleFrameCorner = Instance.new("UICorner")
  2179. local ToggleFrameCircle = Instance.new("Frame")
  2180. local ToggleFrameCircleCorner = Instance.new("UICorner")
  2181. local Icon = Instance.new("ImageLabel")
  2182.  
  2183. Toggle.Name = "Toggle"
  2184. Toggle.Parent = ChannelHolder
  2185. Toggle.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  2186. Toggle.BorderSizePixel = 0
  2187. Toggle.Position = UDim2.new(0.261979163, 0, 0.190789461, 0)
  2188. Toggle.Size = UDim2.new(0, 401, 0, 30)
  2189. Toggle.AutoButtonColor = false
  2190. Toggle.Font = Enum.Font.Gotham
  2191. Toggle.Text = ""
  2192. Toggle.TextColor3 = Color3.fromRGB(255, 255, 255)
  2193. Toggle.TextSize = 14.000
  2194.  
  2195. ToggleTitle.Name = "ToggleTitle"
  2196. ToggleTitle.Parent = Toggle
  2197. ToggleTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2198. ToggleTitle.BackgroundTransparency = 1.000
  2199. ToggleTitle.Position = UDim2.new(0, 5, 0, 0)
  2200. ToggleTitle.Size = UDim2.new(0, 200, 0, 30)
  2201. ToggleTitle.Font = Enum.Font.Gotham
  2202. ToggleTitle.Text = text
  2203. ToggleTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  2204. ToggleTitle.TextSize = 14.000
  2205. ToggleTitle.TextXAlignment = Enum.TextXAlignment.Left
  2206.  
  2207. ToggleFrame.Name = "ToggleFrame"
  2208. ToggleFrame.Parent = Toggle
  2209. ToggleFrame.BackgroundColor3 = Color3.fromRGB(114, 118, 125)
  2210. ToggleFrame.Position = UDim2.new(0.900481343, -5, 0.13300018, 0)
  2211. ToggleFrame.Size = UDim2.new(0, 40, 0, 21)
  2212.  
  2213. ToggleFrameCorner.CornerRadius = UDim.new(1, 8)
  2214. ToggleFrameCorner.Name = "ToggleFrameCorner"
  2215. ToggleFrameCorner.Parent = ToggleFrame
  2216.  
  2217. ToggleFrameCircle.Name = "ToggleFrameCircle"
  2218. ToggleFrameCircle.Parent = ToggleFrame
  2219. ToggleFrameCircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2220. ToggleFrameCircle.Position = UDim2.new(0.234999999, -5, 0.133000001, 0)
  2221. ToggleFrameCircle.Size = UDim2.new(0, 15, 0, 15)
  2222.  
  2223. ToggleFrameCircleCorner.CornerRadius = UDim.new(1, 0)
  2224. ToggleFrameCircleCorner.Name = "ToggleFrameCircleCorner"
  2225. ToggleFrameCircleCorner.Parent = ToggleFrameCircle
  2226.  
  2227. Icon.Name = "Icon"
  2228. Icon.Parent = ToggleFrameCircle
  2229. Icon.AnchorPoint = Vector2.new(0.5, 0.5)
  2230. Icon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2231. Icon.BackgroundTransparency = 1.000
  2232. Icon.BorderColor3 = Color3.fromRGB(27, 42, 53)
  2233. Icon.Position = UDim2.new(0, 8, 0, 8)
  2234. Icon.Size = UDim2.new(0, 13, 0, 13)
  2235. Icon.Image = "http://www.roblox.com/asset/?id=6035047409"
  2236. Icon.ImageColor3 = Color3.fromRGB(114, 118, 125)
  2237.  
  2238. Toggle.MouseButton1Click:Connect(function()
  2239. if toggled == false then
  2240. TweenService:Create(
  2241. Icon,
  2242. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2243. {ImageColor3 = Color3.fromRGB(67,181,129)}
  2244. ):Play()
  2245. TweenService:Create(
  2246. ToggleFrame,
  2247. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2248. {BackgroundColor3 = Color3.fromRGB(67,181,129)}
  2249. ):Play()
  2250. ToggleFrameCircle:TweenPosition(UDim2.new(0.655, -5, 0.133000001, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
  2251. TweenService:Create(
  2252. Icon,
  2253. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2254. {ImageTransparency = 1}
  2255. ):Play()
  2256. Icon.Image = "http://www.roblox.com/asset/?id=6023426926"
  2257. wait(.1)
  2258. TweenService:Create(
  2259. Icon,
  2260. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2261. {ImageTransparency = 0}
  2262. ):Play()
  2263. else
  2264. TweenService:Create(
  2265. Icon,
  2266. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2267. {ImageColor3 = Color3.fromRGB(114, 118, 125)}
  2268. ):Play()
  2269. TweenService:Create(
  2270. ToggleFrame,
  2271. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2272. {BackgroundColor3 = Color3.fromRGB(114, 118, 125)}
  2273. ):Play()
  2274. ToggleFrameCircle:TweenPosition(UDim2.new(0.234999999, -5, 0.133000001, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
  2275. TweenService:Create(
  2276. Icon,
  2277. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2278. {ImageTransparency = 1}
  2279. ):Play()
  2280. Icon.Image = "http://www.roblox.com/asset/?id=6035047409"
  2281. wait(.1)
  2282. TweenService:Create(
  2283. Icon,
  2284. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2285. {ImageTransparency = 0}
  2286. ):Play()
  2287. end
  2288. toggled = not toggled
  2289. pcall(callback, toggled)
  2290. end)
  2291.  
  2292. ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2293. end
  2294.  
  2295. function ChannelContent:Slider(text, min, max, start, callback)
  2296. local SliderFunc = {}
  2297. local dragging = false
  2298. local Slider = Instance.new("TextButton")
  2299. local SliderTitle = Instance.new("TextLabel")
  2300. local SliderFrame = Instance.new("Frame")
  2301. local SliderFrameCorner = Instance.new("UICorner")
  2302. local CurrentValueFrame = Instance.new("Frame")
  2303. local CurrentValueFrameCorner = Instance.new("UICorner")
  2304. local Zip = Instance.new("Frame")
  2305. local ZipCorner = Instance.new("UICorner")
  2306. local ValueBubble = Instance.new("Frame")
  2307. local ValueBubbleCorner = Instance.new("UICorner")
  2308. local SquareBubble = Instance.new("Frame")
  2309. local GlowBubble = Instance.new("ImageLabel")
  2310. local ValueLabel = Instance.new("TextLabel")
  2311.  
  2312.  
  2313. Slider.Name = "Slider"
  2314. Slider.Parent = ChannelHolder
  2315. Slider.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  2316. Slider.BorderSizePixel = 0
  2317. Slider.Position = UDim2.new(0, 0, 0.216560602, 0)
  2318. Slider.Size = UDim2.new(0, 401, 0, 38)
  2319. Slider.AutoButtonColor = false
  2320. Slider.Font = Enum.Font.Gotham
  2321. Slider.Text = ""
  2322. Slider.TextColor3 = Color3.fromRGB(255, 255, 255)
  2323. Slider.TextSize = 14.000
  2324.  
  2325. SliderTitle.Name = "SliderTitle"
  2326. SliderTitle.Parent = Slider
  2327. SliderTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2328. SliderTitle.BackgroundTransparency = 1.000
  2329. SliderTitle.Position = UDim2.new(0, 5, 0, -4)
  2330. SliderTitle.Size = UDim2.new(0, 200, 0, 27)
  2331. SliderTitle.Font = Enum.Font.Gotham
  2332. SliderTitle.Text = text
  2333. SliderTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  2334. SliderTitle.TextSize = 14.000
  2335. SliderTitle.TextXAlignment = Enum.TextXAlignment.Left
  2336.  
  2337. SliderFrame.Name = "SliderFrame"
  2338. SliderFrame.Parent = Slider
  2339. SliderFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  2340. SliderFrame.BackgroundColor3 = Color3.fromRGB(79, 84, 92)
  2341. SliderFrame.Position = UDim2.new(0.497999996, 0, 0.757000029, 0)
  2342. SliderFrame.Size = UDim2.new(0, 385, 0, 8)
  2343.  
  2344. SliderFrameCorner.Name = "SliderFrameCorner"
  2345. SliderFrameCorner.Parent = SliderFrame
  2346.  
  2347. CurrentValueFrame.Name = "CurrentValueFrame"
  2348. CurrentValueFrame.Parent = SliderFrame
  2349. CurrentValueFrame.BackgroundColor3 = Color3.fromRGB(114, 137, 218)
  2350. CurrentValueFrame.Size = UDim2.new((start or 0) / max, 0, 0, 8)
  2351.  
  2352. CurrentValueFrameCorner.Name = "CurrentValueFrameCorner"
  2353. CurrentValueFrameCorner.Parent = CurrentValueFrame
  2354.  
  2355. Zip.Name = "Zip"
  2356. Zip.Parent = SliderFrame
  2357. Zip.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2358. Zip.Position = UDim2.new((start or 0)/max, -6,-0.644999981, 0)
  2359. Zip.Size = UDim2.new(0, 10, 0, 18)
  2360. ZipCorner.CornerRadius = UDim.new(0, 3)
  2361. ZipCorner.Name = "ZipCorner"
  2362. ZipCorner.Parent = Zip
  2363.  
  2364. ValueBubble.Name = "ValueBubble"
  2365. ValueBubble.Parent = Zip
  2366. ValueBubble.AnchorPoint = Vector2.new(0.5, 0.5)
  2367. ValueBubble.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  2368. ValueBubble.Position = UDim2.new(0.5, 0, -1.00800002, 0)
  2369. ValueBubble.Size = UDim2.new(0, 36, 0, 21)
  2370. ValueBubble.Visible = false
  2371.  
  2372.  
  2373. Zip.MouseEnter:Connect(function()
  2374. if dragging == false then
  2375. ValueBubble.Visible = true
  2376. end
  2377. end)
  2378.  
  2379. Zip.MouseLeave:Connect(function()
  2380. if dragging == false then
  2381. ValueBubble.Visible = false
  2382. end
  2383. end)
  2384.  
  2385.  
  2386. ValueBubbleCorner.CornerRadius = UDim.new(0, 3)
  2387. ValueBubbleCorner.Name = "ValueBubbleCorner"
  2388. ValueBubbleCorner.Parent = ValueBubble
  2389.  
  2390. SquareBubble.Name = "SquareBubble"
  2391. SquareBubble.Parent = ValueBubble
  2392. SquareBubble.AnchorPoint = Vector2.new(0.5, 0.5)
  2393. SquareBubble.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  2394. SquareBubble.BorderSizePixel = 0
  2395. SquareBubble.Position = UDim2.new(0.493000001, 0, 0.637999971, 0)
  2396. SquareBubble.Rotation = 45.000
  2397. SquareBubble.Size = UDim2.new(0, 19, 0, 19)
  2398.  
  2399. GlowBubble.Name = "GlowBubble"
  2400. GlowBubble.Parent = ValueBubble
  2401. GlowBubble.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2402. GlowBubble.BackgroundTransparency = 1.000
  2403. GlowBubble.BorderSizePixel = 0
  2404. GlowBubble.Position = UDim2.new(0, -15, 0, -15)
  2405. GlowBubble.Size = UDim2.new(1, 30, 1, 30)
  2406. GlowBubble.ZIndex = 0
  2407. GlowBubble.Image = "rbxassetid://4996891970"
  2408. GlowBubble.ImageColor3 = Color3.fromRGB(15, 15, 15)
  2409. GlowBubble.ScaleType = Enum.ScaleType.Slice
  2410. GlowBubble.SliceCenter = Rect.new(20, 20, 280, 280)
  2411.  
  2412. ValueLabel.Name = "ValueLabel"
  2413. ValueLabel.Parent = ValueBubble
  2414. ValueLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2415. ValueLabel.BackgroundTransparency = 1.000
  2416. ValueLabel.Size = UDim2.new(0, 36, 0, 21)
  2417. ValueLabel.Font = Enum.Font.Gotham
  2418. ValueLabel.Text = tostring(start and math.floor((start / max) * (max - min) + min) or 0)
  2419. ValueLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  2420. ValueLabel.TextSize = 10.000
  2421. local function move(input)
  2422. local pos =
  2423. UDim2.new(
  2424. math.clamp((input.Position.X - SliderFrame.AbsolutePosition.X) / SliderFrame.AbsoluteSize.X, 0, 1),
  2425. -6,
  2426. -0.644999981,
  2427. 0
  2428. )
  2429. local pos1 =
  2430. UDim2.new(
  2431. math.clamp((input.Position.X - SliderFrame.AbsolutePosition.X) / SliderFrame.AbsoluteSize.X, 0, 1),
  2432. 0,
  2433. 0,
  2434. 8
  2435. )
  2436. CurrentValueFrame.Size = pos1
  2437. Zip.Position = pos
  2438. local value = math.floor(((pos.X.Scale * max) / max) * (max - min) + min)
  2439. ValueLabel.Text = tostring(value)
  2440. pcall(callback, value)
  2441. end
  2442. Zip.InputBegan:Connect(
  2443. function(input)
  2444. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  2445. dragging = true
  2446. ValueBubble.Visible = true
  2447. end
  2448. end
  2449. )
  2450. Zip.InputEnded:Connect(
  2451. function(input)
  2452. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  2453. dragging = false
  2454. ValueBubble.Visible = false
  2455. end
  2456. end
  2457. )
  2458. game:GetService("UserInputService").InputChanged:Connect(
  2459. function(input)
  2460. if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
  2461. move(input)
  2462. end
  2463. end
  2464. )
  2465.  
  2466. function SliderFunc:Change(tochange)
  2467. CurrentValueFrame.Size = UDim2.new((tochange or 0) / max, 0, 0, 8)
  2468. Zip.Position = UDim2.new((tochange or 0)/max, -6,-0.644999981, 0)
  2469. ValueLabel.Text = tostring(tochange and math.floor((tochange / max) * (max - min) + min) or 0)
  2470. pcall(callback, tochange)
  2471. end
  2472.  
  2473. ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2474. return SliderFunc
  2475. end
  2476. function ChannelContent:Seperator()
  2477. local Seperator1 = Instance.new("Frame")
  2478. local Seperator2 = Instance.new("Frame")
  2479.  
  2480. Seperator1.Name = "Seperator1"
  2481. Seperator1.Parent = ChannelHolder
  2482. Seperator1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2483. Seperator1.BackgroundTransparency = 1.000
  2484. Seperator1.Position = UDim2.new(0, 0, 0.350318581, 0)
  2485. Seperator1.Size = UDim2.new(0, 100, 0, 8)
  2486.  
  2487. Seperator2.Name = "Seperator2"
  2488. Seperator2.Parent = Seperator1
  2489. Seperator2.BackgroundColor3 = Color3.fromRGB(66, 69, 74)
  2490. Seperator2.BorderSizePixel = 0
  2491. Seperator2.Position = UDim2.new(0, 0, 0, 4)
  2492. Seperator2.Size = UDim2.new(0, 401, 0, 1)
  2493. ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2494. end
  2495. function ChannelContent:Dropdown(text, list, callback)
  2496. local DropFunc = {}
  2497. local itemcount = 0
  2498. local framesize = 0
  2499. local DropTog = false
  2500. local Dropdown = Instance.new("Frame")
  2501. local DropdownTitle = Instance.new("TextLabel")
  2502. local DropdownFrameOutline = Instance.new("Frame")
  2503. local DropdownFrameOutlineCorner = Instance.new("UICorner")
  2504. local DropdownFrame = Instance.new("Frame")
  2505. local DropdownFrameCorner = Instance.new("UICorner")
  2506. local CurrentSelectedText = Instance.new("TextLabel")
  2507. local ArrowImg = Instance.new("ImageLabel")
  2508. local DropdownFrameBtn = Instance.new("TextButton")
  2509.  
  2510. Dropdown.Name = "Dropdown"
  2511. Dropdown.Parent = ChannelHolder
  2512. Dropdown.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2513. Dropdown.BackgroundTransparency = 1.000
  2514. Dropdown.Position = UDim2.new(0.0796874985, 0, 0.445175439, 0)
  2515. Dropdown.Size = UDim2.new(0, 403, 0, 73)
  2516.  
  2517. DropdownTitle.Name = "DropdownTitle"
  2518. DropdownTitle.Parent = Dropdown
  2519. DropdownTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2520. DropdownTitle.BackgroundTransparency = 1.000
  2521. DropdownTitle.Position = UDim2.new(0, 5, 0, 0)
  2522. DropdownTitle.Size = UDim2.new(0, 200, 0, 29)
  2523. DropdownTitle.Font = Enum.Font.Gotham
  2524. DropdownTitle.Text = text
  2525. DropdownTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  2526. DropdownTitle.TextSize = 14.000
  2527. DropdownTitle.TextXAlignment = Enum.TextXAlignment.Left
  2528.  
  2529. DropdownFrameOutline.Name = "DropdownFrameOutline"
  2530. DropdownFrameOutline.Parent = DropdownTitle
  2531. DropdownFrameOutline.AnchorPoint = Vector2.new(0.5, 0.5)
  2532. DropdownFrameOutline.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
  2533. DropdownFrameOutline.Position = UDim2.new(0.988442957, 0, 1.6197437, 0)
  2534. DropdownFrameOutline.Size = UDim2.new(0, 396, 0, 36)
  2535.  
  2536. DropdownFrameOutlineCorner.CornerRadius = UDim.new(0, 3)
  2537. DropdownFrameOutlineCorner.Name = "DropdownFrameOutlineCorner"
  2538. DropdownFrameOutlineCorner.Parent = DropdownFrameOutline
  2539.  
  2540. DropdownFrame.Name = "DropdownFrame"
  2541. DropdownFrame.Parent = DropdownTitle
  2542. DropdownFrame.BackgroundColor3 = Color3.fromRGB(48, 51, 57)
  2543. DropdownFrame.ClipsDescendants = true
  2544. DropdownFrame.Position = UDim2.new(0.00999999978, 0, 1.06638527, 0)
  2545. DropdownFrame.Selectable = true
  2546. DropdownFrame.Size = UDim2.new(0, 392, 0, 32)
  2547.  
  2548. DropdownFrameCorner.CornerRadius = UDim.new(0, 3)
  2549. DropdownFrameCorner.Name = "DropdownFrameCorner"
  2550. DropdownFrameCorner.Parent = DropdownFrame
  2551.  
  2552. CurrentSelectedText.Name = "CurrentSelectedText"
  2553. CurrentSelectedText.Parent = DropdownFrame
  2554. CurrentSelectedText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2555. CurrentSelectedText.BackgroundTransparency = 1.000
  2556. CurrentSelectedText.Position = UDim2.new(0.0178571437, 0, 0, 0)
  2557. CurrentSelectedText.Size = UDim2.new(0, 193, 0, 32)
  2558. CurrentSelectedText.Font = Enum.Font.Gotham
  2559. CurrentSelectedText.Text = "..."
  2560. CurrentSelectedText.TextColor3 = Color3.fromRGB(212, 212, 212)
  2561. CurrentSelectedText.TextSize = 14.000
  2562. CurrentSelectedText.TextXAlignment = Enum.TextXAlignment.Left
  2563.  
  2564. ArrowImg.Name = "ArrowImg"
  2565. ArrowImg.Parent = CurrentSelectedText
  2566. ArrowImg.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2567. ArrowImg.BackgroundTransparency = 1.000
  2568. ArrowImg.Position = UDim2.new(1.84974098, 0, 0.167428851, 0)
  2569. ArrowImg.Size = UDim2.new(0, 22, 0, 22)
  2570. ArrowImg.Image = "http://www.roblox.com/asset/?id=6034818372"
  2571. ArrowImg.ImageColor3 = Color3.fromRGB(212, 212, 212)
  2572.  
  2573. DropdownFrameBtn.Name = "DropdownFrameBtn"
  2574. DropdownFrameBtn.Parent = DropdownFrame
  2575. DropdownFrameBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2576. DropdownFrameBtn.BackgroundTransparency = 1.000
  2577. DropdownFrameBtn.Size = UDim2.new(0, 392, 0, 32)
  2578. DropdownFrameBtn.Font = Enum.Font.SourceSans
  2579. DropdownFrameBtn.Text = ""
  2580. DropdownFrameBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  2581. DropdownFrameBtn.TextSize = 14.000
  2582.  
  2583. local DropdownFrameMainOutline = Instance.new("Frame")
  2584. local DropdownFrameMainOutlineCorner = Instance.new("UICorner")
  2585. local DropdownFrameMain = Instance.new("Frame")
  2586. local DropdownFrameMainCorner = Instance.new("UICorner")
  2587. local DropItemHolderLabel = Instance.new("TextLabel")
  2588. local DropItemHolder = Instance.new("ScrollingFrame")
  2589. local DropItemHolderLayout = Instance.new("UIListLayout")
  2590.  
  2591. DropdownFrameMainOutline.Name = "DropdownFrameMainOutline"
  2592. DropdownFrameMainOutline.Parent = DropdownTitle
  2593. DropdownFrameMainOutline.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
  2594. DropdownFrameMainOutline.Position = UDim2.new(-0.00155700743, 0, 2.16983342, 0)
  2595. DropdownFrameMainOutline.Size = UDim2.new(0, 396, 0, 81)
  2596. DropdownFrameMainOutline.Visible = false
  2597.  
  2598. DropdownFrameMainOutlineCorner.CornerRadius = UDim.new(0, 3)
  2599. DropdownFrameMainOutlineCorner.Name = "DropdownFrameMainOutlineCorner"
  2600. DropdownFrameMainOutlineCorner.Parent = DropdownFrameMainOutline
  2601.  
  2602. DropdownFrameMain.Name = "DropdownFrameMain"
  2603. DropdownFrameMain.Parent = DropdownTitle
  2604. DropdownFrameMain.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
  2605. DropdownFrameMain.ClipsDescendants = true
  2606. DropdownFrameMain.Position = UDim2.new(0.00999999978, 0, 2.2568965, 0)
  2607. DropdownFrameMain.Selectable = true
  2608. DropdownFrameMain.Size = UDim2.new(0, 392, 0, 77)
  2609. DropdownFrameMain.Visible = false
  2610.  
  2611. DropdownFrameMainCorner.CornerRadius = UDim.new(0, 3)
  2612. DropdownFrameMainCorner.Name = "DropdownFrameMainCorner"
  2613. DropdownFrameMainCorner.Parent = DropdownFrameMain
  2614.  
  2615. DropItemHolderLabel.Name = "ItemHolderLabel"
  2616. DropItemHolderLabel.Parent = DropdownFrameMain
  2617. DropItemHolderLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2618. DropItemHolderLabel.BackgroundTransparency = 1.000
  2619. DropItemHolderLabel.Position = UDim2.new(0.0178571437, 0, 0, 0)
  2620. DropItemHolderLabel.Size = UDim2.new(0, 193, 0, 13)
  2621. DropItemHolderLabel.Font = Enum.Font.Gotham
  2622. DropItemHolderLabel.Text = ""
  2623. DropItemHolderLabel.TextColor3 = Color3.fromRGB(212, 212, 212)
  2624. DropItemHolderLabel.TextSize = 14.000
  2625. DropItemHolderLabel.TextXAlignment = Enum.TextXAlignment.Left
  2626.  
  2627. DropItemHolder.Name = "ItemHolder"
  2628. DropItemHolder.Parent = DropItemHolderLabel
  2629. DropItemHolder.Active = true
  2630. DropItemHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2631. DropItemHolder.BackgroundTransparency = 1.000
  2632. DropItemHolder.Position = UDim2.new(0, 0, 0.215384638, 0)
  2633. DropItemHolder.Size = UDim2.new(0, 385, 0, 0)
  2634. DropItemHolder.CanvasSize = UDim2.new(0, 0, 0, 0)
  2635. DropItemHolder.ScrollBarThickness = 6
  2636. DropItemHolder.BorderSizePixel = 0
  2637. DropItemHolder.ScrollBarImageColor3 = Color3.fromRGB(28, 29, 32)
  2638.  
  2639. DropItemHolderLayout.Name = "ItemHolderLayout"
  2640. DropItemHolderLayout.Parent = DropItemHolder
  2641. DropItemHolderLayout.SortOrder = Enum.SortOrder.LayoutOrder
  2642. DropItemHolderLayout.Padding = UDim.new(0, 0)
  2643.  
  2644. DropdownFrameBtn.MouseButton1Click:Connect(function()
  2645. if DropTog == false then
  2646. DropdownFrameMain.Visible = true
  2647. DropdownFrameMainOutline.Visible = true
  2648. Dropdown.Size = UDim2.new(0, 403, 0, 73 + DropdownFrameMainOutline.AbsoluteSize.Y)
  2649. ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2650.  
  2651. else
  2652. Dropdown.Size = UDim2.new(0, 403, 0, 73)
  2653. DropdownFrameMain.Visible = false
  2654. DropdownFrameMainOutline.Visible = false
  2655. ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2656. end
  2657. DropTog = not DropTog
  2658. end)
  2659.  
  2660.  
  2661. for i,v in next, list do
  2662. itemcount = itemcount + 1
  2663.  
  2664. if itemcount == 1 then
  2665. framesize = 29
  2666. elseif itemcount == 2 then
  2667. framesize = 58
  2668. elseif itemcount >= 3 then
  2669. framesize = 87
  2670. end
  2671.  
  2672. local Item = Instance.new("TextButton")
  2673. local ItemCorner = Instance.new("UICorner")
  2674. local ItemText = Instance.new("TextLabel")
  2675.  
  2676. Item.Name = "Item"
  2677. Item.Parent = DropItemHolder
  2678. Item.BackgroundColor3 = Color3.fromRGB(42, 44, 48)
  2679. Item.Size = UDim2.new(0, 379, 0, 29)
  2680. Item.AutoButtonColor = false
  2681. Item.Font = Enum.Font.SourceSans
  2682. Item.Text = ""
  2683. Item.TextColor3 = Color3.fromRGB(0, 0, 0)
  2684. Item.TextSize = 14.000
  2685. Item.BackgroundTransparency = 1
  2686.  
  2687. ItemCorner.CornerRadius = UDim.new(0, 4)
  2688. ItemCorner.Name = "ItemCorner"
  2689. ItemCorner.Parent = Item
  2690.  
  2691. ItemText.Name = "ItemText"
  2692. ItemText.Parent = Item
  2693. ItemText.BackgroundColor3 = Color3.fromRGB(42, 44, 48)
  2694. ItemText.BackgroundTransparency = 1.000
  2695. ItemText.Position = UDim2.new(0.0211081803, 0, 0, 0)
  2696. ItemText.Size = UDim2.new(0, 192, 0, 29)
  2697. ItemText.Font = Enum.Font.Gotham
  2698. ItemText.TextColor3 = Color3.fromRGB(212, 212, 212)
  2699. ItemText.TextSize = 14.000
  2700. ItemText.TextXAlignment = Enum.TextXAlignment.Left
  2701. ItemText.Text = v
  2702.  
  2703. Item.MouseEnter:Connect(function()
  2704. ItemText.TextColor3 = Color3.fromRGB(255,255,255)
  2705. Item.BackgroundTransparency = 0
  2706. end)
  2707.  
  2708. Item.MouseLeave:Connect(function()
  2709. ItemText.TextColor3 = Color3.fromRGB(212, 212, 212)
  2710. Item.BackgroundTransparency = 1
  2711. end)
  2712.  
  2713. Item.MouseButton1Click:Connect(function()
  2714. CurrentSelectedText.Text = v
  2715. pcall(callback, v)
  2716. Dropdown.Size = UDim2.new(0, 403, 0, 73)
  2717. DropdownFrameMain.Visible = false
  2718. DropdownFrameMainOutline.Visible = false
  2719. ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2720. DropTog = not DropTog
  2721. end)
  2722.  
  2723. DropItemHolder.CanvasSize = UDim2.new(0,0,0,DropItemHolderLayout.AbsoluteContentSize.Y)
  2724.  
  2725. DropItemHolder.Size = UDim2.new(0, 385, 0, framesize)
  2726. DropdownFrameMain.Size = UDim2.new(0, 392, 0, framesize + 6)
  2727. DropdownFrameMainOutline.Size = UDim2.new(0, 396, 0, framesize + 10)
  2728. end
  2729.  
  2730. ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2731.  
  2732. function DropFunc:Clear()
  2733. for i,v in next, DropItemHolder:GetChildren() do
  2734. if v.Name == "Item" then
  2735. v:Destroy()
  2736. end
  2737. end
  2738.  
  2739. CurrentSelectedText.Text = "..."
  2740.  
  2741. itemcount = 0
  2742. framesize = 0
  2743. DropItemHolder.Size = UDim2.new(0, 385, 0, 0)
  2744. DropdownFrameMain.Size = UDim2.new(0, 392, 0, 0)
  2745. DropdownFrameMainOutline.Size = UDim2.new(0, 396, 0, 0)
  2746. Dropdown.Size = UDim2.new(0, 403, 0, 73)
  2747. DropdownFrameMain.Visible = false
  2748. DropdownFrameMainOutline.Visible = false
  2749. ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2750. end
  2751.  
  2752. function DropFunc:Add(textadd)
  2753. itemcount = itemcount + 1
  2754.  
  2755. if itemcount == 1 then
  2756. framesize = 29
  2757. elseif itemcount == 2 then
  2758. framesize = 58
  2759. elseif itemcount >= 3 then
  2760. framesize = 87
  2761. end
  2762.  
  2763. local Item = Instance.new("TextButton")
  2764. local ItemCorner = Instance.new("UICorner")
  2765. local ItemText = Instance.new("TextLabel")
  2766.  
  2767. Item.Name = "Item"
  2768. Item.Parent = DropItemHolder
  2769. Item.BackgroundColor3 = Color3.fromRGB(42, 44, 48)
  2770. Item.Size = UDim2.new(0, 379, 0, 29)
  2771. Item.AutoButtonColor = false
  2772. Item.Font = Enum.Font.SourceSans
  2773. Item.Text = ""
  2774. Item.TextColor3 = Color3.fromRGB(0, 0, 0)
  2775. Item.TextSize = 14.000
  2776. Item.BackgroundTransparency = 1
  2777.  
  2778. ItemCorner.CornerRadius = UDim.new(0, 4)
  2779. ItemCorner.Name = "ItemCorner"
  2780. ItemCorner.Parent = Item
  2781.  
  2782. ItemText.Name = "ItemText"
  2783. ItemText.Parent = Item
  2784. ItemText.BackgroundColor3 = Color3.fromRGB(42, 44, 48)
  2785. ItemText.BackgroundTransparency = 1.000
  2786. ItemText.Position = UDim2.new(0.0211081803, 0, 0, 0)
  2787. ItemText.Size = UDim2.new(0, 192, 0, 29)
  2788. ItemText.Font = Enum.Font.Gotham
  2789. ItemText.TextColor3 = Color3.fromRGB(212, 212, 212)
  2790. ItemText.TextSize = 14.000
  2791. ItemText.TextXAlignment = Enum.TextXAlignment.Left
  2792. ItemText.Text = textadd
  2793.  
  2794. Item.MouseEnter:Connect(function()
  2795. ItemText.TextColor3 = Color3.fromRGB(255,255,255)
  2796. Item.BackgroundTransparency = 0
  2797. end)
  2798.  
  2799. Item.MouseLeave:Connect(function()
  2800. ItemText.TextColor3 = Color3.fromRGB(212, 212, 212)
  2801. Item.BackgroundTransparency = 1
  2802. end)
  2803.  
  2804. Item.MouseButton1Click:Connect(function()
  2805. CurrentSelectedText.Text = textadd
  2806. pcall(callback, textadd)
  2807. Dropdown.Size = UDim2.new(0, 403, 0, 73)
  2808. DropdownFrameMain.Visible = false
  2809. DropdownFrameMainOutline.Visible = false
  2810. ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  2811. DropTog = not DropTog
  2812. end)
  2813.  
  2814. DropItemHolder.CanvasSize = UDim2.new(0,0,0,DropItemHolderLayout.AbsoluteContentSize.Y)
  2815.  
  2816. DropItemHolder.Size = UDim2.new(0, 385, 0, framesize)
  2817. DropdownFrameMain.Size = UDim2.new(0, 392, 0, framesize + 6)
  2818. DropdownFrameMainOutline.Size = UDim2.new(0, 396, 0, framesize + 10)
  2819. end
  2820. return DropFunc
  2821. end
  2822. function ChannelContent:Colorpicker(text, preset, callback)
  2823. local OldToggleColor = Color3.fromRGB(0, 0, 0)
  2824. local OldColor = Color3.fromRGB(0, 0, 0)
  2825. local OldColorSelectionPosition = nil
  2826. local OldHueSelectionPosition = nil
  2827. local ColorH, ColorS, ColorV = 1, 1, 1
  2828. local RainbowColorPicker = false
  2829. local ColorPickerInput = nil
  2830. local ColorInput = nil
  2831. local HueInput = nil
  2832.  
  2833. local Colorpicker = Instance.new("Frame")
  2834. local ColorpickerTitle = Instance.new("TextLabel")
  2835. local ColorpickerFrameOutline = Instance.new("Frame")
  2836. local ColorpickerFrameOutlineCorner = Instance.new("UICorner")
  2837. local ColorpickerFrame = Instance.new("Frame")
  2838. local ColorpickerFrameCorner = Instance.new("UICorner")
  2839. local Color = Instance.new("ImageLabel")
  2840. local ColorCorner = Instance.new("UICorner")
  2841. local ColorSelection = Instance.new("ImageLabel")
  2842. local Hue = Instance.new("ImageLabel")
  2843. local HueCorner = Instance.new("UICorner")
  2844. local HueGradient = Instance.new("UIGradient")
  2845. local HueSelection = Instance.new("ImageLabel")
  2846. local PresetClr = Instance.new("Frame")
  2847. local PresetClrCorner = Instance.new("UICorner")
  2848.  
  2849. Colorpicker.Name = "Colorpicker"
  2850. Colorpicker.Parent = ChannelHolder
  2851. Colorpicker.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2852. Colorpicker.BackgroundTransparency = 1.000
  2853. Colorpicker.Position = UDim2.new(0.0895741582, 0, 0.474232763, 0)
  2854. Colorpicker.Size = UDim2.new(0, 403, 0, 175)
  2855.  
  2856. ColorpickerTitle.Name = "ColorpickerTitle"
  2857. ColorpickerTitle.Parent = Colorpicker
  2858. ColorpickerTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2859. ColorpickerTitle.BackgroundTransparency = 1.000
  2860. ColorpickerTitle.Position = UDim2.new(0, 5, 0, 0)
  2861. ColorpickerTitle.Size = UDim2.new(0, 200, 0, 29)
  2862. ColorpickerTitle.Font = Enum.Font.Gotham
  2863. ColorpickerTitle.Text = "Colorpicker"
  2864. ColorpickerTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  2865. ColorpickerTitle.TextSize = 14.000
  2866. ColorpickerTitle.TextXAlignment = Enum.TextXAlignment.Left
  2867.  
  2868. ColorpickerFrameOutline.Name = "ColorpickerFrameOutline"
  2869. ColorpickerFrameOutline.Parent = ColorpickerTitle
  2870. ColorpickerFrameOutline.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
  2871. ColorpickerFrameOutline.Position = UDim2.new(-0.00100000005, 0, 0.991999984, 0)
  2872. ColorpickerFrameOutline.Size = UDim2.new(0, 238, 0, 139)
  2873.  
  2874. ColorpickerFrameOutlineCorner.CornerRadius = UDim.new(0, 3)
  2875. ColorpickerFrameOutlineCorner.Name = "ColorpickerFrameOutlineCorner"
  2876. ColorpickerFrameOutlineCorner.Parent = ColorpickerFrameOutline
  2877.  
  2878. ColorpickerFrame.Name = "ColorpickerFrame"
  2879. ColorpickerFrame.Parent = ColorpickerTitle
  2880. ColorpickerFrame.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  2881. ColorpickerFrame.ClipsDescendants = true
  2882. ColorpickerFrame.Position = UDim2.new(0.00999999978, 0, 1.06638515, 0)
  2883. ColorpickerFrame.Selectable = true
  2884. ColorpickerFrame.Size = UDim2.new(0, 234, 0, 135)
  2885.  
  2886. ColorpickerFrameCorner.CornerRadius = UDim.new(0, 3)
  2887. ColorpickerFrameCorner.Name = "ColorpickerFrameCorner"
  2888. ColorpickerFrameCorner.Parent = ColorpickerFrame
  2889.  
  2890. Color.Name = "Color"
  2891. Color.Parent = ColorpickerFrame
  2892. Color.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  2893. Color.Position = UDim2.new(0, 10, 0, 10)
  2894. Color.Size = UDim2.new(0, 154, 0, 118)
  2895. Color.ZIndex = 10
  2896. Color.Image = "rbxassetid://4155801252"
  2897.  
  2898. ColorCorner.CornerRadius = UDim.new(0, 3)
  2899. ColorCorner.Name = "ColorCorner"
  2900. ColorCorner.Parent = Color
  2901.  
  2902. ColorSelection.Name = "ColorSelection"
  2903. ColorSelection.Parent = Color
  2904. ColorSelection.AnchorPoint = Vector2.new(0.5, 0.5)
  2905. ColorSelection.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2906. ColorSelection.BackgroundTransparency = 1.000
  2907. ColorSelection.Position = UDim2.new(preset and select(3, Color3.toHSV(preset)))
  2908. ColorSelection.Size = UDim2.new(0, 18, 0, 18)
  2909. ColorSelection.Image = "http://www.roblox.com/asset/?id=4805639000"
  2910. ColorSelection.ScaleType = Enum.ScaleType.Fit
  2911.  
  2912. Hue.Name = "Hue"
  2913. Hue.Parent = ColorpickerFrame
  2914. Hue.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2915. Hue.Position = UDim2.new(0, 171, 0, 10)
  2916. Hue.Size = UDim2.new(0, 18, 0, 118)
  2917.  
  2918. HueCorner.CornerRadius = UDim.new(0, 3)
  2919. HueCorner.Name = "HueCorner"
  2920. HueCorner.Parent = Hue
  2921.  
  2922. HueGradient.Color = ColorSequence.new {
  2923. ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 4)),
  2924. ColorSequenceKeypoint.new(0.20, Color3.fromRGB(234, 255, 0)),
  2925. ColorSequenceKeypoint.new(0.40, Color3.fromRGB(21, 255, 0)),
  2926. ColorSequenceKeypoint.new(0.60, Color3.fromRGB(0, 255, 255)),
  2927. ColorSequenceKeypoint.new(0.80, Color3.fromRGB(0, 17, 255)),
  2928. ColorSequenceKeypoint.new(0.90, Color3.fromRGB(255, 0, 251)),
  2929. ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 4))
  2930. }
  2931. HueGradient.Rotation = 270
  2932. HueGradient.Name = "HueGradient"
  2933. HueGradient.Parent = Hue
  2934.  
  2935. HueSelection.Name = "HueSelection"
  2936. HueSelection.Parent = Hue
  2937. HueSelection.AnchorPoint = Vector2.new(0.5, 0.5)
  2938. HueSelection.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2939. HueSelection.BackgroundTransparency = 1.000
  2940. HueSelection.Position = UDim2.new(0.48, 0, 1 - select(1, Color3.toHSV(preset)))
  2941. HueSelection.Size = UDim2.new(0, 18, 0, 18)
  2942. HueSelection.Image = "http://www.roblox.com/asset/?id=4805639000"
  2943.  
  2944. PresetClr.Name = "PresetClr"
  2945. PresetClr.Parent = ColorpickerFrame
  2946. PresetClr.BackgroundColor3 = preset
  2947. PresetClr.Position = UDim2.new(0.846153855, 0, 0.0740740746, 0)
  2948. PresetClr.Size = UDim2.new(0, 25, 0, 25)
  2949.  
  2950. PresetClrCorner.CornerRadius = UDim.new(0, 3)
  2951. PresetClrCorner.Name = "PresetClrCorner"
  2952. PresetClrCorner.Parent = PresetClr
  2953.  
  2954. local function UpdateColorPicker(nope)
  2955. PresetClr.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
  2956. Color.BackgroundColor3 = Color3.fromHSV(ColorH, 1, 1)
  2957.  
  2958. pcall(callback, PresetClr.BackgroundColor3)
  2959. end
  2960.  
  2961. ColorH =
  2962. 1 -
  2963. (math.clamp(HueSelection.AbsolutePosition.Y - Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) /
  2964. Hue.AbsoluteSize.Y)
  2965. ColorS =
  2966. (math.clamp(ColorSelection.AbsolutePosition.X - Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) /
  2967. Color.AbsoluteSize.X)
  2968. ColorV =
  2969. 1 -
  2970. (math.clamp(ColorSelection.AbsolutePosition.Y - Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) /
  2971. Color.AbsoluteSize.Y)
  2972.  
  2973. PresetClr.BackgroundColor3 = preset
  2974. Color.BackgroundColor3 = preset
  2975. pcall(callback, PresetClr.BackgroundColor3)
  2976.  
  2977. Color.InputBegan:Connect(
  2978. function(input)
  2979. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  2980.  
  2981. if ColorInput then
  2982. ColorInput:Disconnect()
  2983. end
  2984.  
  2985. ColorInput =
  2986. RunService.RenderStepped:Connect(
  2987. function()
  2988. local ColorX =
  2989. (math.clamp(Mouse.X - Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) /
  2990. Color.AbsoluteSize.X)
  2991. local ColorY =
  2992. (math.clamp(Mouse.Y - Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) /
  2993. Color.AbsoluteSize.Y)
  2994.  
  2995. ColorSelection.Position = UDim2.new(ColorX, 0, ColorY, 0)
  2996. ColorS = ColorX
  2997. ColorV = 1 - ColorY
  2998.  
  2999. UpdateColorPicker(true)
  3000. end
  3001. )
  3002. end
  3003. end
  3004. )
  3005.  
  3006. Color.InputEnded:Connect(
  3007. function(input)
  3008. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3009. if ColorInput then
  3010. ColorInput:Disconnect()
  3011. end
  3012. end
  3013. end
  3014. )
  3015.  
  3016. Hue.InputBegan:Connect(
  3017. function(input)
  3018. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3019.  
  3020.  
  3021. if HueInput then
  3022. HueInput:Disconnect()
  3023. end
  3024.  
  3025. HueInput =
  3026. RunService.RenderStepped:Connect(
  3027. function()
  3028. local HueY =
  3029. (math.clamp(Mouse.Y - Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) /
  3030. Hue.AbsoluteSize.Y)
  3031.  
  3032. HueSelection.Position = UDim2.new(0.48, 0, HueY, 0)
  3033. ColorH = 1 - HueY
  3034.  
  3035. UpdateColorPicker(true)
  3036. end
  3037. )
  3038. end
  3039. end
  3040. )
  3041.  
  3042. Hue.InputEnded:Connect(
  3043. function(input)
  3044. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3045. if HueInput then
  3046. HueInput:Disconnect()
  3047. end
  3048. end
  3049. end
  3050. )
  3051.  
  3052. ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  3053. end
  3054.  
  3055. function ChannelContent:Textbox(text, placetext, disapper, callback)
  3056. local Textbox = Instance.new("Frame")
  3057. local TextboxTitle = Instance.new("TextLabel")
  3058. local TextboxFrameOutline = Instance.new("Frame")
  3059. local TextboxFrameOutlineCorner = Instance.new("UICorner")
  3060. local TextboxFrame = Instance.new("Frame")
  3061. local TextboxFrameCorner = Instance.new("UICorner")
  3062. local TextBox = Instance.new("TextBox")
  3063.  
  3064. Textbox.Name = "Textbox"
  3065. Textbox.Parent = ChannelHolder
  3066. Textbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3067. Textbox.BackgroundTransparency = 1.000
  3068. Textbox.Position = UDim2.new(0.0796874985, 0, 0.445175439, 0)
  3069. Textbox.Size = UDim2.new(0, 403, 0, 73)
  3070.  
  3071. TextboxTitle.Name = "TextboxTitle"
  3072. TextboxTitle.Parent = Textbox
  3073. TextboxTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3074. TextboxTitle.BackgroundTransparency = 1.000
  3075. TextboxTitle.Position = UDim2.new(0, 5, 0, 0)
  3076. TextboxTitle.Size = UDim2.new(0, 200, 0, 29)
  3077. TextboxTitle.Font = Enum.Font.Gotham
  3078. TextboxTitle.Text = text
  3079. TextboxTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  3080. TextboxTitle.TextSize = 14.000
  3081. TextboxTitle.TextXAlignment = Enum.TextXAlignment.Left
  3082.  
  3083. TextboxFrameOutline.Name = "TextboxFrameOutline"
  3084. TextboxFrameOutline.Parent = TextboxTitle
  3085. TextboxFrameOutline.AnchorPoint = Vector2.new(0.5, 0.5)
  3086. TextboxFrameOutline.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
  3087. TextboxFrameOutline.Position = UDim2.new(0.988442957, 0, 1.6197437, 0)
  3088. TextboxFrameOutline.Size = UDim2.new(0, 396, 0, 36)
  3089.  
  3090. TextboxFrameOutlineCorner.CornerRadius = UDim.new(0, 3)
  3091. TextboxFrameOutlineCorner.Name = "TextboxFrameOutlineCorner"
  3092. TextboxFrameOutlineCorner.Parent = TextboxFrameOutline
  3093.  
  3094. TextboxFrame.Name = "TextboxFrame"
  3095. TextboxFrame.Parent = TextboxTitle
  3096. TextboxFrame.BackgroundColor3 = Color3.fromRGB(48, 51, 57)
  3097. TextboxFrame.ClipsDescendants = true
  3098. TextboxFrame.Position = UDim2.new(0.00999999978, 0, 1.06638527, 0)
  3099. TextboxFrame.Selectable = true
  3100. TextboxFrame.Size = UDim2.new(0, 392, 0, 32)
  3101.  
  3102. TextboxFrameCorner.CornerRadius = UDim.new(0, 3)
  3103. TextboxFrameCorner.Name = "TextboxFrameCorner"
  3104. TextboxFrameCorner.Parent = TextboxFrame
  3105.  
  3106. TextBox.Parent = TextboxFrame
  3107. TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3108. TextBox.BackgroundTransparency = 1.000
  3109. TextBox.Position = UDim2.new(0.0178571437, 0, 0, 0)
  3110. TextBox.Size = UDim2.new(0, 377, 0, 32)
  3111. TextBox.Font = Enum.Font.Gotham
  3112. TextBox.PlaceholderColor3 = Color3.fromRGB(91, 95, 101)
  3113. TextBox.PlaceholderText = placetext
  3114. TextBox.Text = ""
  3115. TextBox.TextColor3 = Color3.fromRGB(193, 195, 197)
  3116. TextBox.TextSize = 14.000
  3117. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  3118.  
  3119. TextBox.Focused:Connect(function()
  3120. TweenService:Create(
  3121. TextboxFrameOutline,
  3122. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  3123. {BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
  3124. ):Play()
  3125. end)
  3126.  
  3127. TextBox.FocusLost:Connect(function(ep)
  3128. TweenService:Create(
  3129. TextboxFrameOutline,
  3130. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  3131. {BackgroundColor3 = Color3.fromRGB(37, 40, 43)}
  3132. ):Play()
  3133. if ep then
  3134. if #TextBox.Text > 0 then
  3135. pcall(callback, TextBox.Text)
  3136. if disapper then
  3137. TextBox.Text = ""
  3138. end
  3139. end
  3140. end
  3141. end)
  3142.  
  3143. ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  3144. end
  3145.  
  3146. function ChannelContent:Label(text)
  3147. local Label = Instance.new("TextButton")
  3148. local LabelTitle = Instance.new("TextLabel")
  3149.  
  3150. Label.Name = "Label"
  3151. Label.Parent = ChannelHolder
  3152. Label.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  3153. Label.BorderSizePixel = 0
  3154. Label.Position = UDim2.new(0.261979163, 0, 0.190789461, 0)
  3155. Label.Size = UDim2.new(0, 401, 0, 30)
  3156. Label.AutoButtonColor = false
  3157. Label.Font = Enum.Font.Gotham
  3158. Label.Text = ""
  3159. Label.TextColor3 = Color3.fromRGB(255, 255, 255)
  3160. Label.TextSize = 14.000
  3161.  
  3162. LabelTitle.Name = "LabelTitle"
  3163. LabelTitle.Parent = Label
  3164. LabelTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3165. LabelTitle.BackgroundTransparency = 1.000
  3166. LabelTitle.Position = UDim2.new(0, 5, 0, 0)
  3167. LabelTitle.Size = UDim2.new(0, 200, 0, 30)
  3168. LabelTitle.Font = Enum.Font.Gotham
  3169. LabelTitle.Text = text
  3170. LabelTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  3171. LabelTitle.TextSize = 14.000
  3172. LabelTitle.TextXAlignment = Enum.TextXAlignment.Left
  3173.  
  3174. ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
  3175. end
  3176.  
  3177. function ChannelContent:Bind(text, presetbind, callback)
  3178. local Key = presetbind.Name
  3179. local Keybind = Instance.new("TextButton")
  3180. local KeybindTitle = Instance.new("TextLabel")
  3181. local KeybindText = Instance.new("TextLabel")
  3182.  
  3183. Keybind.Name = "Keybind"
  3184. Keybind.Parent = ChannelHolder
  3185. Keybind.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
  3186. Keybind.BorderSizePixel = 0
  3187. Keybind.Position = UDim2.new(0.261979163, 0, 0.190789461, 0)
  3188. Keybind.Size = UDim2.new(0, 401, 0, 30)
  3189. Keybind.AutoButtonColor = false
  3190. Keybind.Font = Enum.Font.Gotham
  3191. Keybind.Text = ""
  3192. Keybind.TextColor3 = Color3.fromRGB(255, 255, 255)
  3193. Keybind.TextSize = 14.000
  3194.  
  3195. KeybindTitle.Name = "KeybindTitle"
  3196. KeybindTitle.Parent = Keybind
  3197. KeybindTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3198. KeybindTitle.BackgroundTransparency = 1.000
  3199. KeybindTitle.Position = UDim2.new(0, 5, 0, 0)
  3200. KeybindTitle.Size = UDim2.new(0, 200, 0, 30)
  3201. KeybindTitle.Font = Enum.Font.Gotham
  3202. KeybindTitle.Text = text
  3203. KeybindTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
  3204. KeybindTitle.TextSize = 14.000
  3205. KeybindTitle.TextXAlignment = Enum.TextXAlignment.Left
  3206.  
  3207. KeybindText.Name = "KeybindText"
  3208. KeybindText.Parent = Keybind
  3209. KeybindText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3210. KeybindText.BackgroundTransparency = 1.000
  3211. KeybindText.Position = UDim2.new(0, 316, 0, 0)
  3212. KeybindText.Size = UDim2.new(0, 85, 0, 30)
  3213. KeybindText.Font = Enum.Font.Gotham
  3214. KeybindText.Text = presetbind.Name
  3215. KeybindText.TextColor3 = Color3.fromRGB(127, 131, 137)
  3216. KeybindText.TextSize = 14.000
  3217. KeybindText.TextXAlignment = Enum.TextXAlignment.Right
  3218.  
  3219. Keybind.MouseButton1Click:Connect(function()
  3220. KeybindText.Text = "..."
  3221. local inputwait = game:GetService("UserInputService").InputBegan:wait()
  3222. if inputwait.KeyCode.Name ~= "Unknown" then
  3223. KeybindText.Text = inputwait.KeyCode.Name
  3224. Key = inputwait.KeyCode.Name
  3225. end
  3226. end)
  3227.  
  3228. game:GetService("UserInputService").InputBegan:connect(
  3229. function(current, pressed)
  3230. if not pressed then
  3231. if current.KeyCode.Name == Key then
  3232. pcall(callback)
  3233. end
  3234. end
  3235. end
  3236. )
  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
  3246. end
  3247. return DiscordLib
Add Comment
Please, Sign In to add comment