Advertisement
maskub1234

ui

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