Advertisement
TankHandSome

theme

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