draxe55

yeswhy

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