Advertisement
NiceBBMBThai

Test rainbow

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