Advertisement
lostaux

Untitled

Mar 15th, 2022
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 76.44 KB | None | 0 0
  1. print("HavenRBX Is a qt")
  2.  
  3. game:GetService("StarterGui"):SetCore("SendNotification",{
  4.  
  5. Title = "Moonassist",
  6.  
  7. Text = "For support Moon!4444",
  8.  
  9. Button1 = "Close",
  10.  
  11. Duration = 300
  12.  
  13. })
  14.  
  15. --Scripting is at the bottom - thx to mana64
  16.  
  17. if game.CoreGui:FindFirstChild("Library") then
  18.  
  19. game.CoreGui:FindFirstChild("Library"):Destroy()
  20.  
  21. end
  22.  
  23. local VLib = {RainbowColorValue = 0, HueSelectionPosition = 0}
  24.  
  25. local UserInputService = game:GetService("UserInputService")
  26.  
  27. local TweenService = game:GetService("TweenService")
  28.  
  29. local RunService = game:GetService("RunService")
  30.  
  31. local LocalPlayer = game:GetService("Players").LocalPlayer
  32.  
  33. local Mouse = LocalPlayer:GetMouse()
  34.  
  35.  
  36. local plr = game:GetService("Players").LocalPlayer
  37. if plr:IsInGroup("10450150") then
  38.  
  39. else
  40. setclipboard(tostring("https://www.roblox.com/groups/10450150/DAYL1GHT#!/about"))
  41. wait(0.2)
  42. plr:Kick("Join The Group To use copied to clipboard")
  43. end
  44.  
  45.  
  46. coroutine.wrap(
  47.  
  48. function()
  49.  
  50. while wait() do
  51.  
  52. VLib.RainbowColorValue = VLib.RainbowColorValue + 1 / 255
  53.  
  54. VLib.HueSelectionPosition = VLib.HueSelectionPosition + 1
  55.  
  56.  
  57.  
  58. if VLib.RainbowColorValue >= 1 then
  59.  
  60. VLib.RainbowColorValue = 0
  61.  
  62. end
  63.  
  64.  
  65.  
  66. if VLib.HueSelectionPosition == 80 then
  67.  
  68. VLib.HueSelectionPosition = 0
  69.  
  70. end
  71.  
  72. end
  73.  
  74. end
  75.  
  76. )()
  77.  
  78.  
  79.  
  80. local function MakeDraggable(topbarobject, object)
  81.  
  82. local Dragging = nil
  83.  
  84. local DragInput = nil
  85.  
  86. local DragStart = nil
  87.  
  88. local StartPosition = nil
  89.  
  90.  
  91.  
  92. local function Update(input)
  93.  
  94. local Delta = input.Position - DragStart
  95.  
  96. local pos =
  97.  
  98. UDim2.new(
  99.  
  100. StartPosition.X.Scale,
  101.  
  102. StartPosition.X.Offset + Delta.X,
  103.  
  104. StartPosition.Y.Scale,
  105.  
  106. StartPosition.Y.Offset + Delta.Y
  107.  
  108. )
  109.  
  110. local Tween = TweenService:Create(object, TweenInfo.new(0.2), {Position = pos})
  111.  
  112. Tween:Play()
  113.  
  114. end
  115.  
  116.  
  117.  
  118. topbarobject.InputBegan:Connect(
  119.  
  120. function(input)
  121.  
  122. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  123.  
  124. Dragging = true
  125.  
  126. DragStart = input.Position
  127.  
  128. StartPosition = object.Position
  129.  
  130.  
  131.  
  132. input.Changed:Connect(
  133.  
  134. function()
  135.  
  136. if input.UserInputState == Enum.UserInputState.End then
  137.  
  138. Dragging = false
  139.  
  140. end
  141.  
  142. end
  143.  
  144. )
  145.  
  146. end
  147.  
  148. end
  149.  
  150. )
  151.  
  152.  
  153.  
  154. topbarobject.InputChanged:Connect(
  155.  
  156. function(input)
  157.  
  158. if
  159.  
  160. input.UserInputType == Enum.UserInputType.MouseMovement or
  161.  
  162. input.UserInputType == Enum.UserInputType.Touch
  163.  
  164. then
  165.  
  166. DragInput = input
  167.  
  168. end
  169.  
  170. end
  171.  
  172. )
  173.  
  174.  
  175.  
  176. UserInputService.InputChanged:Connect(
  177.  
  178. function(input)
  179.  
  180. if input == DragInput and Dragging then
  181.  
  182. Update(input)
  183.  
  184. end
  185.  
  186. end
  187.  
  188. )
  189.  
  190. end
  191.  
  192.  
  193.  
  194. local Library = Instance.new("ScreenGui")
  195.  
  196. Library.Name = "Library"
  197.  
  198. Library.Parent = game.CoreGui
  199.  
  200. Library.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  201.  
  202.  
  203.  
  204. local uitoggled = false
  205.  
  206. UserInputService.InputBegan:Connect(
  207.  
  208. function(io, p)
  209.  
  210. if io.KeyCode == Enum.KeyCode.RightControl then
  211.  
  212. if uitoggled == false then
  213.  
  214. Library.Enabled = false
  215.  
  216. uitoggled = true
  217.  
  218. else
  219.  
  220. Library.Enabled = true
  221.  
  222. uitoggled = false
  223.  
  224. end
  225.  
  226. end
  227.  
  228. end
  229.  
  230. )
  231.  
  232.  
  233.  
  234. function VLib:Window(text, textgame, textcircle)
  235.  
  236. local FirstTab = false
  237.  
  238. local MainFrame = Instance.new("Frame")
  239.  
  240. local MainCorner = Instance.new("UICorner")
  241.  
  242. local LeftFrame = Instance.new("Frame")
  243.  
  244. local LeftFrameCorner = Instance.new("UICorner")
  245.  
  246. local MainTitle = Instance.new("TextLabel")
  247.  
  248. local Circle = Instance.new("Frame")
  249.  
  250. local CircleCorner = Instance.new("UICorner")
  251.  
  252. local CircleName = Instance.new("TextLabel")
  253.  
  254. local GameTitle = Instance.new("TextLabel")
  255.  
  256. local TabHolder = Instance.new("Frame")
  257.  
  258. local TabHoldLayout = Instance.new("UIListLayout")
  259.  
  260. local RainbowLine = Instance.new("Frame")
  261.  
  262. local RainbowLineCorner = Instance.new("UICorner")
  263.  
  264. local ContainerHold = Instance.new("Folder")
  265.  
  266. local DragFrame = Instance.new("Frame")
  267.  
  268. local Glow = Instance.new("ImageLabel")
  269.  
  270.  
  271.  
  272. MainFrame.Name = "MainFrame"
  273.  
  274. MainFrame.Parent = Library
  275.  
  276. MainFrame.BackgroundColor3 = Color3.fromRGB(27, 27, 27)
  277.  
  278. MainFrame.Position = UDim2.new(0.5, -325, 0.5, -250)
  279.  
  280. MainFrame.Size = UDim2.new(0, 650, 0, 500)
  281.  
  282.  
  283.  
  284. MainCorner.CornerRadius = UDim.new(0, 5)
  285.  
  286. MainCorner.Name = "MainCorner"
  287.  
  288. MainCorner.Parent = MainFrame
  289.  
  290.  
  291.  
  292. LeftFrame.Name = "LeftFrame"
  293.  
  294. LeftFrame.Parent = MainFrame
  295.  
  296. LeftFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  297.  
  298. LeftFrame.Position = UDim2.new(-0.000674468291, 0, -0.000149806539, 0)
  299.  
  300. LeftFrame.Size = UDim2.new(0, 190, 0, 500)
  301.  
  302.  
  303.  
  304. LeftFrameCorner.CornerRadius = UDim.new(0, 5)
  305.  
  306. LeftFrameCorner.Name = "LeftFrameCorner"
  307.  
  308. LeftFrameCorner.Parent = LeftFrame
  309.  
  310.  
  311.  
  312. MainTitle.Name = "MainTitle"
  313.  
  314. MainTitle.Parent = LeftFrame
  315.  
  316. MainTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  317.  
  318. MainTitle.BackgroundTransparency = 1.000
  319.  
  320. MainTitle.Position = UDim2.new(0.168, 0, 0.043, 0)
  321.  
  322. MainTitle.Size = UDim2.new(0, 71, 0, 20)
  323.  
  324. MainTitle.Font = Enum.Font.Gotham
  325.  
  326. MainTitle.Text = text
  327.  
  328. MainTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  329.  
  330. MainTitle.TextSize = 25.000
  331.  
  332. MainTitle.TextXAlignment = Enum.TextXAlignment.Left
  333.  
  334.  
  335.  
  336.  
  337.  
  338. GameTitle.Name = "GameTitle"
  339.  
  340. GameTitle.Parent = LeftFrame
  341.  
  342. GameTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  343.  
  344. GameTitle.BackgroundTransparency = 1.000
  345.  
  346. GameTitle.Position = UDim2.new(0.168, 0, 0.089, 6)
  347.  
  348. GameTitle.Size = UDim2.new(0, 71, 0, 20)
  349.  
  350. GameTitle.Font = Enum.Font.Gotham
  351.  
  352. GameTitle.Text = textgame
  353.  
  354. GameTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  355.  
  356. GameTitle.TextSize = 17.000
  357.  
  358. GameTitle.TextTransparency = 0.400
  359.  
  360. GameTitle.TextXAlignment = Enum.TextXAlignment.Left
  361.  
  362.  
  363.  
  364. TabHolder.Name = "TabHolder"
  365.  
  366. TabHolder.Parent = LeftFrame
  367.  
  368. TabHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  369.  
  370. TabHolder.BackgroundTransparency = 1.000
  371.  
  372. TabHolder.Position = UDim2.new(0.0806451589, 0, 0.189360261, 0)
  373.  
  374. TabHolder.Size = UDim2.new(0, 159, 0, 309)
  375.  
  376.  
  377.  
  378. TabHoldLayout.Name = "TabHoldLayout"
  379.  
  380. TabHoldLayout.Parent = TabHolder
  381.  
  382. TabHoldLayout.SortOrder = Enum.SortOrder.LayoutOrder
  383.  
  384. TabHoldLayout.Padding = UDim.new(0,5)
  385.  
  386.  
  387.  
  388. ContainerHold.Name = "ContainerHold"
  389.  
  390. ContainerHold.Parent = MainFrame
  391.  
  392.  
  393.  
  394. DragFrame.Name = "DragFrame"
  395.  
  396. DragFrame.Parent = MainFrame
  397.  
  398. DragFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  399.  
  400. DragFrame.BackgroundTransparency = 1.000
  401.  
  402. DragFrame.Position = UDim2.new(0.30130294, 0, 0.00253164559, 0)
  403.  
  404. DragFrame.Size = UDim2.new(0, 428, 0, 21)
  405.  
  406.  
  407.  
  408. Glow.Name = "Glow"
  409.  
  410. Glow.Parent = LeftFrame
  411.  
  412. Glow.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  413.  
  414. Glow.BackgroundTransparency = 1.000
  415.  
  416. Glow.BorderSizePixel = 0
  417.  
  418. Glow.Position = UDim2.new(0, -15, 0, -15)
  419.  
  420. Glow.Size = UDim2.new(1, 30, 1, 30)
  421.  
  422. Glow.ZIndex = 0
  423.  
  424. Glow.Image = "rbxassetid://4996891970"
  425.  
  426. Glow.ImageColor3 = Color3.fromRGB(15, 15, 15)
  427.  
  428. Glow.ScaleType = Enum.ScaleType.Slice
  429.  
  430. Glow.SliceCenter = Rect.new(20, 20, 280, 280)
  431.  
  432.  
  433.  
  434. MakeDraggable(MainFrame, MainFrame)
  435.  
  436.  
  437.  
  438. function VLib:Notification(textdesc)
  439.  
  440. local NotificationHold = Instance.new("TextButton")
  441.  
  442. local NotificationFrame = Instance.new("Frame")
  443.  
  444. local OkayBtn = Instance.new("TextButton")
  445.  
  446. local OkayBtnCorner = Instance.new("UICorner")
  447.  
  448. local OkayBtnTitle = Instance.new("TextLabel")
  449.  
  450. local NotificationTitle = Instance.new("TextLabel")
  451.  
  452. local NotificationDesc = Instance.new("TextLabel")
  453.  
  454.  
  455.  
  456. NotificationHold.Name = "NotificationHold"
  457.  
  458. NotificationHold.Parent = MainFrame
  459.  
  460. NotificationHold.BackgroundColor3 = Color3.fromRGB(125, 125, 125)
  461.  
  462. NotificationHold.BackgroundTransparency = 0.700
  463.  
  464. NotificationHold.BorderSizePixel = 0
  465.  
  466. NotificationHold.Size = UDim2.new(0, 650, 0, 500)
  467.  
  468. NotificationHold.AutoButtonColor = false
  469.  
  470. NotificationHold.Font = Enum.Font.SourceSans
  471.  
  472. NotificationHold.Text = ""
  473.  
  474. NotificationHold.TextColor3 = Color3.fromRGB(0, 0, 0)
  475.  
  476. NotificationHold.TextSize = 14.000
  477.  
  478.  
  479.  
  480. TweenService:Create(
  481.  
  482. NotificationHold,
  483.  
  484. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  485.  
  486. {BackgroundTransparency = 0.7}
  487.  
  488. ):Play()
  489.  
  490. wait(0.4)
  491.  
  492.  
  493.  
  494. NotificationFrame.Name = "NotificationFrame"
  495.  
  496. NotificationFrame.Parent = NotificationHold
  497.  
  498. NotificationFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  499.  
  500. NotificationFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  501.  
  502. NotificationFrame.BorderSizePixel = 0
  503.  
  504. NotificationFrame.ClipsDescendants = true
  505.  
  506. NotificationFrame.Position = UDim2.new(0.5, 0, 0.498432577, 0)
  507.  
  508. NotificationFrame.Size = UDim2.new(0, 0, 0, 0)
  509.  
  510. NotificationFrame:TweenSize(UDim2.new(0, 305,0, 283), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .6, true)
  511.  
  512.  
  513.  
  514. OkayBtn.Name = "OkayBtn"
  515.  
  516. OkayBtn.Parent = NotificationFrame
  517.  
  518. OkayBtn.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
  519.  
  520. OkayBtn.Position = UDim2.new(0.171131134, 0, 0.759717345, 0)
  521.  
  522. OkayBtn.Size = UDim2.new(0, 200, 0, 42)
  523.  
  524. OkayBtn.AutoButtonColor = false
  525.  
  526. OkayBtn.Font = Enum.Font.SourceSans
  527.  
  528. OkayBtn.Text = ""
  529.  
  530. OkayBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  531.  
  532. OkayBtn.TextSize = 14.000
  533.  
  534.  
  535.  
  536. OkayBtnCorner.CornerRadius = UDim.new(0, 5)
  537.  
  538. OkayBtnCorner.Name = "OkayBtnCorner"
  539.  
  540. OkayBtnCorner.Parent = OkayBtn
  541.  
  542.  
  543.  
  544. OkayBtnTitle.Name = "OkayBtnTitle"
  545.  
  546. OkayBtnTitle.Parent = OkayBtn
  547.  
  548. OkayBtnTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  549.  
  550. OkayBtnTitle.BackgroundTransparency = 1.000
  551.  
  552. OkayBtnTitle.Size = UDim2.new(0, 200, 0, 42)
  553.  
  554. OkayBtnTitle.Text = "OK!"
  555.  
  556. OkayBtnTitle.Font = Enum.Font.Gotham
  557.  
  558. OkayBtnTitle.TextColor3 = Color3.fromRGB(202, 202, 202)
  559.  
  560. OkayBtnTitle.TextSize = 24.000
  561.  
  562.  
  563.  
  564. NotificationTitle.Name = "NotificationTitle"
  565.  
  566. NotificationTitle.Parent = NotificationFrame
  567.  
  568. NotificationTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  569.  
  570. NotificationTitle.BackgroundTransparency = 1.000
  571.  
  572. NotificationTitle.Position = UDim2.new(0.0559394211, 0, 0.0652336925, 0)
  573.  
  574. NotificationTitle.Size = UDim2.new(0, 272, 0, 26)
  575.  
  576. NotificationTitle.ZIndex = 3
  577.  
  578. NotificationTitle.Font = Enum.Font.Gotham
  579.  
  580. NotificationTitle.Text = "Notification"
  581.  
  582. NotificationTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  583.  
  584. NotificationTitle.TextSize = 24.000
  585.  
  586.  
  587.  
  588. NotificationDesc.Name = "NotificationDesc"
  589.  
  590. NotificationDesc.Parent = NotificationFrame
  591.  
  592. NotificationDesc.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  593.  
  594. NotificationDesc.BackgroundTransparency = 1.000
  595.  
  596. NotificationDesc.Position = UDim2.new(0.0670000017, 0, 0.218999997, 0)
  597.  
  598. NotificationDesc.Size = UDim2.new(0, 274, 0, 146)
  599.  
  600. NotificationDesc.Font = Enum.Font.Gotham
  601.  
  602. NotificationDesc.Text = textdesc
  603.  
  604. NotificationDesc.TextColor3 = Color3.fromRGB(255, 255, 255)
  605.  
  606. NotificationDesc.TextSize = 20.000
  607.  
  608. NotificationDesc.TextWrapped = true
  609.  
  610. NotificationDesc.TextXAlignment = Enum.TextXAlignment.Center
  611.  
  612. NotificationDesc.TextYAlignment = Enum.TextYAlignment.Top
  613.  
  614.  
  615.  
  616. OkayBtn.MouseEnter:Connect(function()
  617.  
  618. TweenService:Create(
  619.  
  620. OkayBtn,
  621.  
  622. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  623.  
  624. {BackgroundColor3 = Color3.fromRGB(37,37,37)}
  625.  
  626. ):Play()
  627.  
  628. end)
  629.  
  630.  
  631.  
  632. OkayBtn.MouseLeave:Connect(function()
  633.  
  634. TweenService:Create(
  635.  
  636. OkayBtn,
  637.  
  638. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  639.  
  640. {BackgroundColor3 = Color3.fromRGB(34, 34, 34)}
  641.  
  642. ):Play()
  643.  
  644. end)
  645.  
  646.  
  647.  
  648. OkayBtn.MouseButton1Click:Connect(function()
  649.  
  650. NotificationFrame:TweenSize(UDim2.new(0, 0,0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .6, true)
  651.  
  652.  
  653.  
  654. wait(0.4)
  655.  
  656.  
  657.  
  658. TweenService:Create(
  659.  
  660. NotificationHold,
  661.  
  662. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  663.  
  664. {BackgroundTransparency = 1}
  665.  
  666. ):Play()
  667.  
  668.  
  669.  
  670. wait(.3)
  671.  
  672.  
  673.  
  674. NotificationHold:Destroy()
  675.  
  676. end)
  677.  
  678. end
  679.  
  680.  
  681.  
  682. coroutine.wrap(
  683.  
  684. function()
  685.  
  686. while wait() do
  687.  
  688. end
  689.  
  690. end
  691.  
  692. )()
  693.  
  694. local Tabs = {}
  695.  
  696. function Tabs:Tab(text)
  697.  
  698. local Tab = Instance.new("TextButton")
  699.  
  700. local TabCorner = Instance.new("UICorner")
  701.  
  702. local Title = Instance.new("TextLabel")
  703.  
  704. local UIGradient = Instance.new('UIGradient')
  705.  
  706. Tab.Name = "Tab"
  707.  
  708. Tab.Parent = TabHolder
  709.  
  710. Tab.BackgroundColor3 = Color3.fromRGB(255,255,255)
  711.  
  712. Tab.Size = UDim2.new(0, 170, 0, 35)
  713.  
  714. Tab.AutoButtonColor = false
  715.  
  716. Tab.Font = Enum.Font.SourceSans
  717.  
  718. Tab.Text = ""
  719.  
  720. Tab.TextColor3 = Color3.fromRGB(0, 0, 0)
  721.  
  722. Tab.TextSize = 15.000
  723.  
  724. Tab.BackgroundTransparency = 1
  725.  
  726.  
  727.  
  728. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(121,9,112
  729.  
  730. )), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(27,50,255))}
  731.  
  732. UIGradient.Parent = Tab
  733.  
  734.  
  735.  
  736.  
  737.  
  738. TabCorner.CornerRadius = UDim.new(0, 3)
  739.  
  740. TabCorner.Name = "TabCorner"
  741.  
  742. TabCorner.Parent = Tab
  743.  
  744.  
  745.  
  746. Title.Name = "Title"
  747.  
  748. Title.Parent = Tab
  749.  
  750. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  751.  
  752. Title.BackgroundTransparency = 1.000
  753.  
  754. Title.Position = UDim2.new(0.0566037744, 0, 0.1, 0)
  755.  
  756. Title.Size = UDim2.new(0, 150, 0, 29)
  757.  
  758. Title.Font = Enum.Font.Gotham
  759.  
  760. Title.Text = text
  761.  
  762. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  763.  
  764. Title.TextSize = 17.000
  765.  
  766. Title.TextXAlignment = Enum.TextXAlignment.Left
  767.  
  768.  
  769.  
  770. local Container = Instance.new("ScrollingFrame")
  771.  
  772. local ContainerLayout = Instance.new("UIListLayout")
  773.  
  774.  
  775.  
  776. Container.Name = "Container"
  777.  
  778. Container.Parent = ContainerHold
  779.  
  780. Container.Active = true
  781.  
  782. Container.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  783.  
  784. Container.BackgroundTransparency = 1.000
  785.  
  786. Container.BorderSizePixel = 0
  787.  
  788. Container.Position = UDim2.new(0.34, 0, 0.0506329127, 0)
  789.  
  790. Container.Size = UDim2.new(0, 420, 0, 450)
  791.  
  792. Container.ScrollBarThickness = 5
  793.  
  794. Container.CanvasSize = UDim2.new(0, 0, 0, 0)
  795.  
  796. Container.Visible = false
  797.  
  798. Container.ScrollBarImageColor3 = Color3.fromRGB(100, 100, 100)
  799.  
  800.  
  801.  
  802. ContainerLayout.Name = "ContainerLayout"
  803.  
  804. ContainerLayout.Parent = Container
  805.  
  806. ContainerLayout.SortOrder = Enum.SortOrder.LayoutOrder
  807.  
  808. ContainerLayout.Padding = UDim.new(0, 15)
  809.  
  810.  
  811.  
  812. if FirstTab == false then
  813.  
  814. FirstTab = true
  815.  
  816. Tab.BackgroundTransparency = 0
  817.  
  818. Container.Visible = true
  819.  
  820. end
  821.  
  822. Tab.MouseButton1Click:Connect(
  823.  
  824. function()
  825.  
  826. for i, v in next, ContainerHold:GetChildren() do
  827.  
  828. if v.Name == "Container" then
  829.  
  830. v.Visible = false
  831.  
  832. end
  833.  
  834. end
  835.  
  836.  
  837.  
  838. for i, v in next, TabHolder:GetChildren() do
  839.  
  840. if v.ClassName == "TextButton" then
  841.  
  842. TweenService:Create(
  843.  
  844. v,
  845.  
  846. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  847.  
  848. {BackgroundTransparency = 1}
  849.  
  850. ):Play()
  851.  
  852. TweenService:Create(
  853.  
  854. Tab,
  855.  
  856. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  857.  
  858. {BackgroundTransparency = 0}
  859.  
  860. ):Play()
  861.  
  862. end
  863.  
  864. end
  865.  
  866. Container.Visible = true
  867.  
  868. end
  869.  
  870. )
  871.  
  872. local ContainerItems = {}
  873.  
  874. function ContainerItems:Button(text, callback)
  875.  
  876. local Button = Instance.new("TextButton")
  877.  
  878. local ButtonCorner = Instance.new("UICorner")
  879.  
  880.  
  881.  
  882. Button.Name = "Button"
  883.  
  884. Button.Parent = Container
  885.  
  886. Button.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  887.  
  888. Button.Size = UDim2.new(0, 405, 0, 40)
  889.  
  890. Button.AutoButtonColor = false
  891.  
  892. Button.Font = Enum.Font.Gotham
  893.  
  894. Button.TextColor3 = Color3.fromRGB(255, 255, 255)
  895.  
  896. Button.TextSize = 15.000
  897.  
  898. Button.Text = text
  899.  
  900.  
  901.  
  902. ButtonCorner.CornerRadius = UDim.new(0, 5)
  903.  
  904. ButtonCorner.Name = "ButtonCorner"
  905.  
  906. ButtonCorner.Parent = Button
  907.  
  908.  
  909.  
  910. Button.MouseEnter:Connect(
  911.  
  912. function()
  913.  
  914. TweenService:Create(
  915.  
  916. Button,
  917.  
  918. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  919.  
  920. {BackgroundColor3 = Color3.fromRGB(45, 45, 45)}
  921.  
  922. ):Play()
  923.  
  924. end
  925.  
  926. )
  927.  
  928. Button.MouseLeave:Connect(
  929.  
  930. function()
  931.  
  932. TweenService:Create(
  933.  
  934. Button,
  935.  
  936. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  937.  
  938. {BackgroundColor3 = Color3.fromRGB(35, 35, 35)}
  939.  
  940. ):Play()
  941.  
  942. end
  943.  
  944. )
  945.  
  946.  
  947.  
  948. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  949.  
  950.  
  951.  
  952. Button.MouseButton1Click:Connect(
  953.  
  954. function()
  955.  
  956. pcall(callback)
  957.  
  958. Button.TextSize = 0
  959.  
  960. TweenService:Create(Button, TweenInfo.new(.2, Enum.EasingStyle.Quad), {TextSize = 17}):Play()
  961.  
  962. wait(.2)
  963.  
  964. TweenService:Create(Button, TweenInfo.new(.2, Enum.EasingStyle.Quad), {TextSize = 14}):Play()
  965.  
  966. end
  967.  
  968. )
  969.  
  970. end
  971.  
  972. function ContainerItems:Toggle(text,Default,callback)
  973.  
  974. local Toggled = Default or false
  975.  
  976. local ValueToggle = ValueTogglea or false
  977.  
  978. local Toggle = Instance.new("TextButton")
  979.  
  980. local ToggleCorner = Instance.new("UICorner")
  981.  
  982. local Title = Instance.new("TextLabel")
  983.  
  984. local ToggleFrame = Instance.new("Frame")
  985.  
  986. local ToggleFrameCorner = Instance.new("UICorner")
  987.  
  988. local ToggleFrameRainbow = Instance.new("Frame")
  989.  
  990. local ToggleFrameRainbowCorner = Instance.new("UICorner")
  991.  
  992. local ToggleDot = Instance.new("Frame")
  993.  
  994. local ToggleDotCorner = Instance.new("UICorner")
  995.  
  996. local UIGradient_2 = Instance.new('UIGradient')
  997.  
  998. Toggle.Name = "Toggle"
  999.  
  1000. Toggle.Parent = Container
  1001.  
  1002. Toggle.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  1003.  
  1004. Toggle.Position = UDim2.new(-0.747557044, 0, 0.729113936, 0)
  1005.  
  1006. Toggle.Size = UDim2.new(0, 405, 0, 40)
  1007.  
  1008. Toggle.AutoButtonColor = false
  1009.  
  1010. Toggle.Font = Enum.Font.Gotham
  1011.  
  1012. Toggle.Text = ""
  1013.  
  1014. Toggle.TextColor3 = Color3.fromRGB(255, 255, 255)
  1015.  
  1016. Toggle.TextSize = 14.000
  1017.  
  1018.  
  1019.  
  1020. ToggleCorner.CornerRadius = UDim.new(0, 5)
  1021.  
  1022. ToggleCorner.Name = "ToggleCorner"
  1023.  
  1024. ToggleCorner.Parent = Toggle
  1025.  
  1026.  
  1027.  
  1028. Title.Name = "Title"
  1029.  
  1030. Title.Parent = Toggle
  1031.  
  1032. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1033.  
  1034. Title.BackgroundTransparency = 1.000
  1035.  
  1036. Title.Position = UDim2.new(0.0198511165, 0, 0, 0)
  1037.  
  1038. Title.Size = UDim2.new(0, 430, 0, 40)
  1039.  
  1040. Title.Font = Enum.Font.Gotham
  1041.  
  1042. Title.Text = text
  1043.  
  1044. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  1045.  
  1046. Title.TextSize = 15.000
  1047.  
  1048. Title.TextXAlignment = Enum.TextXAlignment.Left
  1049.  
  1050.  
  1051.  
  1052. ToggleFrame.Name = "ToggleFrame"
  1053.  
  1054. ToggleFrame.Parent = Toggle
  1055.  
  1056. ToggleFrame.BackgroundColor3 = Color3.fromRGB(22, 23, 27)
  1057.  
  1058. ToggleFrame.Position = UDim2.new(0.88, 0, 0.21, 0)
  1059.  
  1060. ToggleFrame.Size = UDim2.new(0, 40, 0, 22)
  1061.  
  1062.  
  1063.  
  1064. ToggleFrameCorner.CornerRadius = UDim.new(1, 0)
  1065.  
  1066. ToggleFrameCorner.Name = "ToggleFrameCorner"
  1067.  
  1068. ToggleFrameCorner.Parent = ToggleFrame
  1069.  
  1070.  
  1071.  
  1072. ToggleFrameRainbow.Name = "ToggleFrameRainbow"
  1073.  
  1074. ToggleFrameRainbow.Parent = ToggleFrame
  1075.  
  1076. ToggleFrameRainbow.BackgroundColor3 = Color3.fromRGB(27,27,27)
  1077.  
  1078. ToggleFrameRainbow.BackgroundTransparency = 1.000
  1079.  
  1080. ToggleFrameRainbow.Position = UDim2.new(-0.0198377371, 0, 0.00601506233, 0)
  1081.  
  1082. ToggleFrameRainbow.Size = UDim2.new(0, 40, 0, 22)
  1083.  
  1084.  
  1085.  
  1086. ToggleFrameRainbowCorner.CornerRadius = UDim.new(1, 0)
  1087.  
  1088. ToggleFrameRainbowCorner.Name = "ToggleFrameRainbowCorner"
  1089.  
  1090. ToggleFrameRainbowCorner.Parent = ToggleFrameRainbow
  1091.  
  1092.  
  1093.  
  1094. ToggleDot.Name = "ToggleDot"
  1095.  
  1096. ToggleDot.Parent = ToggleFrameRainbow
  1097.  
  1098. ToggleDot.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1099.  
  1100. ToggleDot.Position = UDim2.new(0.104999997, -3, 0.289000005, -4)
  1101.  
  1102. ToggleDot.Size = UDim2.new(0, 16, 0, 16)
  1103.  
  1104.  
  1105.  
  1106. UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(160, 207, 236)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(102, 152, 255))}
  1107.  
  1108. UIGradient_2.Parent = ToggleDot
  1109.  
  1110.  
  1111.  
  1112. ToggleDotCorner.CornerRadius = UDim.new(1, 0)
  1113.  
  1114. ToggleDotCorner.Name = "ToggleDotCorner"
  1115.  
  1116. ToggleDotCorner.Parent = ToggleDot
  1117.  
  1118.  
  1119.  
  1120. Toggle.MouseEnter:Connect(
  1121.  
  1122. function()
  1123.  
  1124. TweenService:Create(
  1125.  
  1126. Toggle,
  1127.  
  1128. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1129.  
  1130. {BackgroundColor3 = Color3.fromRGB(45, 45, 45)}
  1131.  
  1132. ):Play()
  1133.  
  1134.  
  1135.  
  1136. end
  1137.  
  1138. )
  1139.  
  1140. Toggle.MouseLeave:Connect(
  1141.  
  1142. function()
  1143.  
  1144. TweenService:Create(
  1145.  
  1146. Toggle,
  1147.  
  1148. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1149.  
  1150. {BackgroundColor3 = Color3.fromRGB(35, 35, 35)}
  1151.  
  1152. ):Play()
  1153.  
  1154. end
  1155.  
  1156. )
  1157.  
  1158.  
  1159.  
  1160. if Toggled == true then
  1161.  
  1162. UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(160, 207, 236)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(102, 152, 255))}
  1163.  
  1164.  
  1165.  
  1166. TweenService:Create(
  1167.  
  1168. ToggleFrameRainbow,
  1169.  
  1170. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1171.  
  1172. {BackgroundTransparency = 0}
  1173.  
  1174. ):Play()
  1175.  
  1176. TweenService:Create(
  1177.  
  1178. ToggleDot,
  1179.  
  1180. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1181.  
  1182. {Position = UDim2.new(0.595, -3, 0.289000005, -4)}
  1183.  
  1184. ):Play()
  1185.  
  1186. pcall(callback, Toggled)
  1187.  
  1188. else
  1189.  
  1190. ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(46, 255, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(228, 92, 255))}
  1191.  
  1192.  
  1193.  
  1194. TweenService:Create(
  1195.  
  1196. ToggleFrameRainbow,
  1197.  
  1198. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1199.  
  1200. {BackgroundTransparency = 1}
  1201.  
  1202. ):Play()
  1203.  
  1204. TweenService:Create(
  1205.  
  1206. ToggleDot,
  1207.  
  1208. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1209.  
  1210. {Position = UDim2.new(0.104999997, -3, 0.289000005, -4)}
  1211.  
  1212. ):Play()
  1213.  
  1214. end
  1215.  
  1216.  
  1217.  
  1218. Toggle.MouseButton1Click:Connect(
  1219.  
  1220. function()
  1221.  
  1222. if Toggled == false then
  1223.  
  1224. UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(160, 207, 236)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(102, 152, 255))}
  1225.  
  1226.  
  1227.  
  1228. TweenService:Create(
  1229.  
  1230. ToggleFrameRainbow,
  1231.  
  1232. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1233.  
  1234. {BackgroundTransparency = 0}
  1235.  
  1236. ):Play()
  1237.  
  1238. TweenService:Create(
  1239.  
  1240. ToggleDot,
  1241.  
  1242. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1243.  
  1244. {Position = UDim2.new(0.595, -3, 0.289000005, -4)}
  1245.  
  1246. ):Play()
  1247.  
  1248. else
  1249.  
  1250. UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(160, 207, 236)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(102, 152, 255))}
  1251.  
  1252.  
  1253.  
  1254. TweenService:Create(
  1255.  
  1256. ToggleFrameRainbow,
  1257.  
  1258. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1259.  
  1260. {BackgroundTransparency = 1}
  1261.  
  1262. ):Play()
  1263.  
  1264. TweenService:Create(
  1265.  
  1266. ToggleDot,
  1267.  
  1268. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1269.  
  1270. {Position = UDim2.new(0.104999997, -3, 0.289000005, -4)}
  1271.  
  1272. ):Play()
  1273.  
  1274. end
  1275.  
  1276. Toggled = not Toggled
  1277.  
  1278. pcall(callback, Toggled)
  1279.  
  1280. end
  1281.  
  1282. )
  1283.  
  1284.  
  1285.  
  1286. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  1287.  
  1288. end
  1289.  
  1290. function ContainerItems:Slider(text, min, max, start, callback)
  1291.  
  1292. local dragging = false
  1293.  
  1294. local Slider = Instance.new("TextButton")
  1295.  
  1296. local Title = Instance.new("TextLabel")
  1297.  
  1298. local SliderFrame = Instance.new("Frame")
  1299.  
  1300. local SliderFrameCorner = Instance.new("UICorner")
  1301.  
  1302. local SliderIndicator = Instance.new("Frame")
  1303.  
  1304. local SliderIndicatorCorner = Instance.new("UICorner")
  1305.  
  1306. local SliderCorner = Instance.new("UICorner")
  1307.  
  1308. local Value = Instance.new("TextLabel")
  1309.  
  1310. local UIGradient_3 = Instance.new('UIGradient')
  1311.  
  1312.  
  1313.  
  1314. Slider.Name = "Slider"
  1315.  
  1316. Slider.Parent = Container
  1317.  
  1318. Slider.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  1319.  
  1320. Slider.Position = UDim2.new(-0.747557044, 0, 0.729113936, 0)
  1321.  
  1322. Slider.Size = UDim2.new(0, 405, 0, 49)
  1323.  
  1324. Slider.AutoButtonColor = false
  1325.  
  1326. Slider.Font = Enum.Font.Gotham
  1327.  
  1328. Slider.Text = ""
  1329.  
  1330. Slider.TextColor3 = Color3.fromRGB(255, 255, 255)
  1331.  
  1332. Slider.TextSize = 14.000
  1333.  
  1334.  
  1335.  
  1336. Title.Name = "Title"
  1337.  
  1338. Title.Parent = Slider
  1339.  
  1340. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1341.  
  1342. Title.BackgroundTransparency = 1.000
  1343.  
  1344. Title.Position = UDim2.new(0.0198511165, 0, 0, 0)
  1345.  
  1346. Title.Size = UDim2.new(0, 192, 0, 28)
  1347.  
  1348. Title.Font = Enum.Font.Gotham
  1349.  
  1350. Title.Text = text
  1351.  
  1352. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  1353.  
  1354. Title.TextSize = 14.000
  1355.  
  1356. Title.TextXAlignment = Enum.TextXAlignment.Left
  1357.  
  1358.  
  1359.  
  1360. SliderFrame.Name = "SliderFrame"
  1361.  
  1362. SliderFrame.Parent = Slider
  1363.  
  1364. SliderFrame.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
  1365.  
  1366. SliderFrame.Position = UDim2.new(0.0223324299, 0, 0.563266039, 0)
  1367.  
  1368. SliderFrame.Size = UDim2.new(0, 384, 0, 11)
  1369.  
  1370.  
  1371.  
  1372. SliderFrameCorner.Name = "SliderFrameCorner"
  1373.  
  1374. SliderFrameCorner.Parent = SliderFrame
  1375.  
  1376.  
  1377.  
  1378. SliderIndicator.Name = "SliderIndicator"
  1379.  
  1380. SliderIndicator.Parent = SliderFrame
  1381.  
  1382. SliderIndicator.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1383.  
  1384. SliderIndicator.BorderSizePixel = 0
  1385.  
  1386. SliderIndicator.Position = UDim2.new(-0.00260408712, 0, 0.0363603085, 0)
  1387.  
  1388. SliderIndicator.Size = UDim2.new((start or 0) / max, 0, 0, 11)
  1389.  
  1390.  
  1391.  
  1392. UIGradient_3.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(160, 207, 236)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(102, 152, 255))}
  1393.  
  1394. UIGradient_3.Parent = SliderIndicator
  1395.  
  1396.  
  1397.  
  1398. SliderIndicatorCorner.Name = "SliderIndicatorCorner"
  1399.  
  1400. SliderIndicatorCorner.Parent = SliderIndicator
  1401.  
  1402.  
  1403.  
  1404. SliderCorner.CornerRadius = UDim.new(0, 6)
  1405.  
  1406. SliderCorner.Name = "SliderCorner"
  1407.  
  1408. SliderCorner.Parent = Slider
  1409.  
  1410.  
  1411.  
  1412. Value.Name = "Value"
  1413.  
  1414. Value.Parent = Slider
  1415.  
  1416. Value.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1417.  
  1418. Value.BackgroundTransparency = 1.000
  1419.  
  1420. Value.Position = UDim2.new(0.496277869, 0, 0, 0)
  1421.  
  1422. Value.Size = UDim2.new(0, 192, 0, 28)
  1423.  
  1424. Value.Font = Enum.Font.Gotham
  1425.  
  1426. Value.Text = tostring(start and math.floor((start / max) * (max - min) + min) or 0)
  1427.  
  1428. Value.TextColor3 = Color3.fromRGB(255, 255, 255)
  1429.  
  1430. Value.TextSize = 14.000
  1431.  
  1432. Value.TextXAlignment = Enum.TextXAlignment.Right
  1433.  
  1434.  
  1435.  
  1436. local function slide(input)
  1437.  
  1438. local pos =
  1439.  
  1440. UDim2.new(
  1441.  
  1442. math.clamp((input.Position.X - SliderFrame.AbsolutePosition.X) / SliderFrame.AbsoluteSize.X, 0, 1),
  1443.  
  1444. 0,
  1445.  
  1446. 0,
  1447.  
  1448. 11
  1449.  
  1450. )
  1451.  
  1452. SliderIndicator:TweenSize(pos, Enum.EasingDirection.Out, Enum.EasingStyle.Quart, 0.3, true)
  1453.  
  1454. local val = math.floor(((pos.X.Scale * max) / max) * (max - min) + min)
  1455.  
  1456. Value.Text = tostring(val)
  1457.  
  1458. pcall(callback, val)
  1459.  
  1460. end
  1461.  
  1462.  
  1463.  
  1464. SliderFrame.InputBegan:Connect(
  1465.  
  1466. function(input)
  1467.  
  1468. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  1469.  
  1470. slide(input)
  1471.  
  1472. dragging = true
  1473.  
  1474. end
  1475.  
  1476. end
  1477.  
  1478. )
  1479.  
  1480.  
  1481.  
  1482. SliderFrame.InputEnded:Connect(
  1483.  
  1484. function(input)
  1485.  
  1486. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  1487.  
  1488. dragging = false
  1489.  
  1490. end
  1491.  
  1492. end
  1493.  
  1494. )
  1495.  
  1496.  
  1497.  
  1498. UserInputService.InputChanged:Connect(
  1499.  
  1500. function(input)
  1501.  
  1502. if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
  1503.  
  1504. slide(input)
  1505.  
  1506. end
  1507.  
  1508. end
  1509.  
  1510. )
  1511.  
  1512.  
  1513.  
  1514. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  1515.  
  1516.  
  1517.  
  1518. end
  1519.  
  1520. function ContainerItems:Dropdown(text, list, callback)
  1521.  
  1522. local dropfunc = {}
  1523.  
  1524. local DropToggled = false
  1525.  
  1526. local FrameSize = 0
  1527.  
  1528. local ItemCount = 0
  1529.  
  1530.  
  1531.  
  1532. local Dropdown = Instance.new("TextButton")
  1533.  
  1534. local Title = Instance.new("TextLabel")
  1535.  
  1536. local DropdownCorner = Instance.new("UICorner")
  1537.  
  1538. local Arrow = Instance.new("ImageLabel")
  1539.  
  1540.  
  1541.  
  1542. Dropdown.Name = "Dropdown"
  1543.  
  1544. Dropdown.Parent = Container
  1545.  
  1546. Dropdown.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  1547.  
  1548. Dropdown.Position = UDim2.new(-0.747557044, 0, 0.729113936, 0)
  1549.  
  1550. Dropdown.Size = UDim2.new(0, 405, 0, 45)
  1551.  
  1552. Dropdown.AutoButtonColor = false
  1553.  
  1554. Dropdown.Font = Enum.Font.Gotham
  1555.  
  1556. Dropdown.Text = ""
  1557.  
  1558. Dropdown.TextColor3 = Color3.fromRGB(255, 255, 255)
  1559.  
  1560. Dropdown.TextSize = 15.000
  1561.  
  1562.  
  1563.  
  1564. Title.Name = "Title"
  1565.  
  1566. Title.Parent = Dropdown
  1567.  
  1568. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1569.  
  1570. Title.BackgroundTransparency = 1.000
  1571.  
  1572. Title.Position = UDim2.new(0.0198511165, 0, 0, 0)
  1573.  
  1574. Title.Size = UDim2.new(0, 192, 0, 40)
  1575.  
  1576. Title.Font = Enum.Font.Gotham
  1577.  
  1578. Title.Text = text
  1579.  
  1580. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  1581.  
  1582. Title.TextSize = 15.000
  1583.  
  1584. Title.TextXAlignment = Enum.TextXAlignment.Left
  1585.  
  1586.  
  1587.  
  1588. DropdownCorner.CornerRadius = UDim.new(0, 6)
  1589.  
  1590. DropdownCorner.Name = "DropdownCorner"
  1591.  
  1592. DropdownCorner.Parent = Dropdown
  1593.  
  1594.  
  1595.  
  1596. Arrow.Name = "Arrow"
  1597.  
  1598. Arrow.Parent = Dropdown
  1599.  
  1600. Arrow.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1601.  
  1602. Arrow.BackgroundTransparency = 1.000
  1603.  
  1604. Arrow.Position = UDim2.new(0.9, 0, 0.2, 0)
  1605.  
  1606. Arrow.Size = UDim2.new(0, 27, 0, 27)
  1607.  
  1608. Arrow.Image = "http://www.roblox.com/asset/?id=6034818372"
  1609.  
  1610.  
  1611.  
  1612. local DropdownFrame = Instance.new("Frame")
  1613.  
  1614. local DropdownFrameCorner = Instance.new("UICorner")
  1615.  
  1616. local DropdownHolder = Instance.new("ScrollingFrame")
  1617.  
  1618. local DropdownItemLayout = Instance.new("UIListLayout")
  1619.  
  1620. local DropdownItemHolder = Instance.new("UIPadding")
  1621.  
  1622.  
  1623.  
  1624. DropdownFrame.Name = "DropdownFrame"
  1625.  
  1626. DropdownFrame.Parent = Container
  1627.  
  1628. DropdownFrame.BackgroundColor3 = Color3.fromRGB(32, 32, 32)
  1629.  
  1630. DropdownFrame.BorderSizePixel = 0
  1631.  
  1632. DropdownFrame.Position = UDim2.new(0.334374994, 0, 0.604166687, 0)
  1633.  
  1634. DropdownFrame.Size = UDim2.new(0, 403, 0, 0)
  1635.  
  1636. DropdownFrame.Visible = false
  1637.  
  1638.  
  1639.  
  1640. DropdownFrameCorner.Name = "DropdownFrameCorner"
  1641.  
  1642. DropdownFrameCorner.Parent = DropdownFrame
  1643.  
  1644.  
  1645.  
  1646. DropdownHolder.Name = "DropdownHolder"
  1647.  
  1648. DropdownHolder.Parent = DropdownFrame
  1649.  
  1650. DropdownHolder.Active = true
  1651.  
  1652. DropdownHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1653.  
  1654. DropdownHolder.BackgroundTransparency = 1.000
  1655.  
  1656. DropdownHolder.BorderSizePixel = 0
  1657.  
  1658. DropdownHolder.Position = UDim2.new(0.0263156947, 0, 0.00326599111, 0)
  1659.  
  1660. DropdownHolder.Size = UDim2.new(0, 386, 0, 0)
  1661.  
  1662. DropdownHolder.ScrollBarThickness = 3
  1663.  
  1664. DropdownHolder.CanvasSize = UDim2.new(0, 0, 0, 0)
  1665.  
  1666. DropdownHolder.ScrollBarImageColor3 = Color3.fromRGB(48, 48, 48)
  1667.  
  1668.  
  1669.  
  1670. DropdownItemLayout.Name = "DropdownItemLayout"
  1671.  
  1672. DropdownItemLayout.Parent = DropdownHolder
  1673.  
  1674. DropdownItemLayout.SortOrder = Enum.SortOrder.LayoutOrder
  1675.  
  1676. DropdownItemLayout.Padding = UDim.new(0, 5)
  1677.  
  1678.  
  1679.  
  1680. DropdownItemHolder.Name = "DropdownItemHolder"
  1681.  
  1682. DropdownItemHolder.Parent = DropdownHolder
  1683.  
  1684. DropdownItemHolder.PaddingBottom = UDim.new(0, 5)
  1685.  
  1686. DropdownItemHolder.PaddingTop = UDim.new(0, 5)
  1687.  
  1688.  
  1689.  
  1690. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  1691.  
  1692.  
  1693.  
  1694. Dropdown.MouseEnter:Connect(
  1695.  
  1696. function()
  1697.  
  1698. TweenService:Create(
  1699.  
  1700. Dropdown,
  1701.  
  1702. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1703.  
  1704. {BackgroundColor3 = Color3.fromRGB(45, 45, 45)}
  1705.  
  1706. ):Play()
  1707.  
  1708. end
  1709.  
  1710. )
  1711.  
  1712. Dropdown.MouseLeave:Connect(
  1713.  
  1714. function()
  1715.  
  1716. TweenService:Create(
  1717.  
  1718. Dropdown,
  1719.  
  1720. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1721.  
  1722. {BackgroundColor3 = Color3.fromRGB(35, 35, 35)}
  1723.  
  1724. ):Play()
  1725.  
  1726. end
  1727.  
  1728. )
  1729.  
  1730.  
  1731.  
  1732. Dropdown.MouseButton1Click:Connect(
  1733.  
  1734. function()
  1735.  
  1736. if DropToggled == false then
  1737.  
  1738. DropdownFrame.Visible = true
  1739.  
  1740. DropdownFrame:TweenSize(
  1741.  
  1742. UDim2.new(0, 403, 0, FrameSize),
  1743.  
  1744. Enum.EasingDirection.Out,
  1745.  
  1746. Enum.EasingStyle.Quart,
  1747.  
  1748. 0.1,
  1749.  
  1750. true
  1751.  
  1752. )
  1753.  
  1754. DropdownHolder:TweenSize(
  1755.  
  1756. UDim2.new(0, 386, 0, FrameSize),
  1757.  
  1758. Enum.EasingDirection.Out,
  1759.  
  1760. Enum.EasingStyle.Quart,
  1761.  
  1762. 0.1,
  1763.  
  1764. true
  1765.  
  1766. )
  1767.  
  1768. TweenService:Create(
  1769.  
  1770. Arrow,
  1771.  
  1772. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1773.  
  1774. {Rotation = 180}
  1775.  
  1776. ):Play()
  1777.  
  1778. repeat
  1779.  
  1780. wait()
  1781.  
  1782. until DropdownFrame.Size == UDim2.new(0, 403, 0, FrameSize)
  1783.  
  1784. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  1785.  
  1786. else
  1787.  
  1788. DropdownFrame:TweenSize(
  1789.  
  1790. UDim2.new(0, 403, 0, 0),
  1791.  
  1792. Enum.EasingDirection.Out,
  1793.  
  1794. Enum.EasingStyle.Quart,
  1795.  
  1796. 0.1,
  1797.  
  1798. true
  1799.  
  1800. )
  1801.  
  1802. DropdownHolder:TweenSize(
  1803.  
  1804. UDim2.new(0, 386, 0, 0),
  1805.  
  1806. Enum.EasingDirection.Out,
  1807.  
  1808. Enum.EasingStyle.Quart,
  1809.  
  1810. 0.1,
  1811.  
  1812. true
  1813.  
  1814. )
  1815.  
  1816. TweenService:Create(
  1817.  
  1818. Arrow,
  1819.  
  1820. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1821.  
  1822. {Rotation = 0}
  1823.  
  1824. ):Play()
  1825.  
  1826. repeat
  1827.  
  1828. wait()
  1829.  
  1830. until DropdownFrame.Size == UDim2.new(0, 403, 0, 0)
  1831.  
  1832. DropdownFrame.Visible = false
  1833.  
  1834. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  1835.  
  1836. end
  1837.  
  1838. DropToggled = not DropToggled
  1839.  
  1840. end
  1841.  
  1842. )
  1843.  
  1844.  
  1845.  
  1846. for i, v in next, list do
  1847.  
  1848. ItemCount = ItemCount + 1
  1849.  
  1850.  
  1851.  
  1852. if ItemCount == 1 then
  1853.  
  1854. FrameSize = 39
  1855.  
  1856. elseif ItemCount == 2 then
  1857.  
  1858. FrameSize = 69
  1859.  
  1860. elseif ItemCount >= 3 then
  1861.  
  1862. FrameSize = 100
  1863.  
  1864. end
  1865.  
  1866.  
  1867.  
  1868. local Item = Instance.new("TextButton")
  1869.  
  1870. local ItemCorner = Instance.new("UICorner")
  1871.  
  1872.  
  1873.  
  1874. Item.Name = "Item"
  1875.  
  1876. Item.Parent = DropdownHolder
  1877.  
  1878. Item.BackgroundColor3 = Color3.fromRGB(32, 32, 32)
  1879.  
  1880. Item.Position = UDim2.new(0, 0, 0.0808080807, 0)
  1881.  
  1882. Item.Size = UDim2.new(0, 405, 0, 24)
  1883.  
  1884. Item.AutoButtonColor = false
  1885.  
  1886. Item.Font = Enum.Font.Gotham
  1887.  
  1888. Item.TextColor3 = Color3.fromRGB(255, 255, 255)
  1889.  
  1890. Item.TextSize = 14.000
  1891.  
  1892. Item.Text = v
  1893.  
  1894.  
  1895.  
  1896. ItemCorner.Name = "ItemCorner"
  1897.  
  1898. ItemCorner.Parent = Item
  1899.  
  1900.  
  1901.  
  1902. Item.MouseEnter:Connect(
  1903.  
  1904. function()
  1905.  
  1906. TweenService:Create(
  1907.  
  1908. Item,
  1909.  
  1910. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1911.  
  1912. {BackgroundColor3 = Color3.fromRGB(37, 37, 37)}
  1913.  
  1914. ):Play()
  1915.  
  1916. end
  1917.  
  1918. )
  1919.  
  1920. Item.MouseLeave:Connect(
  1921.  
  1922. function()
  1923.  
  1924. TweenService:Create(
  1925.  
  1926. Item,
  1927.  
  1928. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  1929.  
  1930. {BackgroundColor3 = Color3.fromRGB(32, 32, 32)}
  1931.  
  1932. ):Play()
  1933.  
  1934. end
  1935.  
  1936. )
  1937.  
  1938.  
  1939.  
  1940. Item.MouseButton1Click:Connect(
  1941.  
  1942. function()
  1943.  
  1944. Title.Text = text .. " - " .. v
  1945.  
  1946. pcall(callback, v)
  1947.  
  1948. DropToggled = false
  1949.  
  1950. DropdownFrame:TweenSize(
  1951.  
  1952. UDim2.new(0, 403, 0, 0),
  1953.  
  1954. Enum.EasingDirection.Out,
  1955.  
  1956. Enum.EasingStyle.Quart,
  1957.  
  1958. 0.1,
  1959.  
  1960. true
  1961.  
  1962. )
  1963.  
  1964. DropdownHolder:TweenSize(
  1965.  
  1966. UDim2.new(0, 386, 0, 0),
  1967.  
  1968. Enum.EasingDirection.Out,
  1969.  
  1970. Enum.EasingStyle.Quart,
  1971.  
  1972. 0.1,
  1973.  
  1974. true
  1975.  
  1976. )
  1977.  
  1978. TweenService:Create(
  1979.  
  1980. Arrow,
  1981.  
  1982. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  1983.  
  1984. {Rotation = 0}
  1985.  
  1986. ):Play()
  1987.  
  1988. repeat
  1989.  
  1990. wait()
  1991.  
  1992. until DropdownFrame.Size == UDim2.new(0, 403, 0, 0)
  1993.  
  1994. DropdownFrame.Visible = false
  1995.  
  1996. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  1997.  
  1998. end
  1999.  
  2000. )
  2001.  
  2002.  
  2003.  
  2004. DropdownHolder.CanvasSize = UDim2.new(0, 0, 0, DropdownItemLayout.AbsoluteContentSize.Y + 15)
  2005.  
  2006. end
  2007.  
  2008.  
  2009.  
  2010. function dropfunc:Clear()
  2011.  
  2012. Title.Text = text
  2013.  
  2014. FrameSize = 0
  2015.  
  2016. ItemCount = 0
  2017.  
  2018.  
  2019.  
  2020. for i,v in next, DropdownHolder:GetChildren() do
  2021.  
  2022. if v.Name == "Item" then
  2023.  
  2024. v:Destroy()
  2025.  
  2026. end
  2027.  
  2028. end
  2029.  
  2030.  
  2031.  
  2032. DropdownFrame:TweenSize(
  2033.  
  2034. UDim2.new(0, 403, 0, 0),
  2035.  
  2036. Enum.EasingDirection.Out,
  2037.  
  2038. Enum.EasingStyle.Quart,
  2039.  
  2040. 0.1,
  2041.  
  2042. true
  2043.  
  2044. )
  2045.  
  2046. DropdownHolder:TweenSize(
  2047.  
  2048. UDim2.new(0, 386, 0, 0),
  2049.  
  2050. Enum.EasingDirection.Out,
  2051.  
  2052. Enum.EasingStyle.Quart,
  2053.  
  2054. 0.1,
  2055.  
  2056. true
  2057.  
  2058. )
  2059.  
  2060. TweenService:Create(
  2061.  
  2062. Arrow,
  2063.  
  2064. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2065.  
  2066. {Rotation = 0}
  2067.  
  2068. ):Play()
  2069.  
  2070. repeat
  2071.  
  2072. wait()
  2073.  
  2074. until DropdownFrame.Size == UDim2.new(0, 403, 0, 0)
  2075.  
  2076. DropdownFrame.Visible = false
  2077.  
  2078. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  2079.  
  2080. end
  2081.  
  2082.  
  2083.  
  2084. function dropfunc:Add(toadd)
  2085.  
  2086. ItemCount = ItemCount + 1
  2087.  
  2088.  
  2089.  
  2090. if ItemCount == 1 then
  2091.  
  2092. FrameSize = 39
  2093.  
  2094. elseif ItemCount == 2 then
  2095.  
  2096. FrameSize = 69
  2097.  
  2098. elseif ItemCount >= 3 then
  2099.  
  2100. FrameSize = 100
  2101.  
  2102. end
  2103.  
  2104.  
  2105.  
  2106. local Item = Instance.new("TextButton")
  2107.  
  2108. local ItemCorner = Instance.new("UICorner")
  2109.  
  2110.  
  2111.  
  2112. Item.Name = "Item"
  2113.  
  2114. Item.Parent = DropdownHolder
  2115.  
  2116. Item.BackgroundColor3 = Color3.fromRGB(32, 32, 32)
  2117.  
  2118. Item.Position = UDim2.new(0, 0, 0.0808080807, 0)
  2119.  
  2120. Item.Size = UDim2.new(0, 405, 0, 24)
  2121.  
  2122. Item.AutoButtonColor = false
  2123.  
  2124. Item.Font = Enum.Font.Gotham
  2125.  
  2126. Item.TextColor3 = Color3.fromRGB(255, 255, 255)
  2127.  
  2128. Item.TextSize = 14.000
  2129.  
  2130. Item.Text = toadd
  2131.  
  2132.  
  2133.  
  2134. ItemCorner.Name = "ItemCorner"
  2135.  
  2136. ItemCorner.Parent = Item
  2137.  
  2138.  
  2139.  
  2140. Item.MouseEnter:Connect(
  2141.  
  2142. function()
  2143.  
  2144. TweenService:Create(
  2145.  
  2146. Item,
  2147.  
  2148. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  2149.  
  2150. {BackgroundColor3 = Color3.fromRGB(37, 37, 37)}
  2151.  
  2152. ):Play()
  2153.  
  2154. end
  2155.  
  2156. )
  2157.  
  2158. Item.MouseLeave:Connect(
  2159.  
  2160. function()
  2161.  
  2162. TweenService:Create(
  2163.  
  2164. Item,
  2165.  
  2166. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  2167.  
  2168. {BackgroundColor3 = Color3.fromRGB(32, 32, 32)}
  2169.  
  2170. ):Play()
  2171.  
  2172. end
  2173.  
  2174. )
  2175.  
  2176.  
  2177.  
  2178. Item.MouseButton1Click:Connect(
  2179.  
  2180. function()
  2181.  
  2182. Title.Text = text .. " - " .. toadd
  2183.  
  2184. pcall(callback, toadd)
  2185.  
  2186. DropToggled = false
  2187.  
  2188. DropdownFrame:TweenSize(
  2189.  
  2190. UDim2.new(0, 403, 0, 0),
  2191.  
  2192. Enum.EasingDirection.Out,
  2193.  
  2194. Enum.EasingStyle.Quart,
  2195.  
  2196. 0.1,
  2197.  
  2198. true
  2199.  
  2200. )
  2201.  
  2202. DropdownHolder:TweenSize(
  2203.  
  2204. UDim2.new(0, 386, 0, 0),
  2205.  
  2206. Enum.EasingDirection.Out,
  2207.  
  2208. Enum.EasingStyle.Quart,
  2209.  
  2210. 0.1,
  2211.  
  2212. true
  2213.  
  2214. )
  2215.  
  2216. TweenService:Create(
  2217.  
  2218. Arrow,
  2219.  
  2220. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  2221.  
  2222. {Rotation = 0}
  2223.  
  2224. ):Play()
  2225.  
  2226. repeat
  2227.  
  2228. wait()
  2229.  
  2230. until DropdownFrame.Size == UDim2.new(0, 403, 0, 0)
  2231.  
  2232. DropdownFrame.Visible = false
  2233.  
  2234. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  2235.  
  2236. end
  2237.  
  2238. )
  2239.  
  2240.  
  2241.  
  2242. DropdownHolder.CanvasSize = UDim2.new(0, 0, 0, DropdownItemLayout.AbsoluteContentSize.Y + 15)
  2243.  
  2244. end
  2245.  
  2246.  
  2247.  
  2248. return dropfunc
  2249.  
  2250. end
  2251.  
  2252. function ContainerItems:Colorpicker(text, preset, callback)
  2253.  
  2254. local ColorPickerToggled = false
  2255.  
  2256. local OldToggleColor = Color3.fromRGB(0, 0, 0)
  2257.  
  2258. local OldColor = Color3.fromRGB(0, 0, 0)
  2259.  
  2260. local OldColorSelectionPosition = nil
  2261.  
  2262. local OldHueSelectionPosition = nil
  2263.  
  2264. local ColorH, ColorS, ColorV = 1, 1, 1
  2265.  
  2266. local RainbowColorPicker = false
  2267.  
  2268. local ColorPickerInput = nil
  2269.  
  2270. local ColorInput = nil
  2271.  
  2272. local HueInput = nil
  2273.  
  2274.  
  2275.  
  2276. local Colorpicker = Instance.new("TextButton")
  2277.  
  2278. local Title = Instance.new("TextLabel")
  2279.  
  2280. local BoxColor = Instance.new("Frame")
  2281.  
  2282. local BoxcolorCorner = Instance.new("UICorner")
  2283.  
  2284. local ColorpickerCorner = Instance.new("UICorner")
  2285.  
  2286.  
  2287.  
  2288. Colorpicker.Name = "Colorpicker"
  2289.  
  2290. Colorpicker.Parent = Container
  2291.  
  2292. Colorpicker.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  2293.  
  2294. Colorpicker.Position = UDim2.new(-0.747557044, 0, 0.729113936, 0)
  2295.  
  2296. Colorpicker.Size = UDim2.new(0, 405, 0, 40)
  2297.  
  2298. Colorpicker.AutoButtonColor = false
  2299.  
  2300. Colorpicker.Font = Enum.Font.Gotham
  2301.  
  2302. Colorpicker.Text = ""
  2303.  
  2304. Colorpicker.TextColor3 = Color3.fromRGB(255, 255, 255)
  2305.  
  2306. Colorpicker.TextSize = 14.000
  2307.  
  2308.  
  2309.  
  2310. Title.Name = "Title"
  2311.  
  2312. Title.Parent = Colorpicker
  2313.  
  2314. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2315.  
  2316. Title.BackgroundTransparency = 1.000
  2317.  
  2318. Title.Position = UDim2.new(0.0198511165, 0, 0, 0)
  2319.  
  2320. Title.Size = UDim2.new(0, 405, 0, 40)
  2321.  
  2322. Title.Font = Enum.Font.Gotham
  2323.  
  2324. Title.Text = text
  2325.  
  2326. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  2327.  
  2328. Title.TextSize = 15.000
  2329.  
  2330. Title.TextXAlignment = Enum.TextXAlignment.Left
  2331.  
  2332.  
  2333.  
  2334. BoxColor.Name = "Boxcolor"
  2335.  
  2336. BoxColor.Parent = Colorpicker
  2337.  
  2338. BoxColor.BackgroundColor3 = preset
  2339.  
  2340. BoxColor.Position = UDim2.new(0.88, 0, 0.3, 0)
  2341.  
  2342. BoxColor.Size = UDim2.new(0, 36, 0, 19)
  2343.  
  2344.  
  2345.  
  2346. BoxcolorCorner.CornerRadius = UDim.new(0, 6)
  2347.  
  2348. BoxcolorCorner.Name = "BoxcolorCorner"
  2349.  
  2350. BoxcolorCorner.Parent = BoxColor
  2351.  
  2352.  
  2353.  
  2354. ColorpickerCorner.CornerRadius = UDim.new(0, 4)
  2355.  
  2356. ColorpickerCorner.Name = "ColorpickerCorner"
  2357.  
  2358. ColorpickerCorner.Parent = Colorpicker
  2359.  
  2360.  
  2361.  
  2362. local ColorpickerFrame = Instance.new("Frame")
  2363.  
  2364. local DropdownFrameCorner = Instance.new("UICorner")
  2365.  
  2366. local Hue = Instance.new("ImageLabel")
  2367.  
  2368. local HueCorner = Instance.new("UICorner")
  2369.  
  2370. local HueGradient = Instance.new("UIGradient")
  2371.  
  2372. local HueSelection = Instance.new("ImageLabel")
  2373.  
  2374. local Color = Instance.new("ImageLabel")
  2375.  
  2376. local ColorCorner = Instance.new("UICorner")
  2377.  
  2378. local ColorSelection = Instance.new("ImageLabel")
  2379.  
  2380. local Confirm = Instance.new("TextButton")
  2381.  
  2382. local ButtonCorner = Instance.new("UICorner")
  2383.  
  2384. local RainbowToggle = Instance.new("TextButton")
  2385.  
  2386. local RainbowToggleCorner = Instance.new("UICorner")
  2387.  
  2388. local RainbowTitle = Instance.new("TextLabel")
  2389.  
  2390. local RainbowToggleFrame = Instance.new("Frame")
  2391.  
  2392. local RainbowToggleFrameCorner = Instance.new("UICorner")
  2393.  
  2394. local RainbowToggleFrameRainbow = Instance.new("Frame")
  2395.  
  2396. local RainbowToggleFrameRainbowCorner = Instance.new("UICorner")
  2397.  
  2398. local RainbowToggleDot = Instance.new("Frame")
  2399.  
  2400. local RainbowToggleDotCorner = Instance.new("UICorner")
  2401.  
  2402.  
  2403.  
  2404. ColorpickerFrame.Name = "ColorpickerFrame"
  2405.  
  2406. ColorpickerFrame.Parent = Container
  2407.  
  2408. ColorpickerFrame.BackgroundColor3 = Color3.fromRGB(32, 32, 32)
  2409.  
  2410. ColorpickerFrame.BorderSizePixel = 0
  2411.  
  2412. ColorpickerFrame.Position = UDim2.new(0.165624991, 0, 0.671052635, 0)
  2413.  
  2414. ColorpickerFrame.Size = UDim2.new(0, 403, 0, 0)
  2415.  
  2416. ColorpickerFrame.Visible = false
  2417.  
  2418. ColorpickerFrame.ClipsDescendants = true
  2419.  
  2420.  
  2421.  
  2422. DropdownFrameCorner.Name = "DropdownFrameCorner"
  2423.  
  2424. DropdownFrameCorner.Parent = ColorpickerFrame
  2425.  
  2426.  
  2427.  
  2428. Hue.Name = "Hue"
  2429.  
  2430. Hue.Parent = ColorpickerFrame
  2431.  
  2432. Hue.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2433.  
  2434. Hue.Position = UDim2.new(0, 209, 0, 9)
  2435.  
  2436. Hue.Size = UDim2.new(0, 25, 0, 80)
  2437.  
  2438.  
  2439.  
  2440. HueCorner.CornerRadius = UDim.new(0, 3)
  2441.  
  2442. HueCorner.Name = "HueCorner"
  2443.  
  2444. HueCorner.Parent = Hue
  2445.  
  2446.  
  2447.  
  2448. HueGradient.Color =
  2449.  
  2450. ColorSequence.new {
  2451.  
  2452. ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 4)),
  2453.  
  2454. ColorSequenceKeypoint.new(0.20, Color3.fromRGB(234, 255, 0)),
  2455.  
  2456. ColorSequenceKeypoint.new(0.40, Color3.fromRGB(21, 255, 0)),
  2457.  
  2458. ColorSequenceKeypoint.new(0.60, Color3.fromRGB(0, 255, 255)),
  2459.  
  2460. ColorSequenceKeypoint.new(0.80, Color3.fromRGB(0, 17, 255)),
  2461.  
  2462. ColorSequenceKeypoint.new(0.90, Color3.fromRGB(255, 0, 251)),
  2463.  
  2464. ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 4))
  2465.  
  2466. }
  2467.  
  2468. HueGradient.Rotation = 270
  2469.  
  2470. HueGradient.Name = "HueGradient"
  2471.  
  2472. HueGradient.Parent = Hue
  2473.  
  2474.  
  2475.  
  2476. HueSelection.Name = "HueSelection"
  2477.  
  2478. HueSelection.Parent = Hue
  2479.  
  2480. HueSelection.AnchorPoint = Vector2.new(0.5, 0.5)
  2481.  
  2482. HueSelection.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2483.  
  2484. HueSelection.BackgroundTransparency = 1.000
  2485.  
  2486. HueSelection.Position = UDim2.new(0.48, 0, 1 - select(1, Color3.toHSV(preset)))
  2487.  
  2488. HueSelection.Size = UDim2.new(0, 18, 0, 18)
  2489.  
  2490. HueSelection.Image = "http://www.roblox.com/asset/?id=4805639000"
  2491.  
  2492.  
  2493.  
  2494. Color.Name = "Color"
  2495.  
  2496. Color.Parent = ColorpickerFrame
  2497.  
  2498. Color.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  2499.  
  2500. Color.Position = UDim2.new(0, 9, 0, 9)
  2501.  
  2502. Color.Size = UDim2.new(0, 194, 0, 80)
  2503.  
  2504. Color.ZIndex = 10
  2505.  
  2506. Color.Image = "rbxassetid://4155801252"
  2507.  
  2508.  
  2509.  
  2510. ColorCorner.CornerRadius = UDim.new(0, 3)
  2511.  
  2512. ColorCorner.Name = "ColorCorner"
  2513.  
  2514. ColorCorner.Parent = Color
  2515.  
  2516.  
  2517.  
  2518. ColorSelection.Name = "ColorSelection"
  2519.  
  2520. ColorSelection.Parent = Color
  2521.  
  2522. ColorSelection.AnchorPoint = Vector2.new(0.5, 0.5)
  2523.  
  2524. ColorSelection.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2525.  
  2526. ColorSelection.BackgroundTransparency = 1.000
  2527.  
  2528. ColorSelection.Position = UDim2.new(preset and select(3, Color3.toHSV(preset)))
  2529.  
  2530. ColorSelection.Size = UDim2.new(0, 18, 0, 18)
  2531.  
  2532. ColorSelection.Image = "http://www.roblox.com/asset/?id=4805639000"
  2533.  
  2534. ColorSelection.ScaleType = Enum.ScaleType.Fit
  2535.  
  2536.  
  2537.  
  2538. Confirm.Name = "Confirm"
  2539.  
  2540. Confirm.Parent = ColorpickerFrame
  2541.  
  2542. Confirm.BackgroundColor3 = Color3.fromRGB(32, 32, 32)
  2543.  
  2544. Confirm.BackgroundTransparency = 0.010
  2545.  
  2546. Confirm.Position = UDim2.new(0.612244904, 0, 0.0900000036, 0)
  2547.  
  2548. Confirm.Size = UDim2.new(0, 145, 0, 27)
  2549.  
  2550. Confirm.AutoButtonColor = false
  2551.  
  2552. Confirm.Font = Enum.Font.Gotham
  2553.  
  2554. Confirm.Text = "Confirm"
  2555.  
  2556. Confirm.TextColor3 = Color3.fromRGB(255, 255, 255)
  2557.  
  2558. Confirm.TextSize = 14.000
  2559.  
  2560.  
  2561.  
  2562. ButtonCorner.Name = "ButtonCorner"
  2563.  
  2564. ButtonCorner.Parent = Confirm
  2565.  
  2566.  
  2567.  
  2568. RainbowToggle.Name = "RainbowToggle"
  2569.  
  2570. RainbowToggle.Parent = ColorpickerFrame
  2571.  
  2572. RainbowToggle.BackgroundColor3 = Color3.fromRGB(32, 32, 32)
  2573.  
  2574. RainbowToggle.Position = UDim2.new(0.610732794, 0, 0.431324542, 0)
  2575.  
  2576. RainbowToggle.Size = UDim2.new(0, 145, 0, 27)
  2577.  
  2578. RainbowToggle.AutoButtonColor = false
  2579.  
  2580. RainbowToggle.Font = Enum.Font.Gotham
  2581.  
  2582. RainbowToggle.Text = ""
  2583.  
  2584. RainbowToggle.TextColor3 = Color3.fromRGB(255, 255, 255)
  2585.  
  2586. RainbowToggle.TextSize = 14.000
  2587.  
  2588.  
  2589.  
  2590. RainbowToggleCorner.Name = "RainbowToggleCorner"
  2591.  
  2592. RainbowToggleCorner.Parent = RainbowToggle
  2593.  
  2594.  
  2595.  
  2596. RainbowTitle.Name = "RainbowTitle"
  2597.  
  2598. RainbowTitle.Parent = RainbowToggle
  2599.  
  2600. RainbowTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2601.  
  2602. RainbowTitle.BackgroundTransparency = 1.000
  2603.  
  2604. RainbowTitle.Position = UDim2.new(0.0204080511, 0, 0, 0)
  2605.  
  2606. RainbowTitle.Size = UDim2.new(0, 29, 0, 27)
  2607.  
  2608. RainbowTitle.Font = Enum.Font.Gotham
  2609.  
  2610. RainbowTitle.Text = "Rainbow"
  2611.  
  2612. RainbowTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  2613.  
  2614. RainbowTitle.TextSize = 14.000
  2615.  
  2616. RainbowTitle.TextXAlignment = Enum.TextXAlignment.Left
  2617.  
  2618.  
  2619.  
  2620. RainbowToggleFrame.Name = "RainbowToggleFrame"
  2621.  
  2622. RainbowToggleFrame.Parent = RainbowToggle
  2623.  
  2624. RainbowToggleFrame.BackgroundColor3 = Color3.fromRGB(22, 23, 27)
  2625.  
  2626. RainbowToggleFrame.Position = UDim2.new(0.693, 0, 0.142857149, 0)
  2627.  
  2628. RainbowToggleFrame.Size = UDim2.new(0, 36, 0, 19)
  2629.  
  2630.  
  2631.  
  2632. RainbowToggleFrameCorner.CornerRadius = UDim.new(1, 0)
  2633.  
  2634. RainbowToggleFrameCorner.Name = "RainbowToggleFrameCorner"
  2635.  
  2636. RainbowToggleFrameCorner.Parent = RainbowToggleFrame
  2637.  
  2638.  
  2639.  
  2640. RainbowToggleFrameRainbow.Name = "RainbowToggleFrameRainbow"
  2641.  
  2642. RainbowToggleFrameRainbow.Parent = RainbowToggleFrame
  2643.  
  2644. RainbowToggleFrameRainbow.BackgroundColor3 = Color3.fromRGB(67,136,246)
  2645.  
  2646. RainbowToggleFrameRainbow.BackgroundTransparency = 1.000
  2647.  
  2648. RainbowToggleFrameRainbow.Position = UDim2.new(-0.0198377371, 0, 0.00601506233, 0)
  2649.  
  2650. RainbowToggleFrameRainbow.Size = UDim2.new(0, 36, 0, 19)
  2651.  
  2652.  
  2653.  
  2654. RainbowToggleFrameRainbowCorner.CornerRadius = UDim.new(1, 0)
  2655.  
  2656. RainbowToggleFrameRainbowCorner.Name = "RainbowToggleFrameRainbowCorner"
  2657.  
  2658. RainbowToggleFrameRainbowCorner.Parent = RainbowToggleFrameRainbow
  2659.  
  2660.  
  2661.  
  2662. RainbowToggleDot.Name = "RainbowToggleDot"
  2663.  
  2664. RainbowToggleDot.Parent = RainbowToggleFrameRainbow
  2665.  
  2666. RainbowToggleDot.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2667.  
  2668. RainbowToggleDot.Position = UDim2.new(0.104999997, -3, 0.289000005, -4)
  2669.  
  2670. RainbowToggleDot.Size = UDim2.new(0, 16, 0, 16)
  2671.  
  2672.  
  2673.  
  2674. RainbowToggleDotCorner.CornerRadius = UDim.new(1, 0)
  2675.  
  2676. RainbowToggleDotCorner.Name = "RainbowToggleDotCorner"
  2677.  
  2678. RainbowToggleDotCorner.Parent = RainbowToggleDot
  2679.  
  2680.  
  2681.  
  2682. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  2683.  
  2684.  
  2685.  
  2686. Colorpicker.MouseEnter:Connect(
  2687.  
  2688. function()
  2689.  
  2690. TweenService:Create(
  2691.  
  2692. Colorpicker,
  2693.  
  2694. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  2695.  
  2696. {BackgroundColor3 = Color3.fromRGB(45, 45, 45)}
  2697.  
  2698. ):Play()
  2699.  
  2700. end
  2701.  
  2702. )
  2703.  
  2704. Colorpicker.MouseLeave:Connect(
  2705.  
  2706. function()
  2707.  
  2708. TweenService:Create(
  2709.  
  2710. Colorpicker,
  2711.  
  2712. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  2713.  
  2714. {BackgroundColor3 = Color3.fromRGB(35, 35, 35)}
  2715.  
  2716. ):Play()
  2717.  
  2718. end
  2719.  
  2720. )
  2721.  
  2722.  
  2723.  
  2724. local function UpdateColorPicker(nope)
  2725.  
  2726. BoxColor.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
  2727.  
  2728. Color.BackgroundColor3 = Color3.fromHSV(ColorH, 1, 1)
  2729.  
  2730.  
  2731.  
  2732. pcall(callback, BoxColor.BackgroundColor3)
  2733.  
  2734. end
  2735.  
  2736.  
  2737.  
  2738. ColorH =
  2739.  
  2740. 1 -
  2741.  
  2742. (math.clamp(HueSelection.AbsolutePosition.Y - Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) /
  2743.  
  2744. Hue.AbsoluteSize.Y)
  2745.  
  2746. ColorS =
  2747.  
  2748. (math.clamp(ColorSelection.AbsolutePosition.X - Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) /
  2749.  
  2750. Color.AbsoluteSize.X)
  2751.  
  2752. ColorV =
  2753.  
  2754. 1 -
  2755.  
  2756. (math.clamp(ColorSelection.AbsolutePosition.Y - Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) /
  2757.  
  2758. Color.AbsoluteSize.Y)
  2759.  
  2760.  
  2761.  
  2762. BoxColor.BackgroundColor3 = preset
  2763.  
  2764. Color.BackgroundColor3 = preset
  2765.  
  2766. pcall(callback, BoxColor.BackgroundColor3)
  2767.  
  2768.  
  2769.  
  2770. Color.InputBegan:Connect(
  2771.  
  2772. function(input)
  2773.  
  2774. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  2775.  
  2776. if RainbowColorPicker then
  2777.  
  2778. return
  2779.  
  2780. end
  2781.  
  2782.  
  2783.  
  2784. if ColorInput then
  2785.  
  2786. ColorInput:Disconnect()
  2787.  
  2788. end
  2789.  
  2790.  
  2791.  
  2792. ColorInput =
  2793.  
  2794. RunService.RenderStepped:Connect(
  2795.  
  2796. function()
  2797.  
  2798. local ColorX =
  2799.  
  2800. (math.clamp(Mouse.X - Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) /
  2801.  
  2802. Color.AbsoluteSize.X)
  2803.  
  2804. local ColorY =
  2805.  
  2806. (math.clamp(Mouse.Y - Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) /
  2807.  
  2808. Color.AbsoluteSize.Y)
  2809.  
  2810.  
  2811.  
  2812. ColorSelection.Position = UDim2.new(ColorX, 0, ColorY, 0)
  2813.  
  2814. ColorS = ColorX
  2815.  
  2816. ColorV = 1 - ColorY
  2817.  
  2818.  
  2819.  
  2820. UpdateColorPicker(true)
  2821.  
  2822. end
  2823.  
  2824. )
  2825.  
  2826. end
  2827.  
  2828. end
  2829.  
  2830. )
  2831.  
  2832.  
  2833.  
  2834. Color.InputEnded:Connect(
  2835.  
  2836. function(input)
  2837.  
  2838. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  2839.  
  2840. if ColorInput then
  2841.  
  2842. ColorInput:Disconnect()
  2843.  
  2844. end
  2845.  
  2846. end
  2847.  
  2848. end
  2849.  
  2850. )
  2851.  
  2852.  
  2853.  
  2854. Hue.InputBegan:Connect(
  2855.  
  2856. function(input)
  2857.  
  2858. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  2859.  
  2860. if RainbowColorPicker then
  2861.  
  2862. return
  2863.  
  2864. end
  2865.  
  2866.  
  2867.  
  2868. if HueInput then
  2869.  
  2870. HueInput:Disconnect()
  2871.  
  2872. end
  2873.  
  2874.  
  2875.  
  2876. HueInput =
  2877.  
  2878. RunService.RenderStepped:Connect(
  2879.  
  2880. function()
  2881.  
  2882. local HueY =
  2883.  
  2884. (math.clamp(Mouse.Y - Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) /
  2885.  
  2886. Hue.AbsoluteSize.Y)
  2887.  
  2888.  
  2889.  
  2890. HueSelection.Position = UDim2.new(0.48, 0, HueY, 0)
  2891.  
  2892. ColorH = 1 - HueY
  2893.  
  2894.  
  2895.  
  2896. UpdateColorPicker(true)
  2897.  
  2898. end
  2899.  
  2900. )
  2901.  
  2902. end
  2903.  
  2904. end
  2905.  
  2906. )
  2907.  
  2908.  
  2909.  
  2910. Hue.InputEnded:Connect(
  2911.  
  2912. function(input)
  2913.  
  2914. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  2915.  
  2916. if HueInput then
  2917.  
  2918. HueInput:Disconnect()
  2919.  
  2920. end
  2921.  
  2922. end
  2923.  
  2924. end
  2925.  
  2926. )
  2927.  
  2928.  
  2929.  
  2930. RainbowToggle.MouseButton1Down:Connect(
  2931.  
  2932. function()
  2933.  
  2934. RainbowColorPicker = not RainbowColorPicker
  2935.  
  2936.  
  2937.  
  2938. if ColorInput then
  2939.  
  2940. ColorInput:Disconnect()
  2941.  
  2942. end
  2943.  
  2944.  
  2945.  
  2946. if HueInput then
  2947.  
  2948. HueInput:Disconnect()
  2949.  
  2950. end
  2951.  
  2952.  
  2953.  
  2954. if RainbowColorPicker then
  2955.  
  2956. TweenService:Create(
  2957.  
  2958. RainbowToggleFrameRainbow,
  2959.  
  2960. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  2961.  
  2962. {BackgroundTransparency = 0}
  2963.  
  2964. ):Play()
  2965.  
  2966. TweenService:Create(
  2967.  
  2968. RainbowToggleDot,
  2969.  
  2970. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  2971.  
  2972. {Position = UDim2.new(0.595, -3, 0.289000005, -4)}
  2973.  
  2974. ):Play()
  2975.  
  2976.  
  2977.  
  2978. OldToggleColor = BoxColor.BackgroundColor3
  2979.  
  2980. OldColor = Color.BackgroundColor3
  2981.  
  2982. OldColorSelectionPosition = ColorSelection.Position
  2983.  
  2984. OldHueSelectionPosition = HueSelection.Position
  2985.  
  2986.  
  2987.  
  2988. while RainbowColorPicker do
  2989.  
  2990. BoxColor.BackgroundColor3 = Color3.fromHSV(VLib.RainbowColorValue, 1, 1)
  2991.  
  2992. Color.BackgroundColor3 = Color3.fromHSV(VLib.RainbowColorValue, 1, 1)
  2993.  
  2994.  
  2995.  
  2996. ColorSelection.Position = UDim2.new(1, 0, 0, 0)
  2997.  
  2998. HueSelection.Position = UDim2.new(0.48, 0, 0, VLib.HueSelectionPosition)
  2999.  
  3000.  
  3001.  
  3002. pcall(callback, BoxColor.BackgroundColor3)
  3003.  
  3004. wait()
  3005.  
  3006. end
  3007.  
  3008. elseif not RainbowColorPicker then
  3009.  
  3010. TweenService:Create(
  3011.  
  3012. RainbowToggleFrameRainbow,
  3013.  
  3014. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  3015.  
  3016. {BackgroundTransparency = 1}
  3017.  
  3018. ):Play()
  3019.  
  3020. TweenService:Create(
  3021.  
  3022. RainbowToggleDot,
  3023.  
  3024. TweenInfo.new(.2, Enum.EasingStyle.Quad),
  3025.  
  3026. {Position = UDim2.new(0.104999997, -3, 0.289000005, -4)}
  3027.  
  3028. ):Play()
  3029.  
  3030.  
  3031.  
  3032. BoxColor.BackgroundColor3 = OldToggleColor
  3033.  
  3034. Color.BackgroundColor3 = OldColor
  3035.  
  3036.  
  3037.  
  3038. ColorSelection.Position = OldColorSelectionPosition
  3039.  
  3040. HueSelection.Position = OldHueSelectionPosition
  3041.  
  3042.  
  3043.  
  3044. pcall(callback, BoxColor.BackgroundColor3)
  3045.  
  3046. end
  3047.  
  3048. end
  3049.  
  3050. )
  3051.  
  3052.  
  3053.  
  3054. Colorpicker.MouseButton1Click:Connect(
  3055.  
  3056. function()
  3057.  
  3058. if ColorPickerToggled == false then
  3059.  
  3060. ColorPickerToggled = not ColorPickerToggled
  3061.  
  3062. ColorpickerFrame.Visible = true
  3063.  
  3064. ColorpickerFrame:TweenSize(
  3065.  
  3066. UDim2.new(0, 403, 0, 100),
  3067.  
  3068. Enum.EasingDirection.Out,
  3069.  
  3070. Enum.EasingStyle.Quart,
  3071.  
  3072. 0.1,
  3073.  
  3074. true
  3075.  
  3076. )
  3077.  
  3078. repeat
  3079.  
  3080. wait()
  3081.  
  3082. until ColorpickerFrame.Size == UDim2.new(0, 403, 0, 100)
  3083.  
  3084. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  3085.  
  3086. else
  3087.  
  3088. ColorPickerToggled = not ColorPickerToggled
  3089.  
  3090. ColorpickerFrame:TweenSize(
  3091.  
  3092. UDim2.new(0, 403, 0, 0),
  3093.  
  3094. Enum.EasingDirection.Out,
  3095.  
  3096. Enum.EasingStyle.Quart,
  3097.  
  3098. 0.1,
  3099.  
  3100. true
  3101.  
  3102. )
  3103.  
  3104. repeat
  3105.  
  3106. wait()
  3107.  
  3108. until ColorpickerFrame.Size == UDim2.new(0, 403, 0, 0)
  3109.  
  3110. ColorpickerFrame.Visible = false
  3111.  
  3112. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  3113.  
  3114. end
  3115.  
  3116. end
  3117.  
  3118. )
  3119.  
  3120.  
  3121.  
  3122. Confirm.MouseButton1Click:Connect(
  3123.  
  3124. function()
  3125.  
  3126. ColorPickerToggled = not ColorPickerToggled
  3127.  
  3128. ColorpickerFrame:TweenSize(
  3129.  
  3130. UDim2.new(0, 403, 0, 0),
  3131.  
  3132. Enum.EasingDirection.Out,
  3133.  
  3134. Enum.EasingStyle.Quart,
  3135.  
  3136. 0.1,
  3137.  
  3138. true
  3139.  
  3140. )
  3141.  
  3142. repeat
  3143.  
  3144. wait()
  3145.  
  3146. until ColorpickerFrame.Size == UDim2.new(0, 403, 0, 0)
  3147.  
  3148. ColorpickerFrame.Visible = false
  3149.  
  3150. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  3151.  
  3152. end)
  3153.  
  3154.  
  3155.  
  3156. coroutine.wrap(
  3157.  
  3158. function()
  3159.  
  3160. while wait() do
  3161.  
  3162.  
  3163.  
  3164. end
  3165.  
  3166. end
  3167.  
  3168. )()
  3169.  
  3170. end
  3171.  
  3172. function ContainerItems:Label(text)
  3173.  
  3174. local labelfunc = {}
  3175.  
  3176. local Label = Instance.new("TextButton")
  3177.  
  3178. local LabelCorner = Instance.new("UICorner")
  3179.  
  3180.  
  3181.  
  3182. Label.Name = "Label"
  3183.  
  3184. Label.Parent = Container
  3185.  
  3186. Label.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  3187.  
  3188. Label.Size = UDim2.new(0, 405, 0, 40)
  3189.  
  3190. Label.AutoButtonColor = false
  3191.  
  3192. Label.Font = Enum.Font.Gotham
  3193.  
  3194. Label.TextColor3 = Color3.fromRGB(255, 255, 255)
  3195.  
  3196. Label.TextSize = 17.000
  3197.  
  3198. Label.Text = text
  3199.  
  3200.  
  3201.  
  3202. LabelCorner.CornerRadius = UDim.new(0, 5)
  3203.  
  3204. LabelCorner.Name = "LabelCorner"
  3205.  
  3206. LabelCorner.Parent = Label
  3207.  
  3208.  
  3209.  
  3210. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  3211.  
  3212.  
  3213.  
  3214. function labelfunc:Refresh(tochange)
  3215.  
  3216. Label.Text = tochange
  3217.  
  3218. end
  3219.  
  3220.  
  3221.  
  3222. return labelfunc
  3223.  
  3224. end
  3225.  
  3226.  
  3227.  
  3228. function ContainerItems:line()
  3229.  
  3230. local labelfunc = {}
  3231.  
  3232. local Label = Instance.new("TextButton")
  3233.  
  3234. local LabelCorner = Instance.new("UICorner")
  3235.  
  3236.  
  3237.  
  3238. Label.Name = "Label"
  3239.  
  3240. Label.Parent = Container
  3241.  
  3242. Label.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  3243.  
  3244. Label.Size = UDim2.new(0, 405, 0, 5)
  3245.  
  3246. Label.AutoButtonColor = false
  3247.  
  3248. Label.Font = Enum.Font.Gotham
  3249.  
  3250. Label.TextColor3 = Color3.fromRGB(255, 255, 255)
  3251.  
  3252. Label.TextSize = 17.000
  3253.  
  3254. Label.Text = ""
  3255.  
  3256.  
  3257.  
  3258. LabelCorner.CornerRadius = UDim.new(0, 5)
  3259.  
  3260. LabelCorner.Name = "LabelCorner"
  3261.  
  3262. LabelCorner.Parent = Label
  3263.  
  3264.  
  3265.  
  3266. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  3267.  
  3268.  
  3269.  
  3270. function labelfunc:Refresh(tochange)
  3271.  
  3272. Label.Text = tochange
  3273.  
  3274. end
  3275.  
  3276.  
  3277.  
  3278. return labelfunc
  3279.  
  3280. end
  3281.  
  3282.  
  3283.  
  3284. function ContainerItems:Bind(Title, keybind_options, callback)
  3285.  
  3286. local keybind_data = {}
  3287.  
  3288.  
  3289.  
  3290. local Keybind = Instance.new("TextButton")
  3291.  
  3292. local Title = Instance.new("TextLabel")
  3293.  
  3294. local KeybindFrame = Instance.new("Frame")
  3295.  
  3296. local KeybindFrameCorner = Instance.new("UICorner")
  3297.  
  3298. local TextButton = Instance.new("TextButton")
  3299.  
  3300. local KeybindCorner = Instance.new("UICorner")
  3301.  
  3302. local ContainerLayout = Instance.new("UIListLayout")
  3303.  
  3304.  
  3305.  
  3306.  
  3307.  
  3308. Keybind.Name = "Keybind"
  3309.  
  3310. Keybind.Parent = Container
  3311.  
  3312. Keybind.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  3313.  
  3314. Keybind.Position = UDim2.new(-0.747557044, 0, 0.729113936, 0)
  3315.  
  3316. Keybind.Size = UDim2.new(0, 405, 0, 40)
  3317.  
  3318. Keybind.AutoButtonColor = false
  3319.  
  3320. Keybind.Font = Enum.Font.Gotham
  3321.  
  3322. Keybind.Text = ""
  3323.  
  3324. Keybind.TextColor3 = Color3.fromRGB(255, 255, 255)
  3325.  
  3326. Keybind.TextSize = 14.000
  3327.  
  3328.  
  3329.  
  3330. Title.Name = "Title"
  3331.  
  3332. Title.Parent = Keybind
  3333.  
  3334. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3335.  
  3336. Title.BackgroundTransparency = 1.000
  3337.  
  3338. Title.Position = UDim2.new(0.0198511165, 0, 0, 0)
  3339.  
  3340. Title.Size = UDim2.new(0, 405, 0, 40)
  3341.  
  3342. Title.Font = Enum.Font.Gotham
  3343.  
  3344. Title.Text = "Keybind"
  3345.  
  3346. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  3347.  
  3348. Title.TextSize = 15.000
  3349.  
  3350. Title.TextXAlignment = Enum.TextXAlignment.Left
  3351.  
  3352.  
  3353.  
  3354. KeybindFrame.Name = "KeybindFrame"
  3355.  
  3356. KeybindFrame.Parent = Keybind
  3357.  
  3358. KeybindFrame.BackgroundColor3 = Color3.fromRGB(56, 56, 56)
  3359.  
  3360. KeybindFrame.Position = UDim2.new(0.650124013, 0, 0.159999996, 0)
  3361.  
  3362. KeybindFrame.Size = UDim2.new(0, 134, 0, 24)
  3363.  
  3364.  
  3365.  
  3366. KeybindFrameCorner.CornerRadius = UDim.new(0, 6)
  3367.  
  3368. KeybindFrameCorner.Name = "KeybindFrameCorner"
  3369.  
  3370. KeybindFrameCorner.Parent = KeybindFrame
  3371.  
  3372.  
  3373.  
  3374. TextButton.Parent = KeybindFrame
  3375.  
  3376. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3377.  
  3378. TextButton.BackgroundTransparency = 1.000
  3379.  
  3380. TextButton.Size = UDim2.new(0, 134, 0, 23)
  3381.  
  3382. TextButton.Font = Enum.Font.Gotham
  3383.  
  3384. TextButton.Text = "Keybind"
  3385.  
  3386. TextButton.TextColor3 = Color3.fromRGB(178, 178, 178)
  3387.  
  3388. TextButton.TextSize = 15.000
  3389.  
  3390.  
  3391.  
  3392. KeybindCorner.CornerRadius = UDim.new(0, 6)
  3393.  
  3394. KeybindCorner.Name = "KeybindCorner"
  3395.  
  3396. KeybindCorner.Parent = Keybind
  3397.  
  3398.  
  3399.  
  3400. ContainerLayout.Name = "ContainerLayout"
  3401.  
  3402. ContainerLayout.Parent = Container
  3403.  
  3404. ContainerLayout.SortOrder = Enum.SortOrder.LayoutOrder
  3405.  
  3406. ContainerLayout.Padding = UDim.new(0, 15)
  3407.  
  3408.  
  3409.  
  3410. local UIS = game:GetService('UserInputService')
  3411.  
  3412.  
  3413.  
  3414.  
  3415.  
  3416. keybind_name = tostring(keybind_name or "New Keybind")
  3417.  
  3418. callback = typeof(callback) == "function" and callback or function()end
  3419.  
  3420. keybind_options = typeof(keybind_options) == "table" and keybind_options or {}
  3421.  
  3422. keybind_options = {
  3423.  
  3424. ["standard"] = keybind_options.standard or Enum.KeyCode.RightShift,
  3425.  
  3426. }
  3427.  
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.  
  3434. callback = typeof(callback) == "function" and callback or function()end
  3435.  
  3436. keybind_options = typeof(keybind_options) == "table" and keybind_options or {}
  3437.  
  3438. keybind_options = {
  3439.  
  3440. ["standard"] = keybind_options.standard or Enum.KeyCode.RightShift,
  3441.  
  3442. }
  3443.  
  3444.  
  3445.  
  3446. local shortkeys = { -- thanks to stroketon for helping me out with this
  3447.  
  3448. RightControl = 'RightCtrl',
  3449.  
  3450. LeftControl = 'LeftCtrl',
  3451.  
  3452. LeftShift = 'LShift',
  3453.  
  3454. RightShift = 'RShift',
  3455.  
  3456. MouseButton1 = "Mouse1",
  3457.  
  3458. MouseButton2 = "Mouse2"
  3459.  
  3460. }
  3461.  
  3462. local checks = {
  3463.  
  3464. binding = false,
  3465.  
  3466.  
  3467.  
  3468. }
  3469.  
  3470. function keybind_data:SetKeybind(Keybind)
  3471.  
  3472. local key = shortkeys[Keybind.Name] or Keybind.Name
  3473.  
  3474. TextButton.Text = key
  3475.  
  3476. keybind = Keybind
  3477.  
  3478. end
  3479.  
  3480.  
  3481.  
  3482. UIS.InputBegan:Connect(function(a, b)
  3483.  
  3484. if checks.binding then
  3485.  
  3486. spawn(function()
  3487.  
  3488. wait()
  3489.  
  3490. checks.binding = false
  3491.  
  3492. end)
  3493.  
  3494. return
  3495.  
  3496. end
  3497.  
  3498. if a.KeyCode == keybind and not b then
  3499.  
  3500. pcall(callback, keybind)
  3501.  
  3502. end
  3503.  
  3504. end)
  3505.  
  3506.  
  3507.  
  3508. keybind_data:SetKeybind(keybind_options.standard)
  3509.  
  3510.  
  3511.  
  3512. TextButton.MouseButton1Click:Connect(function()
  3513.  
  3514. if checks.binding then return end
  3515.  
  3516. TextButton.Text = "..."
  3517.  
  3518. checks.binding = true
  3519.  
  3520. local a, b = UIS.InputBegan:Wait()
  3521.  
  3522. keybind_data:SetKeybind(a.KeyCode)
  3523.  
  3524. end)
  3525.  
  3526. return keybind_data
  3527.  
  3528. end
  3529.  
  3530.  
  3531.  
  3532.  
  3533.  
  3534. function ContainerItems:Textbox(text, disapper, callback)
  3535.  
  3536. local Textbox = Instance.new("TextButton")
  3537.  
  3538. local Title = Instance.new("TextLabel")
  3539.  
  3540. local TextboxFrame = Instance.new("Frame")
  3541.  
  3542. local TextboxFrameCorner = Instance.new("UICorner")
  3543.  
  3544. local TextBox = Instance.new("TextBox")
  3545.  
  3546. local TextboxCorner = Instance.new("UICorner")
  3547.  
  3548.  
  3549.  
  3550. Textbox.Name = "Textbox"
  3551.  
  3552. Textbox.Parent = Container
  3553.  
  3554. Textbox.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  3555.  
  3556. Textbox.Position = UDim2.new(-0.747557044, 0, 0.729113936, 0)
  3557.  
  3558. Textbox.Size = UDim2.new(0, 405, 0, 40)
  3559.  
  3560. Textbox.AutoButtonColor = false
  3561.  
  3562. Textbox.Font = Enum.Font.Gotham
  3563.  
  3564. Textbox.Text = ""
  3565.  
  3566. Textbox.TextColor3 = Color3.fromRGB(255, 255, 255)
  3567.  
  3568. Textbox.TextSize = 14.000
  3569.  
  3570.  
  3571.  
  3572. Title.Name = "Title"
  3573.  
  3574. Title.Parent = Textbox
  3575.  
  3576. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3577.  
  3578. Title.BackgroundTransparency = 1.000
  3579.  
  3580. Title.Position = UDim2.new(0.0198511165, 0, 0, 0)
  3581.  
  3582. Title.Size = UDim2.new(0, 405, 0, 40)
  3583.  
  3584. Title.Font = Enum.Font.Gotham
  3585.  
  3586. Title.Text = text
  3587.  
  3588. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  3589.  
  3590. Title.TextSize = 15.000
  3591.  
  3592. Title.TextXAlignment = Enum.TextXAlignment.Left
  3593.  
  3594.  
  3595.  
  3596. TextboxFrame.Name = "TextboxFrame"
  3597.  
  3598. TextboxFrame.Parent = Textbox
  3599.  
  3600. TextboxFrame.BackgroundColor3 = Color3.fromRGB(56, 56, 56)
  3601.  
  3602. TextboxFrame.Position = UDim2.new(0.650124013, 0, 0.16, 0)
  3603.  
  3604. TextboxFrame.Size = UDim2.new(0, 134, 0, 24)
  3605.  
  3606.  
  3607.  
  3608. TextboxFrameCorner.CornerRadius = UDim.new(0, 6)
  3609.  
  3610. TextboxFrameCorner.Name = "TextboxFrameCorner"
  3611.  
  3612. TextboxFrameCorner.Parent = TextboxFrame
  3613.  
  3614.  
  3615.  
  3616. TextBox.Parent = TextboxFrame
  3617.  
  3618. TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  3619.  
  3620. TextBox.BackgroundTransparency = 1.000
  3621.  
  3622. TextBox.Size = UDim2.new(0, 134, 0, 19)
  3623.  
  3624. TextBox.Font = Enum.Font.Gotham
  3625.  
  3626. TextBox.Text = ""
  3627.  
  3628. TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  3629.  
  3630. TextBox.TextSize = 15.000
  3631.  
  3632.  
  3633.  
  3634. TextboxCorner.CornerRadius = UDim.new(0, 6)
  3635.  
  3636. TextboxCorner.Name = "TextboxCorner"
  3637.  
  3638. TextboxCorner.Parent = Textbox
  3639.  
  3640.  
  3641.  
  3642. TextBox.FocusLost:Connect(
  3643.  
  3644. function(ep)
  3645.  
  3646. if ep then
  3647.  
  3648. if #TextBox.Text > 0 then
  3649.  
  3650. pcall(callback, TextBox.Text)
  3651.  
  3652. if disapper then
  3653.  
  3654. TextBox.Text = ""
  3655.  
  3656. end
  3657.  
  3658. end
  3659.  
  3660. end
  3661.  
  3662. end
  3663.  
  3664. )
  3665.  
  3666.  
  3667.  
  3668. Container.CanvasSize = UDim2.new(0, 0, 0, ContainerLayout.AbsoluteContentSize.Y)
  3669.  
  3670. end
  3671.  
  3672. return ContainerItems
  3673.  
  3674. end
  3675.  
  3676. return Tabs
  3677.  
  3678. end
  3679.  
  3680. -- oofhead should stop making jokes
  3681.  
  3682. local Win = VLib:Window("Moonassist ", ".gg/moonassist")
  3683.  
  3684.  
  3685.  
  3686. local Main= Win:Tab('Main')
  3687.  
  3688. Main:Button("AimLock (Q)",function()
  3689.  
  3690. loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/Hyotinhofofinho/s1mple/main/LIXO"))()
  3691.  
  3692. end)
  3693.  
  3694. Main:Button("Reduce Lag",function()
  3695.  
  3696. loadstring(game:HttpGet("https://raw.githubusercontent.com/angeloX041/reduce-lag/main/ReduceLagByG_87",true))();
  3697.  
  3698. end)
  3699.  
  3700. Main:Button("Fake Macro (C)",function()
  3701.  
  3702. loadstring(game:HttpGet("https://raw.githubusercontent.com/angeloX041/Speedc/main/SuperSpeedC ", true))()
  3703.  
  3704. end)
  3705.  
  3706.  
  3707. local Player= Win:Tab('Player')
  3708.  
  3709. Player:Button("Right korblox (client)",function()
  3710.  
  3711. loadstring(game:HttpGet('https://raw.githubusercontent.com/carlcoded/pro/main/rightkorbloxperma'))()
  3712.  
  3713. end)
  3714.  
  3715. Player:Button("Left korblox (client)",function()
  3716.  
  3717. loadstring(game:HttpGet('https://raw.githubusercontent.com/carlxdd/misc-releases/main/leftkorblox'))()
  3718.  
  3719. end)
  3720.  
  3721. Player:Button("Headless (client)",function()
  3722.  
  3723. loadstring(game:HttpGet('https://raw.githubusercontent.com/carlcoded/pro/main/headlessperma'))()
  3724.  
  3725. end)
  3726.  
  3727. local Credits= Win:Tab('Credits')
  3728.  
  3729. Credits:Button("Unkown who made gui.",function()
  3730.  
  3731. print ("discord.gg/moonassist")
  3732.  
  3733. end)
  3734.  
  3735. Credits:Button("discord.gg/moonassist",function()
  3736.  
  3737. print ("Join discord.gg/moonassist")
  3738.  
  3739. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement