Advertisement
NukeVsCity

gaming

Mar 28th, 2021
3,008
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 153.45 KB | None | 0 0
  1.  
  2. if game.PlaceId == 2753915549 then
  3. do
  4. local ui = game:GetService("CoreGui"):FindFirstChild("dawidlib")
  5. if ui then
  6. ui:Destroy()
  7. end
  8. end
  9. local lib = {CurrentlyBinding = false,RainbowColorValue = 0, HueSelectionPosition = 0}
  10.  
  11. local themes = {
  12. Light = {
  13. Color1 = Color3.fromRGB(255,255,255),
  14. Color2 = Color3.fromRGB(240,240,240),
  15. Color3 = Color3.fromRGB(228,228,228),
  16. TabColor = Color3.fromRGB(220, 220, 220),
  17. ScrollBar = Color3.fromRGB(213, 213, 213),
  18. TextColor = Color3.fromRGB(0,0,0)
  19. },
  20. Dark = {
  21. Color1 = Color3.fromRGB(35,35,35),
  22. Color2 = Color3.fromRGB(38,38,38),
  23. Color3 = Color3.fromRGB(31,31,31),
  24. TabColor = Color3.fromRGB(45,45,45),
  25. ScrollBar = Color3.fromRGB(58, 58, 58),
  26. TextColor = Color3.fromRGB(255,255,255)
  27. }
  28. }
  29. local HttpService = game:GetService("HttpService")
  30. local loadedinfo = {}
  31. local selectedtheme = "Light"
  32. local watermarkpos = "BottomLeft"
  33. local watermarktext = "dawid hub"
  34.  
  35. pcall(function()
  36. loadedinfo = HttpService:JSONDecode(readfile("dawidhubinfo.txt"))
  37. selectedtheme = loadedinfo["theme"] or "Light"
  38. watermarktext = loadedinfo["watermarktext"] or "dawid hub"
  39. watermarkpos = loadedinfo["watermarkpos"] or "BottomLeft"
  40. end)
  41.  
  42. local function saveinfo()
  43. loadedinfo["theme"] = selectedtheme
  44. loadedinfo["watermarktext"] = watermarktext
  45. loadedinfo["watermarkpos"] = watermarkpos
  46. writefile("dawidhubinfo.txt", HttpService:JSONEncode(loadedinfo))
  47. end
  48.  
  49.  
  50.  
  51.  
  52. coroutine.wrap(
  53. function()
  54. while wait() do
  55. lib.RainbowColorValue = lib.RainbowColorValue + 1 / 255
  56. lib.HueSelectionPosition = lib.HueSelectionPosition + 1
  57.  
  58. if lib.RainbowColorValue >= 1 then
  59. lib.RainbowColorValue = 0
  60. end
  61.  
  62. if lib.HueSelectionPosition == 80 then
  63. lib.HueSelectionPosition = 0
  64. end
  65. end
  66. end
  67. )()
  68. local UserInputService = game:GetService("UserInputService")
  69. local TweenService = game:GetService("TweenService")
  70. local RunService = game:GetService("RunService")
  71. local LocalPlayer = game:GetService("Players").LocalPlayer
  72. local Mouse = LocalPlayer:GetMouse()
  73.  
  74. local function MakeDraggable(topbarobject, object)
  75. local Dragging = nil
  76. local DragInput = nil
  77. local DragStart = nil
  78. local StartPosition = nil
  79.  
  80. local function Update(input)
  81. local Delta = input.Position - DragStart
  82. local pos =
  83. UDim2.new(
  84. StartPosition.X.Scale,
  85. StartPosition.X.Offset + Delta.X,
  86. StartPosition.Y.Scale,
  87. StartPosition.Y.Offset + Delta.Y
  88. )
  89. object.Position = pos
  90. end
  91.  
  92. topbarobject.InputBegan:Connect(
  93. function(input)
  94. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  95. Dragging = true
  96. DragStart = input.Position
  97. StartPosition = object.Position
  98.  
  99. input.Changed:Connect(
  100. function()
  101. if input.UserInputState == Enum.UserInputState.End then
  102. Dragging = false
  103. end
  104. end
  105. )
  106. end
  107. end
  108. )
  109.  
  110. topbarobject.InputChanged:Connect(
  111. function(input)
  112. if
  113. input.UserInputType == Enum.UserInputType.MouseMovement or
  114. input.UserInputType == Enum.UserInputType.Touch
  115. then
  116. DragInput = input
  117. end
  118. end
  119. )
  120.  
  121. UserInputService.InputChanged:Connect(
  122. function(input)
  123. if input == DragInput and Dragging then
  124. Update(input)
  125. end
  126. end
  127. )
  128. end
  129.  
  130. local dawidlib = Instance.new("ScreenGui")
  131. dawidlib.Name = "dawidlib"
  132. dawidlib.Parent = game.CoreGui
  133. dawidlib.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  134.  
  135. local function loadwatermark()
  136. local WatermarkFrame = Instance.new("Frame")
  137. local WatermarkLabel = Instance.new("TextLabel")
  138.  
  139. WatermarkFrame.Name = "WatermarkFrame"
  140. WatermarkFrame.Parent = dawidlib
  141. WatermarkFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  142. WatermarkFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  143. WatermarkFrame.BackgroundTransparency = 1.000
  144. WatermarkFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  145. WatermarkFrame.Size = UDim2.new(1, 0, 1, 0)
  146.  
  147. WatermarkLabel.Name = "WatermarkLabel"
  148. WatermarkLabel.Parent = WatermarkFrame
  149. WatermarkLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  150. WatermarkLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  151. WatermarkLabel.BackgroundTransparency = 1.000
  152. WatermarkLabel.BorderColor3 = Color3.fromRGB(27, 42, 53)
  153. WatermarkLabel.Position = UDim2.new(0.5, 0, 0.5, 0)
  154. WatermarkLabel.Size = UDim2.new(1, -25, 1, -25)
  155. WatermarkLabel.Font = Enum.Font.Gotham
  156. WatermarkLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  157. WatermarkLabel.TextSize = 16.000
  158. WatermarkLabel.TextXAlignment = Enum.TextXAlignment.Left
  159. WatermarkLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  160. WatermarkLabel.Text = watermarktext
  161.  
  162. coroutine.wrap(
  163. function()
  164. while wait() do
  165. WatermarkLabel.Text = watermarktext
  166. if watermarkpos == "BottomLeft" then
  167. WatermarkLabel.TextXAlignment = Enum.TextXAlignment.Left
  168. WatermarkLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  169. elseif watermarkpos == "BottomRight" then
  170. WatermarkLabel.TextXAlignment = Enum.TextXAlignment.Right
  171. WatermarkLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  172. elseif watermarkpos == "TopLeft" then
  173. WatermarkLabel.TextXAlignment = Enum.TextXAlignment.Left
  174. WatermarkLabel.TextYAlignment = Enum.TextYAlignment.Top
  175. elseif watermarkpos == "TopRight" then
  176. WatermarkLabel.TextXAlignment = Enum.TextXAlignment.Right
  177. WatermarkLabel.TextYAlignment = Enum.TextYAlignment.Top
  178. end
  179. end
  180. end
  181. )()
  182. end
  183.  
  184. function lib:ChangeTheme(theme)
  185. selectedtheme = theme
  186. saveinfo()
  187. end
  188.  
  189. local UserInputService = game:GetService("UserInputService")
  190. local TweenService = game:GetService("TweenService")
  191. local RunService = game:GetService("RunService")
  192. local LocalPlayer = game:GetService("Players").LocalPlayer
  193. local Mouse = LocalPlayer:GetMouse()
  194.  
  195.  
  196. local function errornotif(text)
  197.  
  198. local error = Instance.new("ScreenGui")
  199. local ErrorMain = Instance.new("Frame")
  200. local ErrorMainCircle = Instance.new("Frame")
  201. local ErrorMainCircleImg = Instance.new("ImageLabel")
  202. local ErrorMainCircleCorner = Instance.new("UICorner")
  203. local ErrorText = Instance.new("TextLabel")
  204.  
  205.  
  206. error.Name = "error"
  207. error.Parent = game.CoreGui
  208. error.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  209.  
  210. ErrorMain.Name = "ErrorMain"
  211. ErrorMain.Parent = error
  212. ErrorMain.BackgroundColor3 = Color3.fromRGB(17, 17, 17)
  213. ErrorMain.BackgroundTransparency = 1.000
  214. ErrorMain.BorderSizePixel = 0
  215. ErrorMain.Size = UDim2.new(1, 0, 1, 0)
  216.  
  217. ErrorMainCircle.Name = "ErrorMainCircle"
  218. ErrorMainCircle.Parent = ErrorMain
  219. ErrorMainCircle.AnchorPoint = Vector2.new(0.5, 0.5)
  220. ErrorMainCircle.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
  221. ErrorMainCircle.BackgroundTransparency = 1.000
  222. ErrorMainCircle.Position = UDim2.new(0.5, 0, 0.5, 0)
  223. ErrorMainCircle.Size = UDim2.new(0, 100, 0, 100)
  224.  
  225. ErrorMainCircleImg.Name = "ErrorMainCircleImg"
  226. ErrorMainCircleImg.Parent = ErrorMainCircle
  227. ErrorMainCircleImg.AnchorPoint = Vector2.new(0.5, 0.5)
  228. ErrorMainCircleImg.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  229. ErrorMainCircleImg.BackgroundTransparency = 1.000
  230. ErrorMainCircleImg.Position = UDim2.new(0.5, 0, 0.5, 0)
  231. ErrorMainCircleImg.Size = UDim2.new(0, 75, 0, 75)
  232. ErrorMainCircleImg.Image = "http://www.roblox.com/asset/?id=6031260781"
  233. ErrorMainCircleImg.ImageColor3 = Color3.fromRGB(17, 17, 17)
  234. ErrorMainCircleImg.ImageTransparency = 1.000
  235.  
  236. ErrorMainCircleCorner.CornerRadius = UDim.new(1, 8)
  237. ErrorMainCircleCorner.Name = "ErrorMainCircleCorner"
  238. ErrorMainCircleCorner.Parent = ErrorMainCircle
  239.  
  240. ErrorText.Name = "ErrorText"
  241. ErrorText.Parent = ErrorMain
  242. ErrorText.AnchorPoint = Vector2.new(0.5, 0.5)
  243. ErrorText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  244. ErrorText.BackgroundTransparency = 1.000
  245. ErrorText.Position = UDim2.new(0.5, 0, 0.5, 50)
  246. ErrorText.Size = UDim2.new(0, 200, 0, 50)
  247. ErrorText.Font = Enum.Font.Gotham
  248. ErrorText.Text = text
  249. ErrorText.TextColor3 = Color3.fromRGB(255, 255, 255)
  250. ErrorText.TextSize = 18.000
  251. ErrorText.TextTransparency = 1.000
  252.  
  253. TweenService:Create(
  254. ErrorMain,
  255. TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  256. {BackgroundTransparency = 0}
  257. ):Play()
  258.  
  259. wait(.5)
  260.  
  261. TweenService:Create(
  262. ErrorMainCircle,
  263. TweenInfo.new(.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  264. {BackgroundTransparency = 0}
  265. ):Play()
  266. TweenService:Create(
  267. ErrorMainCircleImg,
  268. TweenInfo.new(.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  269. {ImageTransparency = 0}
  270. ):Play()
  271.  
  272. wait(.8)
  273.  
  274. ErrorMainCircle:TweenPosition(UDim2.new(0.5, 0, 0.5, -25), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .4, true)
  275.  
  276. wait(.1)
  277.  
  278. TweenService:Create(
  279. ErrorText,
  280. TweenInfo.new(.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  281. {TextTransparency = 0}
  282. ):Play()
  283. end
  284.  
  285.  
  286. function lib:Window()
  287. local fs = false
  288. local Main = Instance.new("Frame")
  289. local MainCorner = Instance.new("UICorner")
  290. local LeftFrame = Instance.new("Frame")
  291. local LeftFrame1 = Instance.new("Frame")
  292. local CloseBtn = Instance.new("TextButton")
  293. local CloseBtnCorner = Instance.new("UICorner")
  294. local CloseBtnImg = Instance.new("ImageLabel")
  295. local TabHold = Instance.new("Frame")
  296. local TabHoldLayout = Instance.new("UIListLayout")
  297. local Line = Instance.new("Frame")
  298. local LeftFrameCorner = Instance.new("UICorner")
  299. local TabFolder = Instance.new("Folder")
  300. local DragFrame = Instance.new("Frame")
  301.  
  302. Main.Name = "Main"
  303. Main.Parent = dawidlib
  304. Main.AnchorPoint = Vector2.new(0.5, 0.5)
  305. Main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  306. Main.ClipsDescendants = true
  307. Main.Position = UDim2.new(0.5, 0, 0.498903513, 0)
  308. Main.Size = UDim2.new(0, 541, 0, 368)
  309. Main.BorderSizePixel = 0
  310.  
  311. MainCorner.CornerRadius = UDim.new(0, 10)
  312. MainCorner.Name = "MainCorner"
  313. MainCorner.Parent = Main
  314.  
  315. LeftFrame.Name = "LeftFrame"
  316. LeftFrame.Parent = Main
  317. LeftFrame.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  318. LeftFrame.Position = UDim2.new(-0.00047751033, 0, 0, 0)
  319. LeftFrame.Size = UDim2.new(0, 162, 0, 368)
  320.  
  321. LeftFrame1.Name = "LeftFrame1"
  322. LeftFrame1.Parent = LeftFrame
  323. LeftFrame1.AnchorPoint = Vector2.new(0.5, 0.5)
  324. LeftFrame1.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  325. LeftFrame1.BorderSizePixel = 0
  326. LeftFrame1.Position = UDim2.new(0.971977353, 0, 0.500343084, 0)
  327. LeftFrame1.Size = UDim2.new(0, 9, 1, 0)
  328.  
  329. CloseBtn.Name = "CloseBtn"
  330. CloseBtn.Parent = LeftFrame
  331. CloseBtn.BackgroundColor3 = Color3.fromRGB(244, 96, 86)
  332. CloseBtn.Position = UDim2.new(0.126000002, 0, 0.0649999976, 0)
  333. CloseBtn.Size = UDim2.new(0, 13, 0, 13)
  334. CloseBtn.AutoButtonColor = false
  335. CloseBtn.Font = Enum.Font.SourceSans
  336. CloseBtn.Text = ""
  337. CloseBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  338. CloseBtn.TextSize = 14.000
  339.  
  340. CloseBtnCorner.CornerRadius = UDim.new(1, 0)
  341. CloseBtnCorner.Name = "CloseBtnCorner"
  342. CloseBtnCorner.Parent = CloseBtn
  343.  
  344. CloseBtnImg.Name = "CloseBtnImg"
  345. CloseBtnImg.Parent = CloseBtn
  346. CloseBtnImg.BackgroundColor3 = Color3.fromRGB(244, 96, 86)
  347. CloseBtnImg.BackgroundTransparency = 1.000
  348. CloseBtnImg.Position = UDim2.new(0.144999996, 0, 0.144999996, 0)
  349. CloseBtnImg.Size = UDim2.new(0, 9, 0, 9)
  350. CloseBtnImg.Image = "http://www.roblox.com/asset/?id=6031094678"
  351. CloseBtnImg.ImageColor3 = Color3.fromRGB(170, 65, 60)
  352. CloseBtnImg.ImageTransparency = 1.000
  353.  
  354. DragFrame.Name = "DragFrame"
  355. DragFrame.Parent = LeftFrame
  356. DragFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  357. DragFrame.BackgroundTransparency = 1.000
  358. DragFrame.Size = UDim2.new(0, 161, 0, 36)
  359.  
  360. TabHold.Name = "TabHold"
  361. TabHold.Parent = LeftFrame
  362. TabHold.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  363. TabHold.BackgroundTransparency = 1.000
  364. TabHold.Position = UDim2.new(0.063000001, 0, 0.119999997, 0)
  365. TabHold.Size = UDim2.new(0, 143, 0, 313)
  366.  
  367. TabHoldLayout.Name = "TabHoldLayout"
  368. TabHoldLayout.Parent = TabHold
  369. TabHoldLayout.SortOrder = Enum.SortOrder.LayoutOrder
  370. TabHoldLayout.Padding = UDim.new(0, 4)
  371.  
  372. Line.Name = "Line"
  373. Line.Parent = LeftFrame
  374. Line.BackgroundColor3 = Color3.fromRGB(228, 228, 228)
  375. Line.BorderSizePixel = 0
  376. Line.Position = UDim2.new(0.9941926, 0, 0.000451792846, 0)
  377. Line.Size = UDim2.new(0, 2, 0, 368)
  378.  
  379. LeftFrameCorner.CornerRadius = UDim.new(0, 10)
  380. LeftFrameCorner.Name = "LeftFrameCorner"
  381. LeftFrameCorner.Parent = LeftFrame
  382.  
  383. TabFolder.Name = "TabFolder"
  384. TabFolder.Parent = LeftFrame
  385.  
  386. MakeDraggable(DragFrame,Main)
  387. loadwatermark()
  388.  
  389. CloseBtn.MouseButton1Click:Connect(function()
  390. Main:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .6, true)
  391. end)
  392.  
  393. CloseBtn.MouseEnter:Connect(function()
  394. CloseBtnImg.ImageTransparency = 0
  395. end)
  396.  
  397. CloseBtn.MouseLeave:Connect(function()
  398. CloseBtnImg.ImageTransparency = 1
  399. end)
  400.  
  401. coroutine.wrap(
  402. function()
  403. while wait() do
  404. Main.BackgroundColor3 = themes[selectedtheme].Color1
  405. LeftFrame.BackgroundColor3 = themes[selectedtheme].Color2
  406. LeftFrame1.BackgroundColor3 = themes[selectedtheme].Color2
  407. Line.BackgroundColor3 = themes[selectedtheme].Color3
  408. end
  409. end
  410. )()
  411.  
  412.  
  413. function lib:Notification(text,desc,icotext,btntext)
  414. local NotificationHold = Instance.new("TextButton")
  415. local NotificationHoldCorner = Instance.new("UICorner")
  416. local Notification = Instance.new("Frame")
  417. local NotificationTitle = Instance.new("TextLabel")
  418. local NotificationCorner = Instance.new("UICorner")
  419. local NotificationIco = Instance.new("ImageLabel")
  420. local NotificationBtn = Instance.new("TextButton")
  421. local NotificationBtnCorner = Instance.new("UICorner")
  422. local NotificationDesc = Instance.new("TextLabel")
  423. local NotificationHoldScale = Instance.new("UIScale")
  424.  
  425. NotificationHold.Name = "NotificationHold"
  426. NotificationHold.Parent = Main
  427. NotificationHold.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  428. NotificationHold.BackgroundTransparency = 1.000
  429. NotificationHold.Position = UDim2.new(0, 0, 8.2928203e-08, 0)
  430. NotificationHold.Size = UDim2.new(1, 29, 1, 20)
  431. NotificationHold.AutoButtonColor = false
  432. NotificationHold.Font = Enum.Font.SourceSans
  433. NotificationHold.Text = ""
  434. NotificationHold.TextColor3 = Color3.fromRGB(0, 0, 0)
  435. NotificationHold.TextSize = 14.000
  436.  
  437. NotificationHoldCorner.CornerRadius = UDim.new(0, 10)
  438. NotificationHoldCorner.Name = "NotificationHoldCorner"
  439. NotificationHoldCorner.Parent = NotificationHold
  440.  
  441. Notification.Name = "Notification"
  442. Notification.Parent = NotificationHold
  443. Notification.AnchorPoint = Vector2.new(0.5, 0.5)
  444. Notification.BackgroundColor3 = themes[selectedtheme].Color1
  445. Notification.BackgroundTransparency = 1.000
  446. Notification.Position = UDim2.new(0.5, 0, 0.5, 0)
  447. Notification.Selectable = true
  448. Notification.Size = UDim2.new(0, 142, 0, 179)
  449.  
  450. NotificationTitle.Name = "NotificationTitle"
  451. NotificationTitle.Parent = Notification
  452. NotificationTitle.BackgroundColor3 = themes[selectedtheme].TextColor
  453. NotificationTitle.BackgroundTransparency = 1.000
  454. NotificationTitle.Position = UDim2.new(0, 0, 0.5, -17)
  455. NotificationTitle.Size = UDim2.new(1, 0, 0, 15)
  456. NotificationTitle.Font = Enum.Font.GothamSemibold
  457. NotificationTitle.Text = text
  458. NotificationTitle.TextColor3 = themes[selectedtheme].TextColor
  459. NotificationTitle.TextSize = 16.000
  460. NotificationTitle.TextTransparency = 1.000
  461.  
  462. NotificationCorner.CornerRadius = UDim.new(0, 7)
  463. NotificationCorner.Name = "NotificationCorner"
  464. NotificationCorner.Parent = Notification
  465.  
  466. NotificationIco.Name = "NotificationIco"
  467. NotificationIco.Parent = Notification
  468. NotificationIco.AnchorPoint = Vector2.new(0.5, 0.5)
  469. NotificationIco.BackgroundTransparency = 1.000
  470. NotificationIco.BorderSizePixel = 0
  471. NotificationIco.Position = UDim2.new(0.5, 0, 0.5, -55)
  472. NotificationIco.Size = UDim2.new(0, 60, 0, 60)
  473. NotificationIco.Image = icotext
  474. NotificationIco.ImageColor3 = Color3.fromRGB(31, 118, 219)
  475. NotificationIco.ImageTransparency = 1.000
  476.  
  477. NotificationBtn.Name = "NotificationBtn"
  478. NotificationBtn.Parent = Notification
  479. NotificationBtn.AnchorPoint = Vector2.new(0.5, 0.5)
  480. NotificationBtn.BackgroundColor3 = Color3.fromRGB(31, 118, 219)
  481. NotificationBtn.BackgroundTransparency = 1.000
  482. NotificationBtn.Position = UDim2.new(0.5, 0, 0.5, 78)
  483. NotificationBtn.Size = UDim2.new(0, 150, 0, 28)
  484. NotificationBtn.Font = Enum.Font.Gotham
  485. NotificationBtn.Text = btntext
  486. NotificationBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  487. NotificationBtn.TextSize = 14.000
  488. NotificationBtn.TextTransparency = 1.000
  489. NotificationBtn.AutoButtonColor = false
  490.  
  491. NotificationBtnCorner.CornerRadius = UDim.new(0, 5)
  492. NotificationBtnCorner.Name = "NotificationBtnCorner"
  493. NotificationBtnCorner.Parent = NotificationBtn
  494.  
  495. NotificationDesc.Name = "NotificationDesc"
  496. NotificationDesc.Parent = Notification
  497. NotificationDesc.AnchorPoint = Vector2.new(0.5, 0.5)
  498. NotificationDesc.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  499. NotificationDesc.BackgroundTransparency = 1.000
  500. NotificationDesc.Position = UDim2.new(0.5, 0, 0.458999991, 38)
  501. NotificationDesc.Size = UDim2.new(1.01365006, -25, 0.168424815, 25)
  502. NotificationDesc.Font = Enum.Font.Gotham
  503. NotificationDesc.Text = desc
  504. NotificationDesc.TextColor3 = themes[selectedtheme].TextColor
  505. NotificationDesc.TextSize = 14.000
  506. NotificationDesc.TextTransparency = 1.000
  507. NotificationDesc.TextWrapped = true
  508.  
  509. NotificationHoldScale.Name = "NotificationHoldScale"
  510. NotificationHoldScale.Parent = NotificationHold
  511. NotificationHoldScale.Scale = 0.950
  512.  
  513. TweenService:Create(
  514. NotificationHold,
  515. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  516. {BackgroundTransparency = 0.7}
  517. ):Play()
  518. wait(.2)
  519. Notification:TweenSize(UDim2.new(0, 172, 0, 209), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
  520. TweenService:Create(
  521. NotificationIco,
  522. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  523. {ImageTransparency = 0}
  524. ):Play()
  525. TweenService:Create(
  526. Notification,
  527. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  528. {BackgroundTransparency = 0}
  529. ):Play()
  530. TweenService:Create(
  531. NotificationBtn,
  532. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  533. {BackgroundTransparency = 0}
  534. ):Play()
  535. TweenService:Create(
  536. NotificationDesc,
  537. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  538. {TextTransparency = 0}
  539. ):Play()
  540. TweenService:Create(
  541. NotificationBtn,
  542. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  543. {TextTransparency = 0}
  544. ):Play()
  545. TweenService:Create(
  546. NotificationTitle,
  547. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  548. {TextTransparency = 0}
  549. ):Play()
  550.  
  551. NotificationBtn.MouseButton1Click:Connect(function()
  552. Notification:TweenSize(UDim2.new(0, 142, 0, 179), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
  553. TweenService:Create(
  554. NotificationIco,
  555. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  556. {ImageTransparency = 1}
  557. ):Play()
  558. TweenService:Create(
  559. Notification,
  560. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  561. {BackgroundTransparency = 1}
  562. ):Play()
  563. TweenService:Create(
  564. NotificationBtn,
  565. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  566. {BackgroundTransparency = 1}
  567. ):Play()
  568. TweenService:Create(
  569. NotificationDesc,
  570. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  571. {TextTransparency = 1}
  572. ):Play()
  573. TweenService:Create(
  574. NotificationBtn,
  575. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  576. {TextTransparency = 1}
  577. ):Play()
  578. TweenService:Create(
  579. NotificationTitle,
  580. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  581. {TextTransparency = 1}
  582. ):Play()
  583. wait(.2)
  584. TweenService:Create(
  585. NotificationHold,
  586. TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
  587. {BackgroundTransparency = 1}
  588. ):Play()
  589. wait(.2)
  590. NotificationHold:Destroy()
  591. end)
  592. end
  593.  
  594.  
  595. local tabhold = {}
  596.  
  597. function tabhold:Label(text)
  598. local labelfunc = {}
  599. local LabelFrame = Instance.new("Frame")
  600. local Label = Instance.new("TextLabel")
  601.  
  602. LabelFrame.Name = "LabelFrame"
  603. LabelFrame.Parent = TabHold
  604. LabelFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  605. LabelFrame.BackgroundTransparency = 1.000
  606. LabelFrame.Size = UDim2.new(0, 70, 0, 17)
  607.  
  608. Label.Name = "Label"
  609. Label.Parent = LabelFrame
  610. Label.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  611. Label.BackgroundTransparency = 1.000
  612. Label.Position = UDim2.new(0.139885604, 0, 0, 0)
  613. Label.Size = UDim2.new(0, 134, 0, 17)
  614. Label.Font = Enum.Font.GothamSemibold
  615. Label.Text = text
  616. Label.TextColor3 = Color3.fromRGB(182, 182, 182)
  617. Label.TextSize = 12.000
  618. Label.TextXAlignment = Enum.TextXAlignment.Left
  619. Label.TextYAlignment = Enum.TextYAlignment.Bottom
  620. function labelfunc:Change(tochange)
  621. Label.Text = tochange
  622. end
  623. return labelfunc
  624. end
  625.  
  626. function tabhold:Tab(text, img, color)
  627. local TabBtn = Instance.new("TextButton")
  628. local TabBtnCorner = Instance.new("UICorner")
  629. local TabBtnTitle = Instance.new("TextLabel")
  630. local TabBtnIco = Instance.new("ImageLabel")
  631.  
  632. TabBtn.Name = "TabBtn"
  633. TabBtn.Parent = TabHold
  634. TabBtn.BackgroundColor3 = Color3.fromRGB(220, 220, 220)
  635. TabBtn.BackgroundTransparency = 1.000
  636. TabBtn.Position = UDim2.new(0, 0, 0.0849673226, 0)
  637. TabBtn.Size = UDim2.new(0, 143, 0, 26)
  638. TabBtn.AutoButtonColor = false
  639. TabBtn.Font = Enum.Font.SourceSans
  640. TabBtn.Text = ""
  641. TabBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  642. TabBtn.TextSize = 14.000
  643.  
  644. TabBtnCorner.CornerRadius = UDim.new(0, 6)
  645. TabBtnCorner.Name = "TabBtnCorner"
  646. TabBtnCorner.Parent = TabBtn
  647.  
  648. TabBtnTitle.Name = "TabBtnTitle"
  649. TabBtnTitle.Parent = TabBtn
  650. TabBtnTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  651. TabBtnTitle.BackgroundTransparency = 1.000
  652. TabBtnTitle.Position = UDim2.new(0.170713201, 0, 0, 0)
  653. TabBtnTitle.Size = UDim2.new(0, 116, 0, 26)
  654. TabBtnTitle.Font = Enum.Font.Gotham
  655. TabBtnTitle.Text = text
  656. TabBtnTitle.TextColor3 = Color3.fromRGB(0, 0, 0)
  657. TabBtnTitle.TextSize = 13.000
  658. TabBtnTitle.TextXAlignment = Enum.TextXAlignment.Left
  659.  
  660. TabBtnIco.Name = "TabBtnIco"
  661. TabBtnIco.Parent = TabBtn
  662. TabBtnIco.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  663. TabBtnIco.BackgroundTransparency = 1.000
  664. TabBtnIco.Position = UDim2.new(0.0120000001, 3, 0.170000002, 0)
  665. TabBtnIco.Size = UDim2.new(0, 17, 0, 17)
  666. TabBtnIco.Image = img
  667. TabBtnIco.ImageColor3 = color
  668.  
  669. local Tab = Instance.new("ScrollingFrame")
  670. local TabLayout = Instance.new("UIListLayout")
  671.  
  672. Tab.Name = "Tab"
  673. Tab.Parent = TabFolder
  674. Tab.Active = true
  675. Tab.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  676. Tab.BackgroundTransparency = 1.000
  677. Tab.BorderSizePixel = 0
  678. Tab.Position = UDim2.new(1.09876585, 0, 0.0461956523, 0)
  679. Tab.Size = UDim2.new(0, 352, 0, 335)
  680. Tab.CanvasSize = UDim2.new(0, 0, 0, 0)
  681. Tab.ScrollBarThickness = 5
  682. Tab.Visible = false
  683. Tab.ScrollBarImageColor3 = Color3.fromRGB(213, 213, 213)
  684.  
  685. TabLayout.Name = "TabLayout"
  686. TabLayout.Parent = Tab
  687. TabLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  688. TabLayout.SortOrder = Enum.SortOrder.LayoutOrder
  689. TabLayout.Padding = UDim.new(0, 8)
  690.  
  691. if fs == false then
  692. fs = true
  693. TabBtn.BackgroundTransparency = 0
  694. Tab.Visible = true
  695. end
  696.  
  697. TabBtn.MouseButton1Click:Connect(function()
  698. for i,v in next, TabFolder:GetChildren() do
  699. if v.Name == "Tab" then
  700. v.Visible = false
  701. end
  702. Tab.Visible = true
  703. end
  704. for i,v in next, TabHold:GetChildren() do
  705. if v.Name == "TabBtn" then
  706. v.BackgroundTransparency = 1
  707. TabBtn.BackgroundTransparency = 0
  708. end
  709. end
  710. end)
  711.  
  712. coroutine.wrap(
  713. function()
  714. while wait() do
  715. TabBtn.BackgroundColor3 = themes[selectedtheme].TabColor
  716. TabBtnTitle.TextColor3 = themes[selectedtheme].TextColor
  717. Tab.ScrollBarImageColor3 = themes[selectedtheme].ScrollBar
  718. end
  719. end
  720. )()
  721. local tabcontent = {}
  722. function tabcontent:Line(text)
  723. local Line = Instance.new("TextLabel")
  724.  
  725. Line.Name = "Line"
  726. Line.Parent = Tab
  727. Line.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  728. Line.BackgroundTransparency = 1.000
  729. Line.Size = UDim2.new(1, 0, 0, 13)
  730. Line.Font = Enum.Font.GothamSemibold
  731. Line.Text = text
  732. Line.TextColor3 = Color3.fromRGB(0, 0, 0)
  733. Line.TextSize = 14.000
  734. Line.TextXAlignment = Enum.TextXAlignment.Left
  735.  
  736. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  737.  
  738. coroutine.wrap(
  739. function()
  740. while wait() do
  741. Line.TextColor3= themes[selectedtheme].TextColor
  742. end
  743. end
  744. )()
  745. end
  746. function tabcontent:Label(text)
  747. local Label = Instance.new("TextLabel")
  748.  
  749. Label.Name = "Label"
  750. Label.Parent = Tab
  751. Label.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  752. Label.BackgroundTransparency = 1.000
  753. Label.Size = UDim2.new(1, 0, 0, 13)
  754. Label.Font = Enum.Font.Gotham
  755. Label.Text = text
  756. Label.TextColor3 = Color3.fromRGB(0, 0, 0)
  757. Label.TextSize = 14.000
  758.  
  759. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  760.  
  761. coroutine.wrap(
  762. function()
  763. while wait() do
  764. Label.TextColor3= themes[selectedtheme].TextColor
  765. end
  766. end
  767. )()
  768. end
  769. function tabcontent:Button(text, callback)
  770. local hovering = false
  771. local Button = Instance.new("TextButton")
  772. local ButtonFrame = Instance.new("Frame")
  773. local ButtonFrameCorner = Instance.new("UICorner")
  774. local ButtonCorner = Instance.new("UICorner")
  775. local ButtonHoverFrame = Instance.new("Frame")
  776. local ButtonHoverFrameCorner = Instance.new("UICorner")
  777. local ButtonText = Instance.new("TextLabel")
  778.  
  779. Button.Name = "Button"
  780. Button.Parent = Tab
  781. Button.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  782. Button.BorderSizePixel = 0
  783. Button.AutoButtonColor = false
  784. Button.Font = Enum.Font.Gotham
  785. Button.TextColor3 = Color3.fromRGB(0, 0, 0)
  786. Button.TextSize = 14.000
  787.  
  788. ButtonFrame.Name = "ButtonFrame"
  789. ButtonFrame.Parent = Button
  790. ButtonFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  791. ButtonFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  792. ButtonFrame.BorderSizePixel = 0
  793. ButtonFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  794. ButtonFrame.Size = UDim2.new(1, -4, 0, 21)
  795.  
  796. ButtonFrameCorner.CornerRadius = UDim.new(0, 5)
  797. ButtonFrameCorner.Name = "ButtonFrameCorner"
  798. ButtonFrameCorner.Parent = ButtonFrame
  799.  
  800. ButtonCorner.CornerRadius = UDim.new(0, 5)
  801. ButtonCorner.Name = "ButtonCorner"
  802. ButtonCorner.Parent = Button
  803.  
  804. ButtonHoverFrame.Name = "ButtonHoverFrame"
  805. ButtonHoverFrame.Parent = Button
  806. ButtonHoverFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  807. ButtonHoverFrame.BackgroundColor3 = Color3.fromRGB(31, 118, 219)
  808. ButtonHoverFrame.BackgroundTransparency = 1.000
  809. ButtonHoverFrame.BorderSizePixel = 0
  810. ButtonHoverFrame.Position = UDim2.new(0.5, 0, 0.528750002, 0)
  811. ButtonHoverFrame.Size = UDim2.new(1, 0, 0, 25)
  812.  
  813. ButtonHoverFrameCorner.CornerRadius = UDim.new(0, 5)
  814. ButtonHoverFrameCorner.Name = "ButtonHoverFrameCorner"
  815. ButtonHoverFrameCorner.Parent = ButtonHoverFrame
  816.  
  817. ButtonText.Name = "ButtonText"
  818. ButtonText.Parent = Button
  819. ButtonText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  820. ButtonText.BackgroundTransparency = 1.000
  821. ButtonText.Size = UDim2.new(1, 0, 1, 0)
  822. ButtonText.Font = Enum.Font.Gotham
  823. ButtonText.Text = text
  824. ButtonText.TextColor3 = Color3.fromRGB(0, 0, 0)
  825. ButtonText.TextSize = 14.000
  826.  
  827. coroutine.wrap(
  828. function()
  829. while wait() do
  830. Button.BackgroundColor3 = themes[selectedtheme].Color2
  831. ButtonFrame.BackgroundColor3 = themes[selectedtheme].Color1
  832. if hovering == false then
  833. ButtonText.TextColor3 = themes[selectedtheme].TextColor
  834. end
  835. end
  836. end
  837. )()
  838.  
  839. Button.MouseEnter:Connect(function()
  840. hovering = true
  841. ButtonHoverFrame.BackgroundTransparency = 0
  842. ButtonText.TextColor3 = Color3.fromRGB(255,255,255)
  843. end)
  844.  
  845. Button.MouseLeave:Connect(function()
  846. hovering = false
  847. ButtonHoverFrame.BackgroundTransparency = 1
  848. ButtonText.TextColor3 = themes[selectedtheme].TextColor
  849. end)
  850.  
  851. Button.MouseButton1Click:Connect(function()
  852. pcall(callback)
  853. end)
  854.  
  855. Button.Size = UDim2.new(0, ButtonText.TextBounds.X + 20, 0, 25)
  856.  
  857. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  858. end
  859. function tabcontent:Toggle(text, default, callback)
  860. local toggled = false
  861. local Toggle = Instance.new("TextButton")
  862. local ToggleFrame = Instance.new("Frame")
  863. local ToggleFrameCorner = Instance.new("UICorner")
  864. local ToggleFrame1 = Instance.new("Frame")
  865. local ToggleFrame1Corner = Instance.new("UICorner")
  866. local ToggleFrame2 = Instance.new("Frame")
  867. local ToggleFrame2Corner = Instance.new("UICorner")
  868. local ToggleToggledFrame = Instance.new("Frame")
  869. local ToggleToggledFrameCorner = Instance.new("UICorner")
  870. local ToggleTick = Instance.new("ImageLabel")
  871. local ToggleText = Instance.new("TextLabel")
  872.  
  873. Toggle.Name = "Toggle"
  874. Toggle.Parent = Tab
  875. Toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  876. Toggle.BackgroundTransparency = 1.000
  877. Toggle.Position = UDim2.new(0.394886374, 0, 0.0925373137, 0)
  878. Toggle.Size = UDim2.new(0, 71, 0, 16)
  879. Toggle.Font = Enum.Font.SourceSans
  880. Toggle.Text = ""
  881. Toggle.TextColor3 = Color3.fromRGB(0, 0, 0)
  882. Toggle.TextSize = 14.000
  883.  
  884. ToggleFrame.Name = "ToggleFrame"
  885. ToggleFrame.Parent = Toggle
  886. ToggleFrame.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  887. ToggleFrame.Size = UDim2.new(0, 16, 0, 16)
  888.  
  889. ToggleFrameCorner.CornerRadius = UDim.new(0, 5)
  890. ToggleFrameCorner.Name = "ToggleFrameCorner"
  891. ToggleFrameCorner.Parent = ToggleFrame
  892.  
  893. ToggleFrame1.Name = "ToggleFrame1"
  894. ToggleFrame1.Parent = ToggleFrame
  895. ToggleFrame1.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  896. ToggleFrame1.Size = UDim2.new(0, 16, 0, 16)
  897.  
  898. ToggleFrame1Corner.CornerRadius = UDim.new(0, 5)
  899. ToggleFrame1Corner.Name = "ToggleFrame1Corner"
  900. ToggleFrame1Corner.Parent = ToggleFrame1
  901.  
  902. ToggleFrame2.Name = "ToggleFrame2"
  903. ToggleFrame2.Parent = ToggleFrame1
  904. ToggleFrame2.AnchorPoint = Vector2.new(0.5, 0.5)
  905. ToggleFrame2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  906. ToggleFrame2.Position = UDim2.new(0.5, 0, 0.5, 0)
  907. ToggleFrame2.Size = UDim2.new(0, 12, 0, 12)
  908.  
  909. ToggleFrame2Corner.CornerRadius = UDim.new(0, 3)
  910. ToggleFrame2Corner.Name = "ToggleFrame2Corner"
  911. ToggleFrame2Corner.Parent = ToggleFrame2
  912.  
  913. ToggleToggledFrame.Name = "ToggleToggledFrame"
  914. ToggleToggledFrame.Parent = ToggleFrame
  915. ToggleToggledFrame.BackgroundColor3 = Color3.fromRGB(31, 118, 219)
  916. ToggleToggledFrame.Position = UDim2.new(0, 0, 0, 0)
  917. ToggleToggledFrame.Size = UDim2.new(0, 16, 0, 16)
  918. ToggleToggledFrame.Visible = false
  919.  
  920. ToggleToggledFrameCorner.CornerRadius = UDim.new(0, 5)
  921. ToggleToggledFrameCorner.Name = "ToggleToggledFrameCorner"
  922. ToggleToggledFrameCorner.Parent = ToggleToggledFrame
  923.  
  924. ToggleTick.Name = "ToggleTick"
  925. ToggleTick.Parent = ToggleToggledFrame
  926. ToggleTick.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  927. ToggleTick.BackgroundTransparency = 1.000
  928. ToggleTick.Position = UDim2.new(0.0500000007, 0, 0, 1)
  929. ToggleTick.Size = UDim2.new(0, 13, 0, 13)
  930. ToggleTick.Image = "http://www.roblox.com/asset/?id=6031094667"
  931.  
  932. ToggleText.Name = "ToggleText"
  933. ToggleText.Parent = Toggle
  934. ToggleText.AnchorPoint = Vector2.new(1, 1)
  935. ToggleText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  936. ToggleText.BackgroundTransparency = 1.000
  937. ToggleText.Position = UDim2.new(1, 0, 1, 0)
  938. ToggleText.Size = UDim2.new(1, -23, 1, 0)
  939. ToggleText.Font = Enum.Font.Gotham
  940. ToggleText.Text = text
  941. ToggleText.TextColor3 = Color3.fromRGB(0, 0, 0)
  942. ToggleText.TextSize = 14.000
  943. ToggleText.TextXAlignment = Enum.TextXAlignment.Left
  944.  
  945. Toggle.MouseButton1Click:Connect(function()
  946. if toggled == false then
  947. ToggleToggledFrame.Visible = true
  948. else
  949. ToggleToggledFrame.Visible = false
  950. end
  951. toggled = not toggled
  952. pcall(callback, toggled)
  953. end)
  954.  
  955. coroutine.wrap(
  956. function()
  957. while wait() do
  958. ToggleFrame.BackgroundColor3 = themes[selectedtheme].Color2
  959. ToggleFrame1.BackgroundColor3 = themes[selectedtheme].Color2
  960. ToggleFrame2.BackgroundColor3 = themes[selectedtheme].Color1
  961. ToggleText.TextColor3 = themes[selectedtheme].TextColor
  962. end
  963. end
  964. )()
  965.  
  966. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  967. end
  968. function tabcontent:Slider(text,precise, min, max, start, callback)
  969. local sliderfunc = {}
  970. local dragging = false
  971. local Slider = Instance.new("Frame")
  972. local SliderText = Instance.new("TextLabel")
  973. local SliderFrame = Instance.new("Frame")
  974. local SliderFrameCorner = Instance.new("UICorner")
  975. local SlideCurrent = Instance.new("Frame")
  976. local SlideCurrentCorner = Instance.new("UICorner")
  977. local SlideCircle = Instance.new("Frame")
  978. local SlideCircleCorner = Instance.new("UICorner")
  979. local SlideCircle1 = Instance.new("Frame")
  980. local SlideCircle1Corner = Instance.new("UICorner")
  981. local ValueFrame = Instance.new("Frame")
  982. local ValueFrameCorner = Instance.new("UICorner")
  983. local ValueText = Instance.new("TextLabel")
  984.  
  985. Slider.Name = "Slider"
  986. Slider.Parent = Tab
  987. Slider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  988. Slider.BackgroundTransparency = 1.000
  989. Slider.Position = UDim2.new(0.264204532, 0, 0.158208951, 0)
  990. Slider.Size = UDim2.new(0, 148, 0, 65)
  991.  
  992. SliderText.Name = "SliderText"
  993. SliderText.Parent = Slider
  994. SliderText.AnchorPoint = Vector2.new(1, 1)
  995. SliderText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  996. SliderText.BackgroundTransparency = 1.000
  997. SliderText.Position = UDim2.new(0.999999166, 0, 0.33968538, 0)
  998. SliderText.Size = UDim2.new(1.16142857, -23, 0.339685708, 0)
  999. SliderText.Font = Enum.Font.Gotham
  1000. SliderText.Text = text
  1001. SliderText.TextColor3 = Color3.fromRGB(0, 0, 0)
  1002. SliderText.TextSize = 14.000
  1003. SliderText.TextXAlignment = Enum.TextXAlignment.Left
  1004.  
  1005. SliderFrame.Name = "SliderFrame"
  1006. SliderFrame.Parent = Slider
  1007. SliderFrame.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  1008. SliderFrame.Position = UDim2.new(-0.00675675692, 0, 0.477616459, 0)
  1009. SliderFrame.Size = UDim2.new(0, 148, 0, 5)
  1010.  
  1011. SliderFrameCorner.CornerRadius = UDim.new(0, 15)
  1012. SliderFrameCorner.Name = "SliderFrameCorner"
  1013. SliderFrameCorner.Parent = SliderFrame
  1014.  
  1015. SlideCurrent.Name = "SlideCurrent"
  1016. SlideCurrent.Parent = SliderFrame
  1017. SlideCurrent.BackgroundColor3 = Color3.fromRGB(31, 118, 219)
  1018. SlideCurrent.BorderSizePixel = 0
  1019. SlideCurrent.Position = UDim2.new(-0.0001257658, 0, -0.0184065104, 0)
  1020. SlideCurrent.Size = UDim2.new((start or 0) / max, 0, 0, 5)
  1021.  
  1022. SlideCurrentCorner.CornerRadius = UDim.new(0, 15)
  1023. SlideCurrentCorner.Name = "SlideCurrentCorner"
  1024. SlideCurrentCorner.Parent = SlideCurrent
  1025.  
  1026. SlideCircle.Name = "SlideCircle"
  1027. SlideCircle.Parent = SliderFrame
  1028. SlideCircle.BackgroundColor3 = Color3.fromRGB(181, 181, 181)
  1029. SlideCircle.Position = UDim2.new((start or 0)/max, -6,-1.5, 0)
  1030. SlideCircle.Size = UDim2.new(0, 22, 0, 22)
  1031.  
  1032. SlideCircleCorner.CornerRadius = UDim.new(1, 0)
  1033. SlideCircleCorner.Name = "SlideCircleCorner"
  1034. SlideCircleCorner.Parent = SlideCircle
  1035.  
  1036. SlideCircle1.Name = "SlideCircle1"
  1037. SlideCircle1.Parent = SlideCircle
  1038. SlideCircle1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1039. SlideCircle1.Position = UDim2.new(0.0450000018, 0, 0.0410000011, 0)
  1040. SlideCircle1.Size = UDim2.new(0, 20, 0, 20)
  1041.  
  1042. SlideCircle1Corner.CornerRadius = UDim.new(1, 0)
  1043. SlideCircle1Corner.Name = "SlideCircle1Corner"
  1044. SlideCircle1Corner.Parent = SlideCircle1
  1045.  
  1046. ValueFrame.Name = "ValueFrame"
  1047. ValueFrame.Parent = Slider
  1048. ValueFrame.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  1049. ValueFrame.Position = UDim2.new(0, 0, 0.769924223, 0)
  1050. ValueFrame.Size = UDim2.new(0, 45, 0, 14)
  1051.  
  1052. ValueFrameCorner.CornerRadius = UDim.new(0, 3)
  1053. ValueFrameCorner.Name = "ValueFrameCorner"
  1054. ValueFrameCorner.Parent = ValueFrame
  1055.  
  1056. ValueText.Name = "ValueText"
  1057. ValueText.Parent = ValueFrame
  1058. ValueText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1059. ValueText.BackgroundTransparency = 1.000
  1060. ValueText.Size = UDim2.new(1, 0, 0, 14)
  1061. ValueText.Font = Enum.Font.GothamSemibold
  1062. ValueText.Text = tostring(start and math.floor((start / max) * (max - min) + min) or 0)
  1063. ValueText.TextColor3 = Color3.fromRGB(182, 182, 182)
  1064. ValueText.TextSize = 11.000
  1065.  
  1066. local function move(input)
  1067. local pos =
  1068. UDim2.new(
  1069. math.clamp((input.Position.X - SliderFrame.AbsolutePosition.X) / SliderFrame.AbsoluteSize.X, 0, 1),
  1070. -6,
  1071. -1.5,
  1072. 0
  1073. )
  1074. local pos1 =
  1075. UDim2.new(
  1076. math.clamp((input.Position.X - SliderFrame.AbsolutePosition.X) / SliderFrame.AbsoluteSize.X, 0, 1),
  1077. 0,
  1078. 0,
  1079. 5
  1080. )
  1081. SlideCurrent.Size = pos1
  1082. SlideCircle.Position = pos
  1083. local size = math.clamp(Mouse.X - SlideCurrent.AbsolutePosition.X, 0, 148)
  1084. local percent = size / 148
  1085.  
  1086. local val = math.floor((min + (max- min) * percent) * 10) / 10
  1087. if precise == true then
  1088. ValueText.Text = tostring(math.ceil(val))
  1089. else
  1090. ValueText.Text = tostring(val)
  1091. end
  1092.  
  1093. pcall(callback, val)
  1094. end
  1095. SlideCircle.InputBegan:Connect(
  1096. function(input)
  1097. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  1098. dragging = true
  1099. end
  1100. end
  1101. )
  1102. SlideCircle.InputEnded:Connect(
  1103. function(input)
  1104. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  1105. dragging = false
  1106. end
  1107. end
  1108. )
  1109. game:GetService("UserInputService").InputChanged:Connect(function(input)
  1110. if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
  1111. move(input)
  1112. end
  1113. end)
  1114.  
  1115. function sliderfunc:Change(val)
  1116. ValueText.Text = tostring(val and math.floor((val / max) * (max - min) + min) or 0)
  1117. SlideCircle.Position = UDim2.new((val or 0)/max, -6,-1.5, 0)
  1118. SlideCurrent.Size = UDim2.new((val or 0) / max, 0, 0, 5)
  1119. end
  1120.  
  1121. coroutine.wrap(
  1122. function()
  1123. while wait() do
  1124. ValueFrame.BackgroundColor3 = themes[selectedtheme].Color2
  1125. SliderFrame.BackgroundColor3 = themes[selectedtheme].Color2
  1126. SlideCircle.BackgroundColor3 = themes[selectedtheme].Color3
  1127. SlideCircle1.BackgroundColor3 = themes[selectedtheme].Color1
  1128. SliderText.TextColor3 = themes[selectedtheme].TextColor
  1129. end
  1130. end
  1131. )()
  1132.  
  1133. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  1134. return sliderfunc
  1135. end
  1136. function tabcontent:SlidersHorizontal()
  1137. local SlidersHorizontal = Instance.new("Frame")
  1138. local SlidersHorizontalLayout = Instance.new("UIListLayout")
  1139.  
  1140. SlidersHorizontal.Name = "SlidersHorizontal"
  1141. SlidersHorizontal.Parent = Tab
  1142. SlidersHorizontal.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1143. SlidersHorizontal.BackgroundTransparency = 1.000
  1144. SlidersHorizontal.Position = UDim2.new(1.35802472, 0, 0.364130437, 0)
  1145. SlidersHorizontal.Size = UDim2.new(1, 0, 0, 65)
  1146.  
  1147. SlidersHorizontalLayout.Name = "SlidersHorizontalLayout"
  1148. SlidersHorizontalLayout.Parent = SlidersHorizontal
  1149. SlidersHorizontalLayout.FillDirection = Enum.FillDirection.Horizontal
  1150. SlidersHorizontalLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  1151. SlidersHorizontalLayout.SortOrder = Enum.SortOrder.LayoutOrder
  1152. SlidersHorizontalLayout.Padding = UDim.new(0, 25)
  1153.  
  1154. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  1155. local SlidersHorizontalHold = {}
  1156. function SlidersHorizontalHold:Slider(text,precise, min, max, start, callback)
  1157. local sliderfunc = {}
  1158. local dragging = false
  1159. local Slider = Instance.new("Frame")
  1160. local SliderText = Instance.new("TextLabel")
  1161. local SliderFrame = Instance.new("Frame")
  1162. local SliderFrameCorner = Instance.new("UICorner")
  1163. local SlideCurrent = Instance.new("Frame")
  1164. local SlideCurrentCorner = Instance.new("UICorner")
  1165. local SlideCircle = Instance.new("Frame")
  1166. local SlideCircleCorner = Instance.new("UICorner")
  1167. local SlideCircle1 = Instance.new("Frame")
  1168. local SlideCircle1Corner = Instance.new("UICorner")
  1169. local ValueFrame = Instance.new("Frame")
  1170. local ValueFrameCorner = Instance.new("UICorner")
  1171. local ValueText = Instance.new("TextLabel")
  1172.  
  1173. Slider.Name = "Slider"
  1174. Slider.Parent = SlidersHorizontal
  1175. Slider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1176. Slider.BackgroundTransparency = 1.000
  1177. Slider.Position = UDim2.new(0.264204532, 0, 0.158208951, 0)
  1178. Slider.Size = UDim2.new(0, 148, 0, 65)
  1179.  
  1180. SliderText.Name = "SliderText"
  1181. SliderText.Parent = Slider
  1182. SliderText.AnchorPoint = Vector2.new(1, 1)
  1183. SliderText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1184. SliderText.BackgroundTransparency = 1.000
  1185. SliderText.Position = UDim2.new(0.999999166, 0, 0.33968538, 0)
  1186. SliderText.Size = UDim2.new(1.16142857, -23, 0.339685708, 0)
  1187. SliderText.Font = Enum.Font.Gotham
  1188. SliderText.Text = text
  1189. SliderText.TextColor3 = Color3.fromRGB(0, 0, 0)
  1190. SliderText.TextSize = 14.000
  1191. SliderText.TextXAlignment = Enum.TextXAlignment.Left
  1192.  
  1193. SliderFrame.Name = "SliderFrame"
  1194. SliderFrame.Parent = Slider
  1195. SliderFrame.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  1196. SliderFrame.Position = UDim2.new(-0.00675675692, 0, 0.477616459, 0)
  1197. SliderFrame.Size = UDim2.new(0, 148, 0, 5)
  1198.  
  1199. SliderFrameCorner.CornerRadius = UDim.new(0, 15)
  1200. SliderFrameCorner.Name = "SliderFrameCorner"
  1201. SliderFrameCorner.Parent = SliderFrame
  1202.  
  1203. SlideCurrent.Name = "SlideCurrent"
  1204. SlideCurrent.Parent = SliderFrame
  1205. SlideCurrent.BackgroundColor3 = Color3.fromRGB(31, 118, 219)
  1206. SlideCurrent.BorderSizePixel = 0
  1207. SlideCurrent.Position = UDim2.new(-0.0001257658, 0, -0.0184065104, 0)
  1208. SlideCurrent.Size = UDim2.new((start or 0) / max, 0, 0, 5)
  1209.  
  1210. SlideCurrentCorner.CornerRadius = UDim.new(0, 15)
  1211. SlideCurrentCorner.Name = "SlideCurrentCorner"
  1212. SlideCurrentCorner.Parent = SlideCurrent
  1213.  
  1214. SlideCircle.Name = "SlideCircle"
  1215. SlideCircle.Parent = SliderFrame
  1216. SlideCircle.BackgroundColor3 = Color3.fromRGB(181, 181, 181)
  1217. SlideCircle.Position = UDim2.new((start or 0)/max, -6,-1.5, 0)
  1218. SlideCircle.Size = UDim2.new(0, 22, 0, 22)
  1219.  
  1220. SlideCircleCorner.CornerRadius = UDim.new(1, 0)
  1221. SlideCircleCorner.Name = "SlideCircleCorner"
  1222. SlideCircleCorner.Parent = SlideCircle
  1223.  
  1224. SlideCircle1.Name = "SlideCircle1"
  1225. SlideCircle1.Parent = SlideCircle
  1226. SlideCircle1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1227. SlideCircle1.Position = UDim2.new(0.0450000018, 0, 0.0410000011, 0)
  1228. SlideCircle1.Size = UDim2.new(0, 20, 0, 20)
  1229.  
  1230. SlideCircle1Corner.CornerRadius = UDim.new(1, 0)
  1231. SlideCircle1Corner.Name = "SlideCircle1Corner"
  1232. SlideCircle1Corner.Parent = SlideCircle1
  1233.  
  1234. ValueFrame.Name = "ValueFrame"
  1235. ValueFrame.Parent = Slider
  1236. ValueFrame.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  1237. ValueFrame.Position = UDim2.new(0, 0, 0.769924223, 0)
  1238. ValueFrame.Size = UDim2.new(0, 45, 0, 14)
  1239.  
  1240. ValueFrameCorner.CornerRadius = UDim.new(0, 3)
  1241. ValueFrameCorner.Name = "ValueFrameCorner"
  1242. ValueFrameCorner.Parent = ValueFrame
  1243.  
  1244. ValueText.Name = "ValueText"
  1245. ValueText.Parent = ValueFrame
  1246. ValueText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1247. ValueText.BackgroundTransparency = 1.000
  1248. ValueText.Size = UDim2.new(1, 0, 0, 14)
  1249. ValueText.Font = Enum.Font.GothamSemibold
  1250. ValueText.Text = tostring(start and math.floor((start / max) * (max - min) + min) or 0)
  1251. ValueText.TextColor3 = Color3.fromRGB(182, 182, 182)
  1252. ValueText.TextSize = 11.000
  1253.  
  1254. local function move(input)
  1255. local pos =
  1256. UDim2.new(
  1257. math.clamp((input.Position.X - SliderFrame.AbsolutePosition.X) / SliderFrame.AbsoluteSize.X, 0, 1),
  1258. -1,
  1259. -1.5,
  1260. 0
  1261. )
  1262. local pos1 =
  1263. UDim2.new(
  1264. math.clamp((input.Position.X - SliderFrame.AbsolutePosition.X) / SliderFrame.AbsoluteSize.X, 0, 1),
  1265. 0,
  1266. 0,
  1267. 5
  1268. )
  1269. SlideCurrent.Size = pos1
  1270. SlideCircle.Position = pos
  1271. local size = math.clamp(Mouse.X - SlideCurrent.AbsolutePosition.X, 0, 148)
  1272. local percent = size / 148
  1273.  
  1274. local val = math.floor((min + (max- min) * percent) * 10) / 10
  1275. if precise == true then
  1276. ValueText.Text = tostring(math.ceil(val))
  1277. else
  1278. ValueText.Text = tostring(val)
  1279. end
  1280.  
  1281. pcall(callback, val)
  1282. end
  1283. SlideCircle.InputBegan:Connect(
  1284. function(input)
  1285. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  1286. dragging = true
  1287. end
  1288. end
  1289. )
  1290. SlideCircle.InputEnded:Connect(
  1291. function(input)
  1292. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  1293. dragging = false
  1294. end
  1295. end
  1296. )
  1297. game:GetService("UserInputService").InputChanged:Connect(function(input)
  1298. if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
  1299. move(input)
  1300. end
  1301. end)
  1302.  
  1303. function sliderfunc:Change(val)
  1304. ValueText.Text = tostring(val and math.floor((val / max) * (max - min) + min) or 0)
  1305. SlideCircle.Position = UDim2.new((val or 0)/max, -6,-1.5, 0)
  1306. SlideCurrent.Size = UDim2.new((val or 0) / max, 0, 0, 5)
  1307. end
  1308.  
  1309.  
  1310. coroutine.wrap(
  1311. function()
  1312. while wait() do
  1313. ValueFrame.BackgroundColor3 = themes[selectedtheme].Color2
  1314. SliderFrame.BackgroundColor3 = themes[selectedtheme].Color2
  1315. SlideCircle.BackgroundColor3 = themes[selectedtheme].Color3
  1316. SlideCircle1.BackgroundColor3 = themes[selectedtheme].Color1
  1317. SliderText.TextColor3 = themes[selectedtheme].TextColor
  1318. end
  1319. end
  1320. )()
  1321. return sliderfunc
  1322. end
  1323. return SlidersHorizontalHold
  1324. end
  1325. function tabcontent:Dropdown(text, list, callback)
  1326. local dropfunc = {}
  1327. local ItemCount = 0
  1328. local DropToggled = false
  1329. local Dropdown = Instance.new("Frame")
  1330. local DropdownBtn = Instance.new("TextButton")
  1331. local DropdownFrameOutline = Instance.new("Frame")
  1332. local DropdownFrameOutlineCorner = Instance.new("UICorner")
  1333. local DropdownFrame = Instance.new("Frame")
  1334. local DropdownFrameCorner = Instance.new("UICorner")
  1335. local DropdownIcoFrame = Instance.new("Frame")
  1336. local DropdownIcoFrameCorner = Instance.new("UICorner")
  1337. local DropdownIco = Instance.new("ImageLabel")
  1338. local DropdownText = Instance.new("TextLabel")
  1339. local DropdownFrameMainOutline = Instance.new("Frame")
  1340. local DropdownFrameMainOutlineCorner = Instance.new("UICorner")
  1341. local DropdownFrameMain = Instance.new("Frame")
  1342. local DropdownFrameMainCorner = Instance.new("UICorner")
  1343. local DropdownMainScrollFrame = Instance.new("ScrollingFrame")
  1344. local DropdownMainScrollFrameLayout = Instance.new("UIListLayout")
  1345. local DropdownTitle = Instance.new("TextLabel")
  1346. local DropdownMainHold = Instance.new("Frame")
  1347.  
  1348.  
  1349. Dropdown.Name = "Dropdown"
  1350. Dropdown.Parent = Tab
  1351. Dropdown.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1352. Dropdown.BackgroundTransparency = 1.000
  1353. Dropdown.Position = UDim2.new(0.220833331, 0, 0.260726064, 0)
  1354. Dropdown.Size = UDim2.new(0, 171, 0, 25)
  1355.  
  1356. DropdownBtn.Name = "DropdownBtn"
  1357. DropdownBtn.Parent = Dropdown
  1358. DropdownBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1359. DropdownBtn.BackgroundTransparency = 1.000
  1360. DropdownBtn.Position = UDim2.new(0.257309943, 0, 0, 0)
  1361. DropdownBtn.Size = UDim2.new(0, 170, 0, 25)
  1362. DropdownBtn.Font = Enum.Font.SourceSans
  1363. DropdownBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  1364. DropdownBtn.TextSize = 14.000
  1365.  
  1366. DropdownMainHold.Name = "DropdownBtn"
  1367. DropdownMainHold.Parent = Tab
  1368. DropdownMainHold.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1369. DropdownMainHold.BackgroundTransparency = 1.000
  1370. DropdownMainHold.Position = UDim2.new(0.257309943, 0, 0, 0)
  1371. DropdownMainHold.Size = UDim2.new(0, 170, 0, 25)
  1372. DropdownMainHold.Visible = false
  1373.  
  1374. DropdownFrameOutline.Name = "DropdownFrameOutline"
  1375. DropdownFrameOutline.Parent = DropdownBtn
  1376. DropdownFrameOutline.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  1377. DropdownFrameOutline.Position = UDim2.new(0, 0, -0.00300000003, 0)
  1378. DropdownFrameOutline.Size = UDim2.new(0, 171, 0, 25)
  1379.  
  1380. DropdownFrameOutlineCorner.CornerRadius = UDim.new(0, 5)
  1381. DropdownFrameOutlineCorner.Name = "DropdownFrameOutlineCorner"
  1382. DropdownFrameOutlineCorner.Parent = DropdownFrameOutline
  1383.  
  1384. DropdownFrame.Name = "DropdownFrame"
  1385. DropdownFrame.Parent = DropdownFrameOutline
  1386. DropdownFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  1387. DropdownFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1388. DropdownFrame.BorderSizePixel = 0
  1389. DropdownFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  1390. DropdownFrame.Size = UDim2.new(1, -4, 0, 21)
  1391.  
  1392. DropdownFrameCorner.CornerRadius = UDim.new(0, 5)
  1393. DropdownFrameCorner.Name = "DropdownFrameCorner"
  1394. DropdownFrameCorner.Parent = DropdownFrame
  1395.  
  1396. DropdownIcoFrame.Name = "DropdownIcoFrame"
  1397. DropdownIcoFrame.Parent = DropdownFrame
  1398. DropdownIcoFrame.BackgroundColor3 = Color3.fromRGB(31, 118, 219)
  1399. DropdownIcoFrame.Position = UDim2.new(0.884000003, 0, 0.150000006, 0)
  1400. DropdownIcoFrame.Size = UDim2.new(0, 15, 1, -6)
  1401.  
  1402. DropdownIcoFrameCorner.CornerRadius = UDim.new(0, 5)
  1403. DropdownIcoFrameCorner.Name = "DropdownIcoFrameCorner"
  1404. DropdownIcoFrameCorner.Parent = DropdownIcoFrame
  1405.  
  1406. DropdownIco.Name = "DropdownIco"
  1407. DropdownIco.Parent = DropdownIcoFrame
  1408. DropdownIco.AnchorPoint = Vector2.new(0.5, 0.5)
  1409. DropdownIco.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1410. DropdownIco.BackgroundTransparency = 1.000
  1411. DropdownIco.Position = UDim2.new(0.5, 0, 0.5, 0)
  1412. DropdownIco.Rotation = 90.000
  1413. DropdownIco.Size = UDim2.new(0, 11, 0, 11)
  1414. DropdownIco.Image = "http://www.roblox.com/asset/?id=6022668955"
  1415.  
  1416. DropdownText.Name = "DropdownText"
  1417. DropdownText.Parent = DropdownFrameOutline
  1418. DropdownText.AnchorPoint = Vector2.new(1, 1)
  1419. DropdownText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1420. DropdownText.BackgroundTransparency = 1.000
  1421. DropdownText.Position = UDim2.new(1, 0, 1, 0)
  1422. DropdownText.Size = UDim2.new(1, -7, 1.00300002, 0)
  1423. DropdownText.Font = Enum.Font.Gotham
  1424. DropdownText.Text = ""
  1425. DropdownText.TextColor3 = Color3.fromRGB(0, 0, 0)
  1426. DropdownText.TextSize = 13.000
  1427. DropdownText.TextXAlignment = Enum.TextXAlignment.Left
  1428.  
  1429. DropdownFrameMainOutline.Name = "DropdownFrameMainOutline"
  1430. DropdownFrameMainOutline.Parent = DropdownMainHold
  1431. DropdownFrameMainOutline.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  1432. DropdownFrameMainOutline.Position = UDim2.new(0.257309943, 0,0, 0)
  1433. DropdownFrameMainOutline.Size = UDim2.new(0, 171, 0, 95)
  1434. DropdownFrameMainOutline.Visible = false
  1435.  
  1436. DropdownFrameMainOutlineCorner.CornerRadius = UDim.new(0, 5)
  1437. DropdownFrameMainOutlineCorner.Name = "DropdownFrameMainOutlineCorner"
  1438. DropdownFrameMainOutlineCorner.Parent = DropdownFrameMainOutline
  1439.  
  1440. DropdownFrameMain.Name = "DropdownFrameMain"
  1441. DropdownFrameMain.Parent = DropdownFrameMainOutline
  1442. DropdownFrameMain.AnchorPoint = Vector2.new(0.5, 0.5)
  1443. DropdownFrameMain.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1444. DropdownFrameMain.BorderSizePixel = 0
  1445. DropdownFrameMain.Position = UDim2.new(0.5, 0, 0.5, 0)
  1446. DropdownFrameMain.Size = UDim2.new(1, -4, 1, -4)
  1447.  
  1448. DropdownFrameMainCorner.CornerRadius = UDim.new(0, 5)
  1449. DropdownFrameMainCorner.Name = "DropdownFrameMainCorner"
  1450. DropdownFrameMainCorner.Parent = DropdownFrameMain
  1451.  
  1452. DropdownMainScrollFrame.Name = "DropdownMainScrollFrame"
  1453. DropdownMainScrollFrame.Parent = DropdownFrameMain
  1454. DropdownMainScrollFrame.Active = true
  1455. DropdownMainScrollFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  1456. DropdownMainScrollFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1457. DropdownMainScrollFrame.BackgroundTransparency = 1
  1458. DropdownMainScrollFrame.BorderSizePixel = 0
  1459. DropdownMainScrollFrame.Position = UDim2.new(0.511976063, 0, 0.50300014, 0)
  1460. DropdownMainScrollFrame.Size = UDim2.new(0.0199520998, 155, 1, -13)
  1461. DropdownMainScrollFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  1462. DropdownMainScrollFrame.ScrollBarThickness = 3
  1463. DropdownMainScrollFrame.ScrollBarImageColor3 = Color3.fromRGB(213, 213, 213)
  1464.  
  1465. DropdownMainScrollFrameLayout.Name = "DropdownMainScrollFrameLayout"
  1466. DropdownMainScrollFrameLayout.Parent = DropdownMainScrollFrame
  1467. DropdownMainScrollFrameLayout.SortOrder = Enum.SortOrder.LayoutOrder
  1468.  
  1469. DropdownTitle.Name = "DropdownTitle"
  1470. DropdownTitle.Parent = Dropdown
  1471. DropdownTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1472. DropdownTitle.BackgroundTransparency = 1.000
  1473. DropdownTitle.BorderSizePixel = 0
  1474. DropdownTitle.Position = UDim2.new(0, 37, 0, 0)
  1475. DropdownTitle.Size = UDim2.new(0, 0, 0, 25)
  1476. DropdownTitle.Font = Enum.Font.Gotham
  1477. DropdownTitle.Text = text
  1478. DropdownTitle.TextColor3 = Color3.fromRGB(0, 0, 0)
  1479. DropdownTitle.TextSize = 14.000
  1480. DropdownTitle.TextXAlignment = Enum.TextXAlignment.Right
  1481.  
  1482. DropdownBtn.MouseButton1Click:Connect(function()
  1483. if DropToggled == false then
  1484. DropdownFrameMainOutline.Visible = true
  1485. DropdownMainHold.Visible = true
  1486. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  1487.  
  1488. else
  1489. DropdownFrameMainOutline.Visible = false
  1490. DropdownMainHold.Visible = false
  1491. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  1492. end
  1493. DropToggled = not DropToggled
  1494. end)
  1495.  
  1496. coroutine.wrap(
  1497. function()
  1498. while wait() do
  1499. DropdownTitle.TextColor3 = themes[selectedtheme].TextColor
  1500. DropdownText.TextColor3 = themes[selectedtheme].TextColor
  1501. DropdownFrameOutline.BackgroundColor3 = themes[selectedtheme].Color2
  1502. DropdownFrame.BackgroundColor3 = themes[selectedtheme].Color1
  1503. DropdownFrameMainOutline.BackgroundColor3 = themes[selectedtheme].Color2
  1504. DropdownFrameMain.BackgroundColor3 = themes[selectedtheme].Color1
  1505. DropdownMainScrollFrame.ScrollBarImageColor3 = themes[selectedtheme].ScrollBar
  1506. end
  1507. end
  1508. )()
  1509.  
  1510. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  1511. for i,v in next, list do
  1512. ItemCount = ItemCount + 1
  1513. if ItemCount == 1 then
  1514. DropdownFrameMainOutline.Size = UDim2.new(0, 171, 0, 43)
  1515. DropdownMainHold.Size = UDim2.new(0, 170, 0, 43)
  1516. elseif ItemCount == 2 then
  1517. DropdownFrameMainOutline.Size = UDim2.new(0, 171, 0, 67)
  1518. DropdownMainHold.Size = UDim2.new(0, 170, 0, 67)
  1519. else
  1520. DropdownFrameMainOutline.Size = UDim2.new(0, 171, 0, 92)
  1521. DropdownMainHold.Size = UDim2.new(0, 170, 0, 92)
  1522. end
  1523. local ItemBtn = Instance.new("TextButton")
  1524. local ItemBtnCorner = Instance.new("UICorner")
  1525. local ItemText = Instance.new("TextLabel")
  1526. local hovering = false
  1527.  
  1528. ItemBtn.Name = "ItemBtn"
  1529. ItemBtn.Parent = DropdownMainScrollFrame
  1530. ItemBtn.BackgroundColor3 = Color3.fromRGB(31, 118, 219)
  1531. ItemBtn.Size = UDim2.new(0, 154, 0, 25)
  1532. ItemBtn.AutoButtonColor = false
  1533. ItemBtn.Font = Enum.Font.SourceSans
  1534. ItemBtn.Text = ""
  1535. ItemBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  1536. ItemBtn.TextSize = 14.000
  1537. ItemBtn.BackgroundTransparency = 1
  1538.  
  1539. ItemBtnCorner.CornerRadius = UDim.new(0, 5)
  1540. ItemBtnCorner.Name = "ItemBtnCorner"
  1541. ItemBtnCorner.Parent = ItemBtn
  1542.  
  1543. ItemText.Name = "ItemText"
  1544. ItemText.Parent = ItemBtn
  1545. ItemText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1546. ItemText.BackgroundTransparency = 1.000
  1547. ItemText.Position = UDim2.new(0.038961038, 0, 0, 0)
  1548. ItemText.Size = UDim2.new(0, 148, 0, 25)
  1549. ItemText.Font = Enum.Font.Gotham
  1550. ItemText.Text = v
  1551. ItemText.TextColor3 = Color3.fromRGB(255, 255, 255)
  1552. ItemText.TextSize = 14.000
  1553. ItemText.TextXAlignment = Enum.TextXAlignment.Left
  1554.  
  1555. DropdownMainScrollFrame.CanvasSize = UDim2.new(0, 0, 0, DropdownMainScrollFrameLayout.AbsoluteContentSize.Y)
  1556.  
  1557. ItemBtn.MouseButton1Click:Connect(function()
  1558. DropdownMainHold.Visible = false
  1559. DropToggled = not DropToggled
  1560. DropdownText.Text = v
  1561. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  1562. pcall(callback, v)
  1563.  
  1564. end)
  1565.  
  1566. ItemBtn.MouseLeave:Connect(function()
  1567. ItemBtn.BackgroundTransparency = 1
  1568. hovering = false
  1569. end)
  1570.  
  1571. ItemBtn.MouseEnter:Connect(function()
  1572. ItemBtn.BackgroundTransparency = 0
  1573. hovering = true
  1574. end)
  1575.  
  1576. coroutine.wrap(
  1577. function()
  1578. while wait() do
  1579. if hovering == false then
  1580. ItemText.TextColor3 = themes[selectedtheme].TextColor
  1581. else
  1582. ItemText.TextColor3 = Color3.fromRGB(255, 255, 255)
  1583. end
  1584. end
  1585. end
  1586. )()
  1587. end
  1588. function dropfunc:Add(toadd)
  1589. ItemCount = ItemCount + 1
  1590. if ItemCount == 1 then
  1591. DropdownFrameMainOutline.Size = UDim2.new(0, 171, 0, 43)
  1592. DropdownMainHold.Size = UDim2.new(0, 170, 0, 43)
  1593. elseif ItemCount == 2 then
  1594. DropdownFrameMainOutline.Size = UDim2.new(0, 171, 0, 67)
  1595. DropdownMainHold.Size = UDim2.new(0, 170, 0, 67)
  1596. else
  1597. DropdownFrameMainOutline.Size = UDim2.new(0, 171, 0, 92)
  1598. DropdownMainHold.Size = UDim2.new(0, 170, 0, 92)
  1599. end
  1600. local ItemBtn = Instance.new("TextButton")
  1601. local ItemBtnCorner = Instance.new("UICorner")
  1602. local ItemText = Instance.new("TextLabel")
  1603. local hovering = false
  1604.  
  1605. ItemBtn.Name = "ItemBtn"
  1606. ItemBtn.Parent = DropdownMainScrollFrame
  1607. ItemBtn.BackgroundColor3 = Color3.fromRGB(31, 118, 219)
  1608. ItemBtn.Size = UDim2.new(0, 154, 0, 25)
  1609. ItemBtn.AutoButtonColor = false
  1610. ItemBtn.Font = Enum.Font.SourceSans
  1611. ItemBtn.Text = ""
  1612. ItemBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  1613. ItemBtn.TextSize = 14.000
  1614. ItemBtn.BackgroundTransparency = 1
  1615.  
  1616. ItemBtnCorner.CornerRadius = UDim.new(0, 5)
  1617. ItemBtnCorner.Name = "ItemBtnCorner"
  1618. ItemBtnCorner.Parent = ItemBtn
  1619.  
  1620. ItemText.Name = "ItemText"
  1621. ItemText.Parent = ItemBtn
  1622. ItemText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1623. ItemText.BackgroundTransparency = 1.000
  1624. ItemText.Position = UDim2.new(0.038961038, 0, 0, 0)
  1625. ItemText.Size = UDim2.new(0, 148, 0, 25)
  1626. ItemText.Font = Enum.Font.Gotham
  1627. ItemText.Text = toadd
  1628. ItemText.TextColor3 = Color3.fromRGB(255, 255, 255)
  1629. ItemText.TextSize = 14.000
  1630. ItemText.TextXAlignment = Enum.TextXAlignment.Left
  1631.  
  1632. DropdownMainScrollFrame.CanvasSize = UDim2.new(0, 0, 0, DropdownMainScrollFrameLayout.AbsoluteContentSize.Y)
  1633.  
  1634. ItemBtn.MouseButton1Click:Connect(function()
  1635. DropdownMainHold.Visible = false
  1636. DropToggled = not DropToggled
  1637. DropdownText.Text = toadd
  1638. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  1639. pcall(callback, toadd)
  1640.  
  1641. end)
  1642.  
  1643. ItemBtn.MouseLeave:Connect(function()
  1644. ItemBtn.BackgroundTransparency = 1
  1645. hovering = false
  1646. end)
  1647.  
  1648. ItemBtn.MouseEnter:Connect(function()
  1649. ItemBtn.BackgroundTransparency = 0
  1650. hovering = true
  1651. end)
  1652.  
  1653. coroutine.wrap(
  1654. function()
  1655. while wait() do
  1656. if hovering == false then
  1657. ItemText.TextColor3 = themes[selectedtheme].TextColor
  1658. else
  1659. ItemText.TextColor3 = Color3.fromRGB(255, 255, 255)
  1660. end
  1661. end
  1662. end
  1663. )()
  1664. end
  1665. function dropfunc:Clear()
  1666. ItemCount = 0
  1667. for i,v in next, DropdownMainScrollFrame:GetChildren() do
  1668. if v.Name == "ItemBtn" then
  1669. v:Destroy()
  1670. end
  1671. end
  1672. end
  1673. return dropfunc
  1674. end
  1675. function tabcontent:Colorpicker(text, preset, callback)
  1676. local ColorPickerToggled = false
  1677. local OldToggleColor = Color3.fromRGB(0, 0, 0)
  1678. local OldColor = Color3.fromRGB(0, 0, 0)
  1679. local OldColorSelectionPosition = nil
  1680. local OldHueSelectionPosition = nil
  1681. local ColorH, ColorS, ColorV = 1, 1, 1
  1682. local RainbowColorPicker = false
  1683. local ColorPickerInput = nil
  1684. local ColorInput = nil
  1685. local HueInput = nil
  1686. local hovering = false
  1687.  
  1688. local Colorpicker = Instance.new("TextButton")
  1689. local ColorpickerFrameClr = Instance.new("Frame")
  1690. local ColorpickerFrameClrCorner = Instance.new("UICorner")
  1691. local ColorpickerText = Instance.new("TextLabel")
  1692.  
  1693. Colorpicker.Name = "Colorpicker"
  1694. Colorpicker.Parent = Tab
  1695. Colorpicker.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1696. Colorpicker.BackgroundTransparency = 1.000
  1697. Colorpicker.Position = UDim2.new(0.394886374, 0, 0.0925373137, 0)
  1698. Colorpicker.Size = UDim2.new(0, 71, 0, 16)
  1699. Colorpicker.Font = Enum.Font.SourceSans
  1700. Colorpicker.Text = ""
  1701. Colorpicker.TextColor3 = Color3.fromRGB(0, 0, 0)
  1702. Colorpicker.TextSize = 14.000
  1703.  
  1704. ColorpickerFrameClr.Name = "ColorpickerFrame"
  1705. ColorpickerFrameClr.Parent = Colorpicker
  1706. ColorpickerFrameClr.BackgroundColor3 = preset
  1707. ColorpickerFrameClr.Size = UDim2.new(0, 16, 0, 16)
  1708.  
  1709. ColorpickerFrameClrCorner.CornerRadius = UDim.new(1, 0)
  1710. ColorpickerFrameClrCorner.Name = "ColorpickerFrameCorner"
  1711. ColorpickerFrameClrCorner.Parent = ColorpickerFrameClr
  1712.  
  1713. ColorpickerText.Name = "ColorpickerText"
  1714. ColorpickerText.Parent = Colorpicker
  1715. ColorpickerText.AnchorPoint = Vector2.new(1, 1)
  1716. ColorpickerText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1717. ColorpickerText.BackgroundTransparency = 1.000
  1718. ColorpickerText.Position = UDim2.new(1, 0, 1, 0)
  1719. ColorpickerText.Size = UDim2.new(1, -23, 1, 0)
  1720. ColorpickerText.Font = Enum.Font.Gotham
  1721. ColorpickerText.Text = text
  1722. ColorpickerText.TextColor3 = Color3.fromRGB(0, 0, 0)
  1723. ColorpickerText.TextSize = 14.000
  1724. ColorpickerText.TextXAlignment = Enum.TextXAlignment.Left
  1725.  
  1726. local ColorPickerOutlineFrame = Instance.new("Frame")
  1727. local ColorPickerOutlineFrameCorner = Instance.new("UICorner")
  1728. local ColorPickerFrame = Instance.new("Frame")
  1729. local ColorPickerFrameCorner = Instance.new("UICorner")
  1730. local Color = Instance.new("ImageLabel")
  1731. local ColorCorner = Instance.new("UICorner")
  1732. local ColorSelection = Instance.new("ImageLabel")
  1733. local Hue = Instance.new("ImageLabel")
  1734. local HueCorner = Instance.new("UICorner")
  1735. local HueGradient = Instance.new("UIGradient")
  1736. local HueSelection = Instance.new("ImageLabel")
  1737. local ConfirmBtn = Instance.new("TextButton")
  1738. local ConfirmBtnFrame = Instance.new("Frame")
  1739. local ConfirmBtnFrameCorner = Instance.new("UICorner")
  1740. local ConfirmBtnCorner = Instance.new("UICorner")
  1741. local ConfirmBtnHoverFrame = Instance.new("Frame")
  1742. local ConfirmBtnHoverFrameCorner = Instance.new("UICorner")
  1743. local ConfirmBtnText = Instance.new("TextLabel")
  1744. local RainbowToggle = Instance.new("TextButton")
  1745. local RainbowToggleText = Instance.new("TextLabel")
  1746. local RainbowToggleFrame = Instance.new("Frame")
  1747. local RainbowToggleFrameCorner = Instance.new("UICorner")
  1748. local RainbowToggleFrame1 = Instance.new("Frame")
  1749. local RainbowToggleFrame1Corner = Instance.new("UICorner")
  1750. local RainbowToggleFrame2 = Instance.new("Frame")
  1751. local RainbowToggleFrame2Corner = Instance.new("UICorner")
  1752. local RainbowToggleToggledFrame = Instance.new("Frame")
  1753. local RainbowToggleToggledFrameCorner = Instance.new("UICorner")
  1754. local ToggleTick = Instance.new("ImageLabel")
  1755.  
  1756.  
  1757. ColorPickerOutlineFrame.Name = "ColorPickerOutlineFrame"
  1758. ColorPickerOutlineFrame.Parent = Tab
  1759. ColorPickerOutlineFrame.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  1760. ColorPickerOutlineFrame.Position = UDim2.new(0.213314757, 0, 0.19295603, 0)
  1761. ColorPickerOutlineFrame.Size = UDim2.new(0, 139, 0, 161)
  1762. ColorPickerOutlineFrame.Visible = false
  1763.  
  1764. ColorPickerOutlineFrameCorner.CornerRadius = UDim.new(0, 5)
  1765. ColorPickerOutlineFrameCorner.Name = "ColorPickerOutlineFrameCorner"
  1766. ColorPickerOutlineFrameCorner.Parent = ColorPickerOutlineFrame
  1767.  
  1768. ColorPickerFrame.Name = "ColorPickerFrame"
  1769. ColorPickerFrame.Parent = ColorPickerOutlineFrame
  1770. ColorPickerFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  1771. ColorPickerFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1772. ColorPickerFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  1773. ColorPickerFrame.Size = UDim2.new(1, -4, 1, -4)
  1774.  
  1775. ColorPickerFrameCorner.CornerRadius = UDim.new(0, 5)
  1776. ColorPickerFrameCorner.Name = "ColorPickerFrameCorner"
  1777. ColorPickerFrameCorner.Parent = ColorPickerFrame
  1778.  
  1779. Color.Name = "Color"
  1780. Color.Parent = ColorPickerFrame
  1781. Color.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  1782. Color.Position = UDim2.new(0, 7, 0, 10)
  1783. Color.Size = UDim2.new(0, 94, 0, 89)
  1784. Color.ZIndex = 10
  1785. Color.Image = "rbxassetid://4155801252"
  1786.  
  1787. ColorCorner.CornerRadius = UDim.new(0, 3)
  1788. ColorCorner.Name = "ColorCorner"
  1789. ColorCorner.Parent = Color
  1790.  
  1791. ColorSelection.Name = "ColorSelection"
  1792. ColorSelection.Parent = Color
  1793. ColorSelection.AnchorPoint = Vector2.new(0.5, 0.5)
  1794. ColorSelection.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1795. ColorSelection.BackgroundTransparency = 1.000
  1796. ColorSelection.Position = UDim2.new(preset and select(3, Color3.toHSV(preset)))
  1797. ColorSelection.Size = UDim2.new(0, 18, 0, 18)
  1798. ColorSelection.Image = "http://www.roblox.com/asset/?id=4805639000"
  1799. ColorSelection.ScaleType = Enum.ScaleType.Fit
  1800.  
  1801. Hue.Name = "Hue"
  1802. Hue.Parent = ColorPickerFrame
  1803. Hue.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1804. Hue.Position = UDim2.new(0, 107, 0, 10)
  1805. Hue.Size = UDim2.new(0, 20, 0, 87)
  1806. Hue.ImageTransparency = 1.000
  1807.  
  1808. HueCorner.CornerRadius = UDim.new(0, 3)
  1809. HueCorner.Name = "HueCorner"
  1810. HueCorner.Parent = Hue
  1811.  
  1812. HueGradient.Color = ColorSequence.new {
  1813. ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 4)),
  1814. ColorSequenceKeypoint.new(0.20, Color3.fromRGB(234, 255, 0)),
  1815. ColorSequenceKeypoint.new(0.40, Color3.fromRGB(21, 255, 0)),
  1816. ColorSequenceKeypoint.new(0.60, Color3.fromRGB(0, 255, 255)),
  1817. ColorSequenceKeypoint.new(0.80, Color3.fromRGB(0, 17, 255)),
  1818. ColorSequenceKeypoint.new(0.90, Color3.fromRGB(255, 0, 251)),
  1819. ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 4))
  1820. }
  1821. HueGradient.Rotation = 270
  1822. HueGradient.Name = "HueGradient"
  1823. HueGradient.Parent = Hue
  1824.  
  1825. HueSelection.Name = "HueSelection"
  1826. HueSelection.Parent = Hue
  1827. HueSelection.AnchorPoint = Vector2.new(0.5, 0.5)
  1828. HueSelection.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1829. HueSelection.BackgroundTransparency = 1.000
  1830. HueSelection.Position = UDim2.new(0.48, 0, 1 - select(1, Color3.toHSV(preset)))
  1831. HueSelection.Size = UDim2.new(0, 18, 0, 18)
  1832. HueSelection.Image = "http://www.roblox.com/asset/?id=4805639000"
  1833.  
  1834. ConfirmBtn.Name = "ConfirmBtn"
  1835. ConfirmBtn.Parent = ColorPickerFrame
  1836. ConfirmBtn.AnchorPoint = Vector2.new(0.5, 0)
  1837. ConfirmBtn.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  1838. ConfirmBtn.BorderSizePixel = 0
  1839. ConfirmBtn.Position = UDim2.new(0.5, 0, 0, 105)
  1840. ConfirmBtn.Size = UDim2.new(0, 71, 0, 25)
  1841. ConfirmBtn.AutoButtonColor = false
  1842. ConfirmBtn.Font = Enum.Font.Gotham
  1843. ConfirmBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  1844. ConfirmBtn.TextSize = 14.000
  1845.  
  1846. ConfirmBtnFrame.Name = "ConfirmBtnFrame"
  1847. ConfirmBtnFrame.Parent = ConfirmBtn
  1848. ConfirmBtnFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  1849. ConfirmBtnFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1850. ConfirmBtnFrame.BorderSizePixel = 0
  1851. ConfirmBtnFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  1852. ConfirmBtnFrame.Size = UDim2.new(1, -4, 0, 21)
  1853.  
  1854. ConfirmBtnFrameCorner.CornerRadius = UDim.new(0, 5)
  1855. ConfirmBtnFrameCorner.Name = "ConfirmBtnFrameCorner"
  1856. ConfirmBtnFrameCorner.Parent = ConfirmBtnFrame
  1857.  
  1858. ConfirmBtnCorner.CornerRadius = UDim.new(0, 5)
  1859. ConfirmBtnCorner.Name = "ConfirmBtnCorner"
  1860. ConfirmBtnCorner.Parent = ConfirmBtn
  1861.  
  1862. ConfirmBtnHoverFrame.Name = "ConfirmBtnHoverFrame"
  1863. ConfirmBtnHoverFrame.Parent = ConfirmBtn
  1864. ConfirmBtnHoverFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  1865. ConfirmBtnHoverFrame.BackgroundColor3 = Color3.fromRGB(31, 118, 219)
  1866. ConfirmBtnHoverFrame.BackgroundTransparency = 1.000
  1867. ConfirmBtnHoverFrame.BorderSizePixel = 0
  1868. ConfirmBtnHoverFrame.Position = UDim2.new(0.5, 0, 0.528750002, 0)
  1869. ConfirmBtnHoverFrame.Size = UDim2.new(1, 0, 0, 25)
  1870.  
  1871. ConfirmBtnHoverFrameCorner.CornerRadius = UDim.new(0, 5)
  1872. ConfirmBtnHoverFrameCorner.Name = "ConfirmBtnHoverFrameCorner"
  1873. ConfirmBtnHoverFrameCorner.Parent = ConfirmBtnHoverFrame
  1874.  
  1875. ConfirmBtnText.Name = "ConfirmBtnText"
  1876. ConfirmBtnText.Parent = ConfirmBtn
  1877. ConfirmBtnText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1878. ConfirmBtnText.BackgroundTransparency = 1.000
  1879. ConfirmBtnText.Size = UDim2.new(1, 0, 1, 0)
  1880. ConfirmBtnText.Font = Enum.Font.Gotham
  1881. ConfirmBtnText.Text = "Confirm"
  1882. ConfirmBtnText.TextColor3 = Color3.fromRGB(0, 0, 0)
  1883. ConfirmBtnText.TextSize = 14.000
  1884.  
  1885. RainbowToggle.Name = "RainbowToggle"
  1886. RainbowToggle.Parent = ColorPickerFrame
  1887. RainbowToggle.AnchorPoint = Vector2.new(0.5, 0)
  1888. RainbowToggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1889. RainbowToggle.BackgroundTransparency = 1.000
  1890. RainbowToggle.Position = UDim2.new(0.5, 0, 0, 135)
  1891. RainbowToggle.Size = UDim2.new(0, 83, 0, 16)
  1892. RainbowToggle.Font = Enum.Font.SourceSans
  1893. RainbowToggle.Text = ""
  1894. RainbowToggle.TextColor3 = Color3.fromRGB(0, 0, 0)
  1895. RainbowToggle.TextSize = 14.000
  1896.  
  1897. RainbowToggleText.Name = "RainbowToggleText"
  1898. RainbowToggleText.Parent = RainbowToggle
  1899. RainbowToggleText.AnchorPoint = Vector2.new(1, 1)
  1900. RainbowToggleText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1901. RainbowToggleText.BackgroundTransparency = 1.000
  1902. RainbowToggleText.Position = UDim2.new(1.13727927, 0, 1, 0)
  1903. RainbowToggleText.Size = UDim2.new(1.13727927, -23, 1, 0)
  1904. RainbowToggleText.Font = Enum.Font.Gotham
  1905. RainbowToggleText.Text = "Rainbow"
  1906. RainbowToggleText.TextColor3 = Color3.fromRGB(0, 0, 0)
  1907. RainbowToggleText.TextSize = 14.000
  1908. RainbowToggleText.TextXAlignment = Enum.TextXAlignment.Left
  1909.  
  1910. RainbowToggleFrame.Name = "RainbowToggleFrame"
  1911. RainbowToggleFrame.Parent = RainbowToggle
  1912. RainbowToggleFrame.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  1913. RainbowToggleFrame.Size = UDim2.new(0, 16, 0, 16)
  1914.  
  1915. RainbowToggleFrameCorner.CornerRadius = UDim.new(0, 5)
  1916. RainbowToggleFrameCorner.Name = "RainbowToggleFrameCorner"
  1917. RainbowToggleFrameCorner.Parent = RainbowToggleFrame
  1918.  
  1919. RainbowToggleFrame1.Name = "RainbowToggleFrame1"
  1920. RainbowToggleFrame1.Parent = RainbowToggleFrame
  1921. RainbowToggleFrame1.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  1922. RainbowToggleFrame1.Size = UDim2.new(0, 16, 0, 16)
  1923.  
  1924. RainbowToggleFrame1Corner.CornerRadius = UDim.new(0, 5)
  1925. RainbowToggleFrame1Corner.Name = "RainbowToggleFrame1Corner"
  1926. RainbowToggleFrame1Corner.Parent = RainbowToggleFrame1
  1927.  
  1928. RainbowToggleFrame2.Name = "RainbowToggleFrame2"
  1929. RainbowToggleFrame2.Parent = RainbowToggleFrame1
  1930. RainbowToggleFrame2.AnchorPoint = Vector2.new(0.5, 0.5)
  1931. RainbowToggleFrame2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1932. RainbowToggleFrame2.Position = UDim2.new(0.5, 0, 0.5, 0)
  1933. RainbowToggleFrame2.Size = UDim2.new(0, 12, 0, 12)
  1934.  
  1935. RainbowToggleFrame2Corner.CornerRadius = UDim.new(0, 3)
  1936. RainbowToggleFrame2Corner.Name = "RainbowToggleFrame2Corner"
  1937. RainbowToggleFrame2Corner.Parent = RainbowToggleFrame2
  1938.  
  1939. RainbowToggleToggledFrame.Name = "RainbowToggleToggledFrame"
  1940. RainbowToggleToggledFrame.Parent = RainbowToggleFrame
  1941. RainbowToggleToggledFrame.BackgroundColor3 = Color3.fromRGB(31, 118, 219)
  1942. RainbowToggleToggledFrame.Position = UDim2.new(0, 0, 0, 0)
  1943. RainbowToggleToggledFrame.Size = UDim2.new(0, 16, 0, 16)
  1944. RainbowToggleToggledFrame.Visible = false
  1945.  
  1946. RainbowToggleToggledFrameCorner.CornerRadius = UDim.new(0, 5)
  1947. RainbowToggleToggledFrameCorner.Name = "RainbowToggleToggledFrameCorner"
  1948. RainbowToggleToggledFrameCorner.Parent = RainbowToggleToggledFrame
  1949.  
  1950. ToggleTick.Name = "ToggleTick"
  1951. ToggleTick.Parent = RainbowToggleToggledFrame
  1952. ToggleTick.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1953. ToggleTick.BackgroundTransparency = 1.000
  1954. ToggleTick.Position = UDim2.new(0.0500000007, 0, 0, 1)
  1955. ToggleTick.Size = UDim2.new(0, 13, 0, 13)
  1956. ToggleTick.Image = "http://www.roblox.com/asset/?id=6031094667"
  1957.  
  1958. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  1959.  
  1960.  
  1961. Colorpicker.MouseButton1Click:Connect(function()
  1962. if ColorPickerToggled == false then
  1963. ColorPickerOutlineFrame.Visible = true
  1964. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  1965. else
  1966. ColorPickerOutlineFrame.Visible = false
  1967. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  1968. end
  1969. ColorPickerToggled = not ColorPickerToggled
  1970. end)
  1971.  
  1972. local function UpdateColorPicker(nope)
  1973. ColorpickerFrameClr.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
  1974. Color.BackgroundColor3 = Color3.fromHSV(ColorH, 1, 1)
  1975.  
  1976. pcall(callback, ColorpickerFrameClr.BackgroundColor3)
  1977. end
  1978.  
  1979. ColorH =
  1980. 1 -
  1981. (math.clamp(HueSelection.AbsolutePosition.Y - Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) /
  1982. Hue.AbsoluteSize.Y)
  1983. ColorS =
  1984. (math.clamp(ColorSelection.AbsolutePosition.X - Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) /
  1985. Color.AbsoluteSize.X)
  1986. ColorV =
  1987. 1 -
  1988. (math.clamp(ColorSelection.AbsolutePosition.Y - Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) /
  1989. Color.AbsoluteSize.Y)
  1990.  
  1991. ColorpickerFrameClr.BackgroundColor3 = preset
  1992. Color.BackgroundColor3 = preset
  1993. pcall(callback, ColorpickerFrameClr.BackgroundColor3)
  1994.  
  1995. Color.InputBegan:Connect(
  1996. function(input)
  1997. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  1998. if RainbowColorPicker then
  1999. return
  2000. end
  2001.  
  2002. if ColorInput then
  2003. ColorInput:Disconnect()
  2004. end
  2005.  
  2006. ColorInput =
  2007. RunService.RenderStepped:Connect(
  2008. function()
  2009. local ColorX =
  2010. (math.clamp(Mouse.X - Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) /
  2011. Color.AbsoluteSize.X)
  2012. local ColorY =
  2013. (math.clamp(Mouse.Y - Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) /
  2014. Color.AbsoluteSize.Y)
  2015.  
  2016. ColorSelection.Position = UDim2.new(ColorX, 0, ColorY, 0)
  2017. ColorS = ColorX
  2018. ColorV = 1 - ColorY
  2019.  
  2020. UpdateColorPicker(true)
  2021. end
  2022. )
  2023. end
  2024. end
  2025. )
  2026.  
  2027. Color.InputEnded:Connect(
  2028. function(input)
  2029. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  2030. if ColorInput then
  2031. ColorInput:Disconnect()
  2032. end
  2033. end
  2034. end
  2035. )
  2036.  
  2037. Hue.InputBegan:Connect(
  2038. function(input)
  2039. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  2040. if RainbowColorPicker then
  2041. return
  2042. end
  2043.  
  2044. if HueInput then
  2045. HueInput:Disconnect()
  2046. end
  2047.  
  2048. HueInput =
  2049. RunService.RenderStepped:Connect(
  2050. function()
  2051. local HueY =
  2052. (math.clamp(Mouse.Y - Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) /
  2053. Hue.AbsoluteSize.Y)
  2054.  
  2055. HueSelection.Position = UDim2.new(0.48, 0, HueY, 0)
  2056. ColorH = 1 - HueY
  2057.  
  2058. UpdateColorPicker(true)
  2059. end
  2060. )
  2061. end
  2062. end
  2063. )
  2064.  
  2065. Hue.InputEnded:Connect(
  2066. function(input)
  2067. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  2068. if HueInput then
  2069. HueInput:Disconnect()
  2070. end
  2071. end
  2072. end
  2073. )
  2074.  
  2075. RainbowToggle.MouseButton1Down:Connect(
  2076. function()
  2077. RainbowColorPicker = not RainbowColorPicker
  2078.  
  2079. if ColorInput then
  2080. ColorInput:Disconnect()
  2081. end
  2082.  
  2083. if HueInput then
  2084. HueInput:Disconnect()
  2085. end
  2086.  
  2087. if RainbowColorPicker then
  2088. RainbowToggleToggledFrame.Visible = true
  2089. OldToggleColor = ColorpickerFrameClr.BackgroundColor3
  2090. OldColor = Color.BackgroundColor3
  2091. OldColorSelectionPosition = ColorSelection.Position
  2092. OldHueSelectionPosition = HueSelection.Position
  2093.  
  2094. while RainbowColorPicker do
  2095. ColorpickerFrameClr.BackgroundColor3 = Color3.fromHSV(lib.RainbowColorValue, 1, 1)
  2096. Color.BackgroundColor3 = Color3.fromHSV(lib.RainbowColorValue, 1, 1)
  2097.  
  2098. ColorSelection.Position = UDim2.new(1, 0, 0, 0)
  2099. HueSelection.Position = UDim2.new(0.48, 0, 0, lib.HueSelectionPosition)
  2100.  
  2101. pcall(callback, ColorpickerFrameClr.BackgroundColor3)
  2102. wait()
  2103. end
  2104. elseif not RainbowColorPicker then
  2105. RainbowToggleToggledFrame.Visible = false
  2106.  
  2107. Colorpicker.BackgroundColor3 = OldToggleColor
  2108. Color.BackgroundColor3 = OldColor
  2109.  
  2110. ColorSelection.Position = OldColorSelectionPosition
  2111. HueSelection.Position = OldHueSelectionPosition
  2112.  
  2113. pcall(callback, ColorpickerFrameClr.BackgroundColor3)
  2114. end
  2115. end
  2116. )
  2117.  
  2118. ConfirmBtn.MouseButton1Click:Connect(
  2119. function()
  2120. ColorPickerToggled = not ColorPickerToggled
  2121. ColorPickerOutlineFrame.Visible = false
  2122. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  2123. end
  2124. )
  2125.  
  2126. ConfirmBtn.MouseEnter:Connect(function()
  2127. ConfirmBtnHoverFrame.BackgroundTransparency = 0
  2128. hovering = true
  2129. end)
  2130.  
  2131. ConfirmBtn.MouseLeave:Connect(function()
  2132. ConfirmBtnHoverFrame.BackgroundTransparency = 1
  2133. hovering = false
  2134. end)
  2135.  
  2136. coroutine.wrap(
  2137. function()
  2138. while wait() do
  2139. ColorPickerOutlineFrame.BackgroundColor3 = themes[selectedtheme].Color2
  2140. ColorPickerFrame.BackgroundColor3 = themes[selectedtheme].Color1
  2141. ColorpickerText.TextColor3 = themes[selectedtheme].TextColor
  2142. ConfirmBtn.BackgroundColor3 = themes[selectedtheme].Color2
  2143. ConfirmBtnFrame.BackgroundColor3 = themes[selectedtheme].Color1
  2144. RainbowToggleFrame.BackgroundColor3 = themes[selectedtheme].Color2
  2145. RainbowToggleFrame1.BackgroundColor3 = themes[selectedtheme].Color2
  2146. RainbowToggleFrame2.BackgroundColor3 = themes[selectedtheme].Color1
  2147. RainbowToggleText.TextColor3 = themes[selectedtheme].TextColor
  2148. if hovering == false then
  2149. ConfirmBtnText.TextColor3 = themes[selectedtheme].TextColor
  2150. else
  2151. ConfirmBtnText.TextColor3 = Color3.fromRGB(255, 255, 255)
  2152. end
  2153. end
  2154. end
  2155. )()
  2156.  
  2157. end
  2158. function tabcontent:RadioButtons(text, list, callback)
  2159. local FrameSize = 0
  2160. local fr = false
  2161. local RadioButtonsFrame = Instance.new("Frame")
  2162. local RadioButtonsTitle = Instance.new("TextLabel")
  2163. local RadioButtonsHolder = Instance.new("Frame")
  2164. local RadioButtonsHolderLayout = Instance.new("UIListLayout")
  2165.  
  2166. RadioButtonsFrame.Name = "RadioButtonsFrame"
  2167. RadioButtonsFrame.Parent = Tab
  2168. RadioButtonsFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2169. RadioButtonsFrame.BackgroundTransparency = 1.000
  2170. RadioButtonsFrame.Position = UDim2.new(0.453125, 0, 0.558208883, 0)
  2171. RadioButtonsFrame.Size = UDim2.new(0, 11, 0, 0)
  2172.  
  2173. RadioButtonsTitle.Name = "RadioButtonsTitle"
  2174. RadioButtonsTitle.Parent = RadioButtonsFrame
  2175. RadioButtonsTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2176. RadioButtonsTitle.BackgroundTransparency = 1.000
  2177. RadioButtonsTitle.BorderSizePixel = 0
  2178. RadioButtonsTitle.Size = UDim2.new(0, 0, 0, 16)
  2179. RadioButtonsTitle.Font = Enum.Font.Gotham
  2180. RadioButtonsTitle.Text = text
  2181. RadioButtonsTitle.TextColor3 = Color3.fromRGB(0, 0, 0)
  2182. RadioButtonsTitle.TextSize = 14.000
  2183. RadioButtonsTitle.TextXAlignment = Enum.TextXAlignment.Right
  2184.  
  2185. RadioButtonsHolder.Name = "RadioButtonsHolder"
  2186. RadioButtonsHolder.Parent = RadioButtonsFrame
  2187. RadioButtonsHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2188. RadioButtonsHolder.BackgroundTransparency = 1.000
  2189. RadioButtonsHolder.Position = UDim2.new(0.727272749, 0, 0, 0)
  2190. RadioButtonsHolder.Size = UDim2.new(0, 100, 0, 16)
  2191.  
  2192. RadioButtonsHolderLayout.Name = "RadioButtonsHolderLayout"
  2193. RadioButtonsHolderLayout.Parent = RadioButtonsHolder
  2194. RadioButtonsHolderLayout.SortOrder = Enum.SortOrder.LayoutOrder
  2195. RadioButtonsHolderLayout.Padding = UDim.new(0, 4)
  2196.  
  2197. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  2198.  
  2199. coroutine.wrap(
  2200. function()
  2201. while wait() do
  2202. RadioButtonsTitle.TextColor3 = themes[selectedtheme].TextColor
  2203. end
  2204. end
  2205. )()
  2206.  
  2207. for i,v in next, list do
  2208. FrameSize = FrameSize + 20
  2209. RadioButtonsFrame.Size = UDim2.new(0, 11, 0, FrameSize)
  2210. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  2211. local RadioBtn = Instance.new("TextButton")
  2212. local RadioBtnText = Instance.new("TextLabel")
  2213. local RadioBtnFrame = Instance.new("Frame")
  2214. local RadioBtnFrame1 = Instance.new("Frame")
  2215. local RadioBtnFrame1Corner = Instance.new("UICorner")
  2216. local RadioBtnFrame2 = Instance.new("Frame")
  2217. local RadioBtnFrame2Corner = Instance.new("UICorner")
  2218. local RadioBtnToggledFrame = Instance.new("Frame")
  2219. local RadioBtnToggledFrameCorner = Instance.new("UICorner")
  2220. local RadioBtnToggledFrame_2 = Instance.new("Frame")
  2221. local RadioBtnToggledFrameCorner_2 = Instance.new("UICorner")
  2222. local RadioBtnCorner = Instance.new("UICorner")
  2223.  
  2224. RadioBtn.Name = "RadioBtn"
  2225. RadioBtn.Parent = RadioButtonsHolder
  2226. RadioBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2227. RadioBtn.BackgroundTransparency = 1.000
  2228. RadioBtn.Size = UDim2.new(0, 791, 0, 16)
  2229. RadioBtn.Font = Enum.Font.SourceSans
  2230. RadioBtn.Text = ""
  2231. RadioBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  2232. RadioBtn.TextSize = 14.000
  2233.  
  2234. RadioBtnText.Name = "RadioBtnText"
  2235. RadioBtnText.Parent = RadioBtn
  2236. RadioBtnText.AnchorPoint = Vector2.new(1, 1)
  2237. RadioBtnText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2238. RadioBtnText.BackgroundTransparency = 1.000
  2239. RadioBtnText.Position = UDim2.new(1, 0, 1, 0)
  2240. RadioBtnText.Size = UDim2.new(1, -23, 1, 0)
  2241. RadioBtnText.Font = Enum.Font.Gotham
  2242. RadioBtnText.Text = v
  2243. RadioBtnText.TextColor3 = Color3.fromRGB(0, 0, 0)
  2244. RadioBtnText.TextSize = 14.000
  2245. RadioBtnText.TextXAlignment = Enum.TextXAlignment.Left
  2246.  
  2247. RadioBtnFrame.Name = "RadioBtnFrame"
  2248. RadioBtnFrame.Parent = RadioBtn
  2249. RadioBtnFrame.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  2250. RadioBtnFrame.Size = UDim2.new(0, 16, 0, 16)
  2251.  
  2252. RadioBtnFrame1.Name = "RadioBtnFrame1"
  2253. RadioBtnFrame1.Parent = RadioBtnFrame
  2254. RadioBtnFrame1.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  2255. RadioBtnFrame1.Size = UDim2.new(0, 16, 0, 16)
  2256.  
  2257. RadioBtnFrame1Corner.CornerRadius = UDim.new(1, 0)
  2258. RadioBtnFrame1Corner.Name = "RadioBtnFrame1Corner"
  2259. RadioBtnFrame1Corner.Parent = RadioBtnFrame1
  2260.  
  2261. RadioBtnFrame2.Name = "RadioBtnFrame2"
  2262. RadioBtnFrame2.Parent = RadioBtnFrame1
  2263. RadioBtnFrame2.AnchorPoint = Vector2.new(0.5, 0.5)
  2264. RadioBtnFrame2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2265. RadioBtnFrame2.Position = UDim2.new(0.5, 0, 0.5, 0)
  2266. RadioBtnFrame2.Size = UDim2.new(0, 12, 0, 12)
  2267.  
  2268. RadioBtnFrame2Corner.CornerRadius = UDim.new(1, 0)
  2269. RadioBtnFrame2Corner.Name = "RadioBtnFrame2Corner"
  2270. RadioBtnFrame2Corner.Parent = RadioBtnFrame2
  2271.  
  2272. RadioBtnToggledFrame.Name = "RadioBtnToggledFrame"
  2273. RadioBtnToggledFrame.Parent = RadioBtnFrame
  2274. RadioBtnToggledFrame.BackgroundColor3 = Color3.fromRGB(31, 118, 219)
  2275. RadioBtnToggledFrame.Size = UDim2.new(0, 16, 0, 16)
  2276. RadioBtnToggledFrame.Visible = false
  2277.  
  2278. RadioBtnToggledFrameCorner.CornerRadius = UDim.new(1, 0)
  2279. RadioBtnToggledFrameCorner.Name = "RadioBtnToggledFrameCorner"
  2280. RadioBtnToggledFrameCorner.Parent = RadioBtnToggledFrame
  2281.  
  2282. RadioBtnToggledFrame_2.Name = "RadioBtnToggledFrame"
  2283. RadioBtnToggledFrame_2.Parent = RadioBtnToggledFrame
  2284. RadioBtnToggledFrame_2.AnchorPoint = Vector2.new(0.5, 0.5)
  2285. RadioBtnToggledFrame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2286. RadioBtnToggledFrame_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  2287. RadioBtnToggledFrame_2.Size = UDim2.new(1, -9, 1, -9)
  2288.  
  2289. RadioBtnToggledFrameCorner_2.CornerRadius = UDim.new(1, 0)
  2290. RadioBtnToggledFrameCorner_2.Name = "RadioBtnToggledFrameCorner"
  2291. RadioBtnToggledFrameCorner_2.Parent = RadioBtnToggledFrame_2
  2292.  
  2293. RadioBtnCorner.CornerRadius = UDim.new(1, 0)
  2294. RadioBtnCorner.Name = "RadioBtnCorner"
  2295. RadioBtnCorner.Parent = RadioBtnFrame
  2296.  
  2297. RadioBtn.MouseButton1Click:Connect(function()
  2298. pcall(callback, v)
  2299. for i,v in next, RadioButtonsHolder:GetChildren() do
  2300. if v.Name == "RadioBtn" then
  2301. v.RadioBtnFrame.RadioBtnToggledFrame.Visible = false
  2302. end
  2303. end
  2304. RadioBtnToggledFrame.Visible = true
  2305. end)
  2306.  
  2307. if fr == false then
  2308. fr = true
  2309. RadioBtnToggledFrame.Visible = true
  2310. pcall(callback, v)
  2311. end
  2312.  
  2313. coroutine.wrap(
  2314. function()
  2315. while wait() do
  2316. RadioBtnFrame.BackgroundColor3 = themes[selectedtheme].Color2
  2317. RadioBtnFrame1.BackgroundColor3 = themes[selectedtheme].Color2
  2318. RadioBtnFrame2.BackgroundColor3 = themes[selectedtheme].Color1
  2319. RadioBtnText.TextColor3 = themes[selectedtheme].TextColor
  2320. end
  2321. end
  2322. )()
  2323. end
  2324. end
  2325. function tabcontent:Bind(text, preset, keyboardonly, holdmode, callback )
  2326.  
  2327. local OldBind = preset.Name
  2328. local LoadFromPreset = false
  2329. local JustBinded = false
  2330. local HoldModeToggled = false
  2331.  
  2332. local NotAllowedKeys = {
  2333. Return = true,
  2334. Space = true,
  2335. Tab = true,
  2336. Unknown = true,
  2337. MouseButton1 = true
  2338. }
  2339.  
  2340. local AllowedMouseTypes = {
  2341. MouseButton2 = true,
  2342. MouseButton3 = true
  2343. }
  2344.  
  2345. local ShortenedNames = {
  2346. LeftShift = "LShift",
  2347. RightShift = "RShift",
  2348. LeftControl = "LCtrl",
  2349. RightControl = "RCtrl",
  2350. LeftAlt = "LAlt",
  2351. RightAlt = "RAlt",
  2352. CapsLock = "Caps",
  2353. One = "1",
  2354. Two = "2",
  2355. Three = "3",
  2356. Four = "4",
  2357. Five = "5",
  2358. Six = "6",
  2359. Seven = "7",
  2360. Eight = "8",
  2361. Nine = "9",
  2362. Zero = "0",
  2363. KeypadOne = "Num-1",
  2364. KeypadTwo = "Num-2",
  2365. KeypadThree = "Num-3",
  2366. KeypadFour = "Num-4",
  2367. KeypadFive = "Num-5",
  2368. KeypadSix = "Num-6",
  2369. KeypadSeven = "Num-7",
  2370. KeypadEight = "Num-8",
  2371. KeypadNine = "Num-9",
  2372. KeypadZero = "Num-0",
  2373. Minus = "-",
  2374. Equals = "=",
  2375. Tilde = "~",
  2376. LeftBracket = "[",
  2377. RightBracket = "]",
  2378. RightParenthesis = ")",
  2379. LeftParenthesis = "(",
  2380. Semicolon = ";",
  2381. Quote = "'",
  2382. BackSlash = "\\",
  2383. Comma = ",",
  2384. Period = ".",
  2385. Slash = "/",
  2386. Asterisk = "*",
  2387. Plus = "+",
  2388. Period = ".",
  2389. Backquote = "`",
  2390. MouseButton1 = "M1",
  2391. MouseButton2 = "M2",
  2392. MouseButton3 = "M3"
  2393. }
  2394.  
  2395.  
  2396.  
  2397. local Bind = Instance.new("Frame")
  2398. local BindBtn = Instance.new("TextButton")
  2399. local BindBtnFrameOutline = Instance.new("Frame")
  2400. local BindBtnFrameOutlineCorner = Instance.new("UICorner")
  2401. local BindBtnFrame = Instance.new("Frame")
  2402. local BindBtnFrameCorner = Instance.new("UICorner")
  2403. local BindBtnText = Instance.new("TextLabel")
  2404. local BindTitle = Instance.new("TextLabel")
  2405.  
  2406.  
  2407. Bind.Name = "Bind"
  2408. Bind.Parent = Tab
  2409. Bind.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2410. Bind.BackgroundTransparency = 1.000
  2411. Bind.Position = UDim2.new(0.298295468, 0, 0.629850626, 0)
  2412. Bind.Size = UDim2.new(0, 120, 0, 25)
  2413.  
  2414. BindBtn.Name = "BindBtn"
  2415. BindBtn.Parent = Bind
  2416. BindBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2417. BindBtn.BackgroundTransparency = 1.000
  2418. BindBtn.Position = UDim2.new(0.456999987, 0, 0, 0)
  2419. BindBtn.Size = UDim2.new(0, 90, 0, 25)
  2420. BindBtn.Font = Enum.Font.SourceSans
  2421. BindBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
  2422. BindBtn.TextSize = 14.000
  2423.  
  2424. BindBtnFrameOutline.Name = "BindBtnFrameOutline"
  2425. BindBtnFrameOutline.Parent = BindBtn
  2426. BindBtnFrameOutline.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  2427. BindBtnFrameOutline.Position = UDim2.new(0, 0, -0.00300048827, 0)
  2428. BindBtnFrameOutline.Size = UDim2.new(0, 92, 0, 25)
  2429.  
  2430. BindBtnFrameOutlineCorner.CornerRadius = UDim.new(0, 5)
  2431. BindBtnFrameOutlineCorner.Name = "BindBtnFrameOutlineCorner"
  2432. BindBtnFrameOutlineCorner.Parent = BindBtnFrameOutline
  2433.  
  2434. BindBtnFrame.Name = "BindBtnFrame"
  2435. BindBtnFrame.Parent = BindBtnFrameOutline
  2436. BindBtnFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  2437. BindBtnFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2438. BindBtnFrame.BorderSizePixel = 0
  2439. BindBtnFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  2440. BindBtnFrame.Size = UDim2.new(1, -4, 0, 21)
  2441.  
  2442. BindBtnFrameCorner.CornerRadius = UDim.new(0, 5)
  2443. BindBtnFrameCorner.Name = "BindBtnFrameCorner"
  2444. BindBtnFrameCorner.Parent = BindBtnFrame
  2445.  
  2446. BindBtnText.Name = "BindBtnText"
  2447. BindBtnText.Parent = BindBtnFrameOutline
  2448. BindBtnText.AnchorPoint = Vector2.new(1, 1)
  2449. BindBtnText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2450. BindBtnText.BackgroundTransparency = 1.000
  2451. BindBtnText.Position = UDim2.new(0.989130437, 0, 1, 0)
  2452. BindBtnText.Size = UDim2.new(1.05434787, -7, 1.00300002, 0)
  2453. BindBtnText.Font = Enum.Font.Gotham
  2454. BindBtnText.Text = (ShortenedNames[preset.Name] or ShortenedNames[preset] or preset.Name or "None")
  2455. BindBtnText.TextColor3 = Color3.fromRGB(0, 0, 0)
  2456. BindBtnText.TextSize = 13.000
  2457.  
  2458. BindTitle.Name = "BindTitle"
  2459. BindTitle.Parent = Bind
  2460. BindTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2461. BindTitle.BackgroundTransparency = 1.000
  2462. BindTitle.BorderSizePixel = 0
  2463. BindTitle.Position = UDim2.new(0, 50, 0, 0)
  2464. BindTitle.Size = UDim2.new(0, 0, 0, 25)
  2465. BindTitle.Font = Enum.Font.Gotham
  2466. BindTitle.Text = text
  2467. BindTitle.TextColor3 = Color3.fromRGB(0, 0, 0)
  2468. BindTitle.TextSize = 14.000
  2469. BindTitle.TextXAlignment = Enum.TextXAlignment.Right
  2470.  
  2471. if preset == Enum.KeyCode.Unknown or preset == "Unknown" then
  2472. BindBtnText.Text = "None"
  2473. end
  2474.  
  2475. BindBtn.MouseButton1Click:Connect(function()
  2476. if lib.CurrentlyBinding then return end
  2477.  
  2478. BindBtnText.Text = "..."
  2479.  
  2480. local Input, Bruh = UserInputService.InputBegan:wait()
  2481. lib.CurrentlyBinding = true
  2482.  
  2483. if Input.KeyCode.Name == "Backspace" or Input.KeyCode.Name == "Delete" then
  2484. BindBtnText.Text = "None"
  2485. OldBind = Enum.KeyCode.Unknown.Name
  2486. lib.CurrentlyBinding = false
  2487. JustBinded = false
  2488. return
  2489. end
  2490.  
  2491. if (Input.UserInputType ~= Enum.UserInputType.Keyboard and (AllowedMouseTypes[Input.UserInputType.Name]) and (not keyboardonly)) or (Input.KeyCode and (not NotAllowedKeys[Input.KeyCode.Name])) then
  2492. local BindName = ((Input.UserInputType ~= Enum.UserInputType.Keyboard and Input.UserInputType.Name) or Input.KeyCode.Name)
  2493. BindBtnText.Text = ShortenedNames[BindName] or BindName
  2494. OldBind = BindName
  2495. lib.CurrentlyBinding = false
  2496. JustBinded = true
  2497. else
  2498. BindBtnText.Text = ShortenedNames[OldBind] or OldBind
  2499. lib.CurrentlyBinding = false
  2500. end
  2501. end)
  2502.  
  2503. if not holdmode then
  2504. UserInputService.InputBegan:Connect(function(input, gameprocessedevent)
  2505. if not gameprocessedevent then
  2506. if UserInputService:GetFocusedTextBox() then return end
  2507. if OldBind == Enum.KeyCode.Unknown.Name then return end
  2508. if JustBinded then JustBinded = false return end
  2509.  
  2510. local BindName = ((input.UserInputType ~= Enum.UserInputType.Keyboard and input.UserInputType.Name) or input.KeyCode.Name)
  2511.  
  2512. if BindName == OldBind then
  2513. pcall(callback)
  2514. end
  2515. end
  2516. end)
  2517. else
  2518. UserInputService.InputBegan:Connect(function(input, gameprocessedevent)
  2519. if not gameprocessedevent then
  2520. if UserInputService:GetFocusedTextBox() then return end
  2521. if OldBind == Enum.KeyCode.Unknown.Name then return end
  2522. if JustBinded then JustBinded = false return end
  2523.  
  2524. local BindName = ((input.UserInputType ~= Enum.UserInputType.Keyboard and input.UserInputType.Name) or input.KeyCode.Name)
  2525.  
  2526. if BindName == OldBind then
  2527. pcall(callback, true)
  2528. end
  2529. end
  2530. end)
  2531.  
  2532. UserInputService.InputEnded:Connect(function(input, gameprocessedevent)
  2533. if not gameprocessedevent then
  2534. if UserInputService:GetFocusedTextBox() then return end
  2535. if OldBind == Enum.KeyCode.Unknown.Name then return end
  2536. if JustBinded then JustBinded = false return end
  2537.  
  2538. HoldModeToggled = false
  2539. local BindName = ((input.UserInputType ~= Enum.UserInputType.Keyboard and input.UserInputType.Name) or input.KeyCode.Name)
  2540.  
  2541. if BindName == OldBind then
  2542. pcall(callback, false)
  2543. end
  2544. end
  2545. end)
  2546. end
  2547.  
  2548. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  2549.  
  2550. coroutine.wrap(
  2551. function()
  2552. while wait() do
  2553. BindBtnFrameOutline.BackgroundColor3 = themes[selectedtheme].Color2
  2554. BindBtnFrame.BackgroundColor3 = themes[selectedtheme].Color1
  2555. BindTitle.TextColor3= themes[selectedtheme].TextColor
  2556. BindBtnText.TextColor3= themes[selectedtheme].TextColor
  2557. end
  2558. end
  2559. )()
  2560. end
  2561. function tabcontent:Textbox(text,numbersonly, disapper, callback)
  2562. local Textbox = Instance.new("Frame")
  2563. local TextboxTitle = Instance.new("TextLabel")
  2564. local TextboxFrameOutline = Instance.new("Frame")
  2565. local TextboxFrameOutlineCorner = Instance.new("UICorner")
  2566. local TextboxFrame = Instance.new("Frame")
  2567. local TextboxFrameCorner = Instance.new("UICorner")
  2568. local TextBox = Instance.new("TextBox")
  2569.  
  2570. Textbox.Name = "Textbox"
  2571. Textbox.Parent = Tab
  2572. Textbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2573. Textbox.BackgroundTransparency = 1.000
  2574. Textbox.Position = UDim2.new(0.220833331, 0, 0.260726064, 0)
  2575. Textbox.Size = UDim2.new(0, 171, 0, 25)
  2576.  
  2577. TextboxTitle.Name = "TextboxTitle"
  2578. TextboxTitle.Parent = Textbox
  2579. TextboxTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2580. TextboxTitle.BackgroundTransparency = 1.000
  2581. TextboxTitle.BorderSizePixel = 0
  2582. TextboxTitle.Position = UDim2.new(0, 37, 0, 0)
  2583. TextboxTitle.Size = UDim2.new(0, 0, 0, 25)
  2584. TextboxTitle.Font = Enum.Font.Gotham
  2585. TextboxTitle.Text = text
  2586. TextboxTitle.TextColor3 = Color3.fromRGB(0, 0, 0)
  2587. TextboxTitle.TextSize = 14.000
  2588. TextboxTitle.TextXAlignment = Enum.TextXAlignment.Right
  2589.  
  2590. TextboxFrameOutline.Name = "TextboxFrameOutline"
  2591. TextboxFrameOutline.Parent = Textbox
  2592. TextboxFrameOutline.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  2593. TextboxFrameOutline.Position = UDim2.new(0.256999999, 0, 0, 0)
  2594. TextboxFrameOutline.Size = UDim2.new(0, 171, 0, 25)
  2595.  
  2596. TextboxFrameOutlineCorner.CornerRadius = UDim.new(0, 5)
  2597. TextboxFrameOutlineCorner.Name = "TextboxFrameOutlineCorner"
  2598. TextboxFrameOutlineCorner.Parent = TextboxFrameOutline
  2599.  
  2600. TextboxFrame.Name = "TextboxFrame"
  2601. TextboxFrame.Parent = TextboxFrameOutline
  2602. TextboxFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  2603. TextboxFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2604. TextboxFrame.BorderSizePixel = 0
  2605. TextboxFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  2606. TextboxFrame.Size = UDim2.new(1, -4, 0, 21)
  2607. TextboxFrame.ClipsDescendants = true
  2608.  
  2609. TextboxFrameCorner.CornerRadius = UDim.new(0, 5)
  2610. TextboxFrameCorner.Name = "TextboxFrameCorner"
  2611. TextboxFrameCorner.Parent = TextboxFrame
  2612.  
  2613. TextBox.Parent = TextboxFrame
  2614. TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2615. TextBox.BackgroundTransparency = 1.000
  2616. TextBox.Position = UDim2.new(0, 7, 0, 0)
  2617. TextBox.Size = UDim2.new(1, -7, 1, 0)
  2618. TextBox.Font = Enum.Font.Gotham
  2619. TextBox.Text = ""
  2620. TextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
  2621. TextBox.TextSize = 14.000
  2622. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  2623.  
  2624.  
  2625. TextBox.FocusLost:Connect(
  2626. function(ep)
  2627. if ep then
  2628. if #TextBox.Text > 0 then
  2629. pcall(callback, TextBox.Text)
  2630. if disapper then
  2631. TextBox.Text = ""
  2632. end
  2633. end
  2634. end
  2635. end
  2636. )
  2637.  
  2638. TextBox:GetPropertyChangedSignal("Text"):Connect(function()
  2639. if numbersonly == true then
  2640. TextBox.Text = TextBox.Text:gsub('%D+', '');
  2641. end
  2642. end)
  2643.  
  2644. Tab.CanvasSize = UDim2.new(0, 0, 0, TabLayout.AbsoluteContentSize.Y)
  2645.  
  2646.  
  2647. coroutine.wrap(
  2648. function()
  2649. while wait() do
  2650. TextboxFrameOutline.BackgroundColor3 = themes[selectedtheme].Color2
  2651. TextboxFrame.BackgroundColor3 = themes[selectedtheme].Color1
  2652. TextBox.TextColor3= themes[selectedtheme].TextColor
  2653. TextboxTitle.TextColor3= themes[selectedtheme].TextColor
  2654. end
  2655. end
  2656. )()
  2657. end
  2658. return tabcontent
  2659. end
  2660. return tabhold
  2661. end
  2662.  
  2663. local win = lib:Window()
  2664.  
  2665. win:Label("Blox Fruits, Dawid Hub")
  2666.  
  2667. local Main = win:Tab("Main", "http://www.roblox.com/asset/?id=6034287519", Color3.fromRGB(255, 74, 74))
  2668.  
  2669. local Farms = win:Tab("Farms", "http://www.roblox.com/asset/?id=6034287519", Color3.fromRGB(255, 74, 74))
  2670.  
  2671. local Fruits = win:Tab("Fruits", "http://www.roblox.com/asset/?id=6034287519", Color3.fromRGB(255, 74, 74))
  2672.  
  2673. local FruitFarmer = win:Tab("Fruit Farmer", "http://www.roblox.com/asset/?id=6034287519", Color3.fromRGB(255, 74, 74))
  2674.  
  2675. local Misc = win:Tab("Misc", "http://www.roblox.com/asset/?id=6034287519", Color3.fromRGB(255, 74, 74))
  2676.  
  2677. local Shop = win:Tab("Shop", "http://www.roblox.com/asset/?id=6034287519", Color3.fromRGB(255, 74, 74))
  2678.  
  2679. local vu = game:GetService("VirtualUser")
  2680. game:GetService("Players").LocalPlayer.Idled:connect(function()
  2681. vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  2682. wait(1)
  2683. vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  2684. end)
  2685. warn("Anti AFK enabled")
  2686.  
  2687. --functions
  2688.  
  2689. local vim = game:GetService("VirtualInputManager")
  2690. local function click(a)
  2691. vim:SendMouseButtonEvent(a.AbsolutePosition.X+a.AbsoluteSize.X/2,a.AbsolutePosition.Y+50,0,true,a,1)
  2692. vim:SendMouseButtonEvent(a.AbsolutePosition.X+a.AbsoluteSize.X/2,a.AbsolutePosition.Y+50,0,false,a,1)
  2693. end
  2694.  
  2695.  
  2696. function Shoot()
  2697. for i,v in pairs(game:GetService("Workspace").Enemies:GetDescendants()) do
  2698. if v:FindFirstChild("HumanoidRootPart") then
  2699. local plr = Game:GetService("Players").LocalPlayer
  2700. if plr:DistanceFromCharacter(v.HumanoidRootPart.Position) <= 50 then
  2701. for _, e in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  2702. if e:IsA("Tool") then
  2703. print(e)
  2704. local args = {
  2705. [1] = v.HumanoidRootPart.Position,
  2706. [2] = v.Head
  2707. }
  2708.  
  2709. game:GetService("Players").LocalPlayer.Character[e.Name].RemoteFunctionShoot:InvokeServer(unpack(args))
  2710. end
  2711. end
  2712. end
  2713. end
  2714. end
  2715. end
  2716.  
  2717.  
  2718.  
  2719. local function PathWalk(pos)
  2720. local PathfindingService = game:GetService("PathfindingService")
  2721. local Humanoid = game.Players.LocalPlayer.Character.Humanoid
  2722. local HumanoidRootPart = game.Players.LocalPlayer.Character.HumanoidRootPart
  2723. local destination = pos
  2724. local path = PathfindingService:CreatePath()
  2725. path:ComputeAsync(HumanoidRootPart.Position, destination)
  2726. if path.Status == Enum.PathStatus.Success then
  2727. local wayPoints = path:GetWaypoints()
  2728. for _, waypoint in pairs(wayPoints) do
  2729. local part = Instance.new("Part")
  2730. part.Shape = "Ball"
  2731. part.Material = "Neon"
  2732. part.Size = Vector3.new(0.6, 0.6, 0.6)
  2733. part.Position = waypoint.Position
  2734. part.Anchored = true
  2735. part.CanCollide = false
  2736. part.Parent = game.Workspace
  2737. part:destroy()
  2738. end
  2739. for i = 1, #wayPoints do
  2740. local point = wayPoints[i]
  2741. Humanoid:MoveTo(point.Position)
  2742. local success = Humanoid.MoveToFinished:Wait()
  2743. if point.Action == Enum.PathWaypointAction.Jump then
  2744. Humanoid.WalkSpeed = 0
  2745. wait(0.2)
  2746. Humanoid.WalkSpeed = 16
  2747. Humanoid.Jump = true
  2748. end
  2749.  
  2750. if not success then
  2751. Humanoid.Jump = true
  2752. Humanoid:MoveTo(point.Position)
  2753. if not Humanoid.MoveToFinished:Wait() then
  2754. break
  2755. end
  2756. end
  2757. end
  2758. end
  2759. end
  2760.  
  2761. function hit()
  2762. for i,v in pairs(game:GetService("Workspace").Enemies:GetDescendants()) do
  2763. if v:FindFirstChild("HumanoidRootPart") then
  2764. local plr = Game:GetService("Players").LocalPlayer
  2765. if plr:DistanceFromCharacter(v.HumanoidRootPart.Position) <= 17 then
  2766. Hit()
  2767. end
  2768. end
  2769. end
  2770. end
  2771.  
  2772.  
  2773. function Hit()
  2774. local vu = game:GetService("VirtualUser")
  2775. vu:ClickButton1(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  2776. end
  2777.  
  2778. function Teleport(pos)
  2779. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = pos
  2780. end
  2781. function SetSpawn()
  2782.  
  2783. local args = {
  2784. [1] = "AbandonQuest"
  2785. }
  2786.  
  2787. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  2788.  
  2789. local args = {
  2790. [1] = "SetSpawnPoint"
  2791. }
  2792.  
  2793. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  2794. end
  2795.  
  2796.  
  2797.  
  2798. --Globals
  2799.  
  2800. --Config
  2801. local Config = {
  2802. Gun = "",
  2803. ScanMethod = "",
  2804. url = "",
  2805. Fruit = "",
  2806. Size = 10, 25, 15,
  2807. Color = 255, 1, 1,
  2808. Tool = "",
  2809. NPC = "",
  2810. ShopFruit = "",
  2811. AutoFarmMethod = "PathFinding",
  2812. NearCheck = true,
  2813. Pos = nil
  2814. }
  2815.  
  2816.  
  2817.  
  2818. Fruits:Dropdown("Notif Method", {"GuiNotification","Print","Webhook"}, function(Choosen)
  2819. Config.ScanMethod = Choosen
  2820. lib:Notification("Method Notification", "You have Choosen: ".. Choosen, "http://www.roblox.com/asset/?id=6026568210", "Okay")
  2821. print(Choosen)
  2822. end)
  2823.  
  2824. Fruits:Textbox("YourWebHook:", "Paste your Webhook here", true, function(Text)
  2825. print(Text)
  2826. Config.url = Text
  2827. print(Text.. "m")
  2828. end)
  2829.  
  2830.  
  2831. Fruits:Button("Fruit Scan", function()
  2832. print("Your Setten Method is: ".. Config.ScanMethod)
  2833. if Config.ScanMethod == "Webhook" then
  2834. print("Your Setten Webhook is: ".. Config.url)
  2835. for i, v in pairs(workspace:GetChildren()) do
  2836. if v:IsA("Tool") then
  2837. if v.Handle or v.Name == "Fruit " then
  2838. local req = syn.request
  2839. local data = {
  2840. ["username"] = "Chicken",
  2841. ["avatar_url"] = "https://cdn.discordapp.com/attachments/801439197344563250/804359711557812294/Download.png",
  2842. ["embeds"] = {
  2843. {
  2844. ["author"] = {
  2845. ["name"] = game.Players.LocalPlayer.Name.. " Found a Fruit",
  2846. ["url"] = "https://discord.gg/brackets",
  2847. ["icon_url"] = "https://web.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userid="..game.Players.LocalPlayer.UserId
  2848. },
  2849. ["url"] = "https://www.roblox.com/games/"..game.PlaceId,
  2850. ["description"] = game:GetService('MarketplaceService'):GetProductInfo(game.PlaceId).Name,
  2851. ["color"] = 000000,
  2852. ["fields"] = {
  2853. {
  2854. ["name"] = "Webhook: ",
  2855. ["value"] = tostring("```"..Config.url.."```"),
  2856. ["inline"] = true
  2857. },
  2858. {
  2859. ["name"] = "Player Info:",
  2860. ["value"] = "**Age: **"..game.Players.LocalPlayer.AccountAge,
  2861. },
  2862. {
  2863. ["name"] = "Fruit:",
  2864. ["value"] = v.Name,
  2865. ["inline"] = true
  2866. },
  2867. {
  2868. ["name"] = "JobId:",
  2869. ["value"] = tostring("```"..game.JobId.."```"),
  2870. ["inline"] = true
  2871. },
  2872. },
  2873. ["thumbnail"] = {
  2874. ["url"] = "https://web.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userid="..game.Players.LocalPlayer.UserId
  2875. },
  2876. ["footer"] = {
  2877. ["text"] = "Found a Fruit throught Fruit Scan",
  2878. }
  2879. }
  2880. }
  2881. }
  2882. print("")
  2883. local Post = req({Url = Config.url, Method = 'POST', Headers = { ['Content-Type'] = 'application/json' }, Body = game:GetService('HttpService'):JSONEncode(data)})
  2884. end
  2885. end
  2886. end
  2887. elseif Config.ScanMethod == "Print" then
  2888. for i, v in pairs(workspace:GetChildren()) do
  2889. if v:IsA("Tool") then
  2890. if v.Handle or v.Name == "Fruit " then
  2891. print("A "..v.Name.. " Is somewhere around the Map")
  2892. end
  2893. end
  2894. end
  2895. elseif Config.ScanMethod == "GuiNotification" then
  2896. for i, v in pairs(workspace:GetChildren()) do
  2897. if v:IsA("Tool") then
  2898. if v.Handle or v.Name == "Fruit " then
  2899. lib:Notification("Fruit Notification", "A "..v.Name.. " Is somewhere around the Map", "http://www.roblox.com/asset/?id=6026568210", "Okay")
  2900. wait(2)
  2901. end
  2902. end
  2903. end
  2904. end
  2905. end)
  2906.  
  2907. Fruits:Line("")
  2908.  
  2909. Fruits:Button("Claim Fruits", function()
  2910. for i, v in pairs(workspace:GetChildren()) do
  2911. if v:IsA("Tool") and v.EatRemote then
  2912. if v.Handle then
  2913. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Handle.TouchInterest.Parent, 0) --0 is touch
  2914. end
  2915. end
  2916. end
  2917.  
  2918. for i, v in pairs(workspace:GetChildren()) do
  2919. if v:IsA("Model") and v.Name == "Fruit " then
  2920. if v.Handle then
  2921. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Handle.TouchInterest.Parent, 0) --0 is touch
  2922. end
  2923. end
  2924. end
  2925. end)
  2926.  
  2927. Fruits:Button("Buy Random Fruit [ 100 Candies ]", function()
  2928. Config.Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  2929. Teleport(CFrame.new(-697.923035, 17.2672977, 1554.10742, 0.988639653, 1.50567576e-08, 0.15030472, -2.80688432e-08, 1, 8.44499226e-08, -0.15030472, -8.77094095e-08, 0.988639653))
  2930. wait(2)
  2931. local args = {
  2932. [1] = "Candies",
  2933. [2] = "Buy",
  2934. [3] = 4,
  2935. [4] = 1
  2936. }
  2937.  
  2938. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  2939. wait(1)
  2940. Teleport(Config.Pos)
  2941. end)
  2942. Fruits:Line("")
  2943.  
  2944. Fruits:Dropdown("Fruit to Eat", {"Bomb Fruit","Spike Fruit","Chop Fruit", "Spring Fruit", "Smoke Fruit", "Ice Fruit", "Flame Fruit", "Sand Fruit", "Dark Fruit", "Light Fruit", "Rubber Fruit", "Barrier Fruit", "Magma Fruit", "Quake Fruit", "Human: Buddha Fruit", "String Fruit", "Bird: Phoenix Fruit", "Rumble Fruit", "Paw Fruit", "Gravity Fruit", "Dought Fruit", "Control Fruit", "Dragon Fruit"}, function(Choosen)
  2945. Config.Fruit = Choosen
  2946. print(Config.Fruit)
  2947. end)
  2948.  
  2949. Fruits:Toggle("AutoEat Choosen Fruit", false, function(State)
  2950. _G.AutoEat = State while _G.AutoEat do wait()
  2951. for _, v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  2952. if v.Name == Config.Fruit then
  2953. v.Parent = game.Players.LocalPlayer.Character
  2954. end
  2955. end
  2956. wait(0.2)
  2957. for i,e in pairs(game:GetService("Players").LocalPlayer.Character:GetDescendants()) do
  2958. if e.Name == Config.Fruit then
  2959. game:GetService("Players").LocalPlayer.Character[Config.Fruit].EatRemote:InvokeServer()
  2960. end
  2961. end
  2962. end
  2963. end)
  2964.  
  2965.  
  2966. Fruits:Dropdown("Fruit to Snipe", {"Bomb-Bomb","Spike-Spike","Chop-Chop", "Spring-Spring", "Smoke-Smoke", "Ice-Ice", "Sand-Sand", "Dark-Dark", "Light-Light", "Rubber-Rubber", "Barrier-Barrier", "Magma-Magma", "Quake-Quake", "Human-Human: Buddha", "String-String", "Bird-Bird: Phoenix", "Rumble-Rumble", "Paw-Paw", "Gravity-Gravity", "Dought-Dought", "Control-Control", "Dragon-Dragon"}, function(Choosen)
  2967. Config.ShopFruit = Choosen
  2968. lib:Notification("Shop Notification", "Set "..Config.ShopFruit.. " Fruit, Enable ShopSniper to Auto-Buy when on Stock", "http://www.roblox.com/asset/?id=6026568210", "Okay")
  2969. end)
  2970.  
  2971. Fruits:Toggle("Shop Sniper",false, function(State)
  2972. print(Config.ShopFruit)
  2973. _G.AutoBuy = State
  2974. while _G.AutoBuy do wait()
  2975. print("")
  2976. _G.FruitSnipeShop = Config.ShopFruit
  2977. print(_G.FruitSnipeShop)
  2978. local args = {
  2979. [1] = "PurchaseRawFruit",
  2980. [2] = Config.ShopFruit
  2981. }
  2982.  
  2983. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  2984. local args = {
  2985. [1] = "PurchaseRawFruit",
  2986. [2] = Config.ShopFruit
  2987. }
  2988.  
  2989. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  2990.  
  2991. local args = {
  2992. [1] = "GetFruits"
  2993. }
  2994.  
  2995. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  2996.  
  2997. local args = {
  2998. [1] = "GetFruits"
  2999. }
  3000.  
  3001. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3002. end
  3003. end)
  3004.  
  3005. Misc:Toggle("AutoHit NPC", false, function(State)
  3006. _G.AutoHit = State
  3007. while _G.AutoHit do wait()
  3008. hit()
  3009. end
  3010. end)
  3011.  
  3012. Misc:Slider("Hitbox Size", "Rezize the Hitbox", 5, 50,0,function(Amount)
  3013. Config.Size = Amount, Amount, Amount
  3014. end)
  3015.  
  3016.  
  3017. Misc:Toggle("Transparent Hitbox", false, function(State)
  3018. _G.NPChitbox = State
  3019. while _G.NPChitbox do wait()
  3020. for i, v in pairs(game:GetService("Workspace").Enemies:GetChildren()) do
  3021. if v:FindFirstChild("HumanoidRootPart") then
  3022. v.HumanoidRootPart.Transparency = 0.5
  3023. end
  3024. end
  3025. end
  3026. end)
  3027.  
  3028. Misc:Toggle("Collide Hitbox NPC", false, function(State)
  3029. _G.NPChitbox = State
  3030. while _G.NPChitbox do wait()
  3031. for i, v in pairs(game:GetService("Workspace").Enemies:GetChildren()) do
  3032. if v:FindFirstChild("HumanoidRootPart") then
  3033. v.HumanoidRootPart.CanCollide = State
  3034.  
  3035. end
  3036. end
  3037. end
  3038. end)
  3039.  
  3040. Misc:Toggle("Hitbox NPC", false, function(State)
  3041. _G.NPChitbox = State
  3042. while _G.NPChitbox do wait()
  3043. for i, v in pairs(game:GetService("Workspace").Enemies:GetChildren()) do
  3044. if v:FindFirstChild("HumanoidRootPart") then
  3045. v.HumanoidRootPart.Size = Vector3.new(Config.Size, Config.Size, Config.Size)
  3046. v.HumanoidRootPart.Color = Color3.fromRGB(Config.Color)
  3047.  
  3048. end
  3049. end
  3050. end
  3051. end)
  3052.  
  3053. Misc:Toggle("Freeze NPC/Boss", false, function(State)
  3054. _G.Stuck = State
  3055. while _G.Stuck do wait()
  3056. for i, v in pairs(game:GetService("Workspace").Enemies:GetChildren()) do
  3057. if v:FindFirstChild("HumanoidRootPart") then
  3058. v.HumanoidRootPart.Size = Vector3.new(0, 0, 0)
  3059. v.HumanoidRootPart.Color = Color3.fromRGB(Config.Color)
  3060. end
  3061. end
  3062. end
  3063. end)
  3064.  
  3065. Misc:Label("Auto Stats")
  3066.  
  3067. Misc:Toggle("Melee", false, function(State)
  3068. _G.Melee = State
  3069. while _G.Melee do wait()
  3070. local args = {
  3071. [1] = "AddPoint",
  3072. [2] = "Melee",
  3073. [3] = 1
  3074. }
  3075.  
  3076. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3077. end
  3078. end)
  3079. Misc:Toggle("Defense", false, function(State)
  3080. _G.Defense = State
  3081. while _G.Defense do wait()
  3082. local args = {
  3083. [1] = "AddPoint",
  3084. [2] = "Defense",
  3085. [3] = 1
  3086. }
  3087.  
  3088. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3089. end
  3090. end)
  3091. Misc:Toggle("Sword", false, function(State)
  3092. _G.Sword = State
  3093. while _G.Sword do wait()
  3094. local args = {
  3095. [1] = "AddPoint",
  3096. [2] = "Sword",
  3097. [3] = 1
  3098. }
  3099.  
  3100. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3101. end
  3102. end)
  3103. Misc:Toggle("Gun", false, function(State)
  3104. _G.Gun = State
  3105. while _G.Gun do wait()
  3106. local args = {
  3107. [1] = "AddPoint",
  3108. [2] = "Gun",
  3109. [3] = 1
  3110. }
  3111.  
  3112. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3113. end
  3114. end)
  3115. Misc:Toggle("Blox Fruit", false, function(State)
  3116. _G.Sword = State
  3117. while _G.Sword do wait()
  3118. local args = {
  3119. [1] = "AddPoint",
  3120. [2] = "Demon Fruit",
  3121. [3] = 1
  3122. }
  3123.  
  3124. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3125. end
  3126. end)
  3127.  
  3128. for _, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  3129. if v:IsA("Tool") then
  3130. v.Parent = game.Players.LocalPlayer.Backpack
  3131. end
  3132. end
  3133.  
  3134. local backpack = {}
  3135. for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  3136. backpack[#backpack+1] = v.Name
  3137. end
  3138.  
  3139. Farms:Dropdown("Choose Tool", {unpack(backpack)}, function(Choosen)
  3140. Config.Tool = Choosen
  3141. game.Players.LocalPlayer.Backpack:FindFirstChild(Config.Tool).Parent = game.Players.LocalPlayer.Character
  3142.  
  3143. game:GetService("Players").LocalPlayer.Character:FindFirstChild("Humanoid").Died:Connect(function()
  3144. game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function()
  3145. wait(2)
  3146. for i, v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  3147. if v:IsA("Tool") and v.Name == Config.Tool then
  3148. v.Parent = game.Players.LocalPlayer.Character
  3149. end
  3150. end
  3151. end)
  3152. end)
  3153. end)
  3154.  
  3155.  
  3156. Farms:Dropdown("Farm Method", {"Teleport","Bring","PathFinding"}, function(Choosen)
  3157. Config.AutoFarmMethod = Choosen
  3158. end)
  3159.  
  3160. local Mobs = {"Bandit [Lv. 5]","Monkey [Lv. 14]", "Gorilla [Lv. 20]","Pirate [Lv. 35]", "Brute [Lv. 45]", "Desert Bandit [Lv. 60]", "Desert Officer [Lv. 70]", "Snow Bandit [Lv. 90]", "Snowman [Lv. 100]","Chief Petty Officer [Lv. 120]" ,"Sky Bandit [Lv. 150]", "Toga Warrior [Lv. 225]", "Gladiator [Lv. 275]", "Military Soldier [Lv. 300]", "Military Spy [Lv. 330]", "God's Guard [Lv. 450]","Shanda [Lv. 475]", "Galley Pirate [Lv. 625]"}
  3161.  
  3162. Farms:Dropdown("Choose Mob", {"Bandit [Lv. 5]","Monkey [Lv. 14]", "Gorilla [Lv. 20]","Pirate [Lv. 35]", "Brute [Lv. 45]", "Desert Bandit [Lv. 60]", "Desert Officer [Lv. 70]", "Snow Bandit [Lv. 90]", "Snowman [Lv. 100]","Chief Petty Officer [Lv. 120]" ,"Sky Bandit [Lv. 150]", "Toga Warrior [Lv. 225]", "Gladiator [Lv. 275]", "Military Soldier [Lv. 300]", "Military Spy [Lv. 330]", "God's Guard [Lv. 450]","Shanda [Lv. 475]", "Galley Pirate [Lv. 625]"}, function(Choosen)
  3163. local WaitBeforeSpawnSet = 2.5
  3164. Config.NPC = Choosen
  3165. if Choosen == "Bandit [Lv. 5]" then
  3166. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1057.10254, 16.2993622, 1497.9425, 0.523139775, 0, -0.852246881, 0, 1, 0, 0.852246881, 0, 0.523139775)
  3167. wait(WaitBeforeSpawnSet)
  3168. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].HumanoidRootPart.CFrame
  3169. wait(1)
  3170. SetSpawn()
  3171. wait(0.5)
  3172. local args = {
  3173. [1] = "StartQuest",
  3174. [2] = "BanditQuest1",
  3175. [3] = 1
  3176. }
  3177.  
  3178. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3179. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1057.10254, 16.2993622, 1497.9425, 0.523139775, 0, -0.852246881, 0, 1, 0, 0.852246881, 0, 0.523139775)
  3180.  
  3181.  
  3182. elseif Choosen == "Monkey [Lv. 14]" then
  3183. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1647.63953, 22.8780727, 292.887421, 0.861421645, -7.39691046e-08, -0.507890642, 9.43387377e-08, 1, 1.43659724e-08, 0.507890642, -6.02888974e-08, 0.861421645)
  3184. wait(WaitBeforeSpawnSet)
  3185. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3186. wait(1)
  3187. SetSpawn()
  3188. wait(0.5)
  3189. local args = {
  3190. [1] = "StartQuest",
  3191. [2] = "JungleQuest",
  3192. [3] = 1
  3193. }
  3194.  
  3195. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3196.  
  3197. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1647.63953, 22.8780727, 292.887421, 0.861421645, -7.39691046e-08, -0.507890642, 9.43387377e-08, 1, 1.43659724e-08, 0.507890642, -6.02888974e-08, 0.861421645)
  3198.  
  3199.  
  3200. elseif Choosen == "Gorilla [Lv. 20]" then
  3201. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1647.63953, 22.8780727, 292.887421, 0.861421645, -7.39691046e-08, -0.507890642, 9.43387377e-08, 1, 1.43659724e-08, 0.507890642, -6.02888974e-08, 0.861421645)
  3202. wait(WaitBeforeSpawnSet)
  3203. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3204. wait(1)
  3205. SetSpawn()
  3206. wait(0.5)
  3207. local args = {
  3208. [1] = "StartQuest",
  3209. [2] = "JungleQuest",
  3210. [3] = 2
  3211. }
  3212.  
  3213. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3214.  
  3215. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1131.61938, 12.6472549, -383.55426, 0.797019005, -1.90704394e-08, 0.603954196, 1.16344996e-08, 1, 1.62222946e-08, -0.603954196, -5.90277205e-09, 0.797019005)
  3216.  
  3217. elseif Choosen == "Pirate [Lv. 35]" then
  3218. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1154.27551, 4.77785587, 3809.91919, 0.948171437, 0, -0.317759186, 0, 1, 0, 0.317759186, 0, 0.948171437)
  3219. wait(WaitBeforeSpawnSet)
  3220. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3221. wait(1)
  3222. SetSpawn()
  3223. wait(0.5)
  3224.  
  3225. local args = {
  3226. [1] = "StartQuest",
  3227. [2] = "BuggyQuest1",
  3228. [3] = 1
  3229. }
  3230.  
  3231. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3232.  
  3233.  
  3234. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1154.27551, 4.77785587, 3809.91919, 0.948171437, 0, -0.317759186, 0, 1, 0, 0.317759186, 0, 0.948171437)
  3235.  
  3236.  
  3237. elseif Choosen == "Brute [Lv. 45]" then
  3238. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1154.27551, 4.77785587, 3809.91919, 0.948171437, 0, -0.317759186, 0, 1, 0, 0.317759186, 0, 0.948171437)
  3239. wait(WaitBeforeSpawnSet)
  3240. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3241. wait(1)
  3242. SetSpawn()
  3243. wait(0.5)
  3244.  
  3245. local args = {
  3246. [1] = "StartQuest",
  3247. [2] = "BuggyQuest1",
  3248. [3] = 2
  3249. }
  3250.  
  3251. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3252.  
  3253.  
  3254. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1355.09827, 14.8249769, 4380.59326, -0.895123065, 0, 0.445819139, 0, 1, 0, -0.445819139, 0, -0.895123065)
  3255.  
  3256.  
  3257. elseif Choosen == "Desert Bandit [Lv. 60]" then
  3258. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(908.271912, 6.45983028, 4138.82129, 0.837247193, 4.9032348e-08, 0.546824336, -1.6950791e-08, 1, -6.37139479e-08, -0.546824336, 4.40752217e-08, 0.837247193)
  3259. wait(WaitBeforeSpawnSet)
  3260. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3261. wait(1)
  3262. SetSpawn()
  3263. wait(0.5)
  3264.  
  3265.  
  3266. local args = {
  3267. [1] = "StartQuest",
  3268. [2] = "DesertQuest",
  3269. [3] = 1
  3270. }
  3271.  
  3272. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3273.  
  3274.  
  3275. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(832.282227, 21.59198, 4494.96533, 0.184162527, 8.13854228e-08, -0.982895792, -6.15731679e-08, 1, 7.12648855e-08, 0.982895792, 4.73956838e-08, 0.184162527)
  3276.  
  3277.  
  3278.  
  3279. elseif Choosen == "Desert Officer [Lv. 70]" then
  3280. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(908.271912, 6.45983028, 4138.82129, 0.837247193, 4.9032348e-08, 0.546824336, -1.6950791e-08, 1, -6.37139479e-08, -0.546824336, 4.40752217e-08, 0.837247193)
  3281. wait(WaitBeforeSpawnSet)
  3282. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3283. wait(1)
  3284. SetSpawn()
  3285. wait(0.5)
  3286.  
  3287.  
  3288. local args = {
  3289. [1] = "StartQuest",
  3290. [2] = "DesertQuest",
  3291. [3] = 2
  3292. }
  3293.  
  3294. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3295.  
  3296.  
  3297. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1529.63025, 14.4778452, 4389.86475, 0.356059492, 0, -0.934463263, 0, 1, 0, 0.934463263, 0, 0.356059492)
  3298.  
  3299.  
  3300.  
  3301.  
  3302. elseif Choosen == "Snow Bandit [Lv. 90]" then
  3303. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1117.41248, 7.32941484, -1170.14099, -0.835621834, 1.02512989e-11, 0.549305141, 2.34874945e-12, 1, -1.50893031e-11, -0.549305141, -1.13187723e-11, -0.835621834)
  3304. wait(WaitBeforeSpawnSet)
  3305. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3306. wait(1)
  3307. SetSpawn()
  3308. wait(0.5)
  3309.  
  3310.  
  3311.  
  3312. local args = {
  3313. [1] = "StartQuest",
  3314. [2] = "SnowQuest",
  3315. [3] = 1
  3316. }
  3317.  
  3318. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3319.  
  3320.  
  3321.  
  3322. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1366.62646, 87.2985916, -1363.54175, 0.682489693, 0, 0.730895221, 0, 1, 0, -0.730895221, 0, 0.682489693)
  3323.  
  3324. elseif Choosen == "Snowman [Lv. 100]" then
  3325. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1117.41248, 7.32941484, -1170.14099, -0.835621834, 1.02512989e-11, 0.549305141, 2.34874945e-12, 1, -1.50893031e-11, -0.549305141, -1.13187723e-11, -0.835621834)
  3326. wait(WaitBeforeSpawnSet)
  3327. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3328. wait(1)
  3329. SetSpawn()
  3330. wait(0.5)
  3331.  
  3332.  
  3333. local args = {
  3334. [1] = "StartQuest",
  3335. [2] = "SnowQuest",
  3336. [3] = 2
  3337. }
  3338.  
  3339. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3340.  
  3341.  
  3342.  
  3343. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1366.62646, 87.2985916, -1363.54175, 0.682489693, 0, 0.730895221, 0, 1, 0, -0.730895221, 0, 0.682489693)
  3344.  
  3345.  
  3346. elseif Choosen == "Chief Petty Officer [Lv. 120]" then
  3347. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-4794.86865, 4.58895683, 4333.75684, 0.83951956, 5.45913359e-08, -0.543329418, -1.08323469e-07, 1, -6.68992612e-08, 0.543329418, 1.15018565e-07, 0.83951956)
  3348. wait(WaitBeforeSpawnSet)
  3349. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3350. wait(1)
  3351. SetSpawn()
  3352. wait(0.5)
  3353.  
  3354.  
  3355. local args = {
  3356. [1] = "StartQuest",
  3357. [2] = "MarineQuest2",
  3358. [3] = 1
  3359. }
  3360.  
  3361. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3362.  
  3363.  
  3364.  
  3365.  
  3366. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-4794.86865, 4.58895683, 4333.75684, 0.83951956, 5.45913359e-08, -0.543329418, -1.08323469e-07, 1, -6.68992612e-08, 0.543329418, 1.15018565e-07, 0.83951956)
  3367.  
  3368.  
  3369. elseif Choosen == "Sky Bandit [Lv. 150]" then
  3370. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-4967.83691, 717.697998, -2623.84326, 0.499959469, 0, -0.866048813, 0, 1, 0, 0.866048813, 0, 0.499959469)
  3371. wait(WaitBeforeSpawnSet)
  3372. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3373. wait(1)
  3374. SetSpawn()
  3375. wait(0.5)
  3376.  
  3377.  
  3378. local args = {
  3379. [1] = "StartQuest",
  3380. [2] = "SkyQuest",
  3381. [3] = 1
  3382. }
  3383.  
  3384. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3385.  
  3386.  
  3387.  
  3388.  
  3389.  
  3390. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-4967.83691, 717.697998, -2623.84326, 0.499959469, 0, -0.866048813, 0, 1, 0, 0.866048813, 0, 0.499959469)
  3391.  
  3392.  
  3393. elseif Choosen == "Toga Warrior [Lv. 225]" then
  3394. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1455.04492, 7.31233311, -2873.29443, 0.849410176, 0, 0.527733028, 0, 1, 0, -0.527733028, 0, 0.849410176)
  3395. wait(WaitBeforeSpawnSet)
  3396. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3397. wait(1)
  3398. SetSpawn()
  3399. wait(0.5)
  3400.  
  3401. local args = {
  3402. [1] = "StartQuest",
  3403. [2] = "ColosseumQuest",
  3404. [3] = 1
  3405. }
  3406.  
  3407. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3408.  
  3409.  
  3410. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1455.04492, 7.31233311, -2873.29443, 0.849410176, 0, 0.527733028, 0, 1, 0, -0.527733028, 0, 0.849410176)
  3411.  
  3412. elseif Choosen == "Gladiator [Lv. 275]" then
  3413. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1455.04492, 7.31233311, -2873.29443, 0.849410176, 0, 0.527733028, 0, 1, 0, -0.527733028, 0, 0.849410176)
  3414. wait(WaitBeforeSpawnSet)
  3415. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3416. wait(1)
  3417. SetSpawn()
  3418. wait(0.5)
  3419.  
  3420. local args = {
  3421. [1] = "StartQuest",
  3422. [2] = "ColosseumQuest",
  3423. [3] = 2
  3424. }
  3425.  
  3426. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3427.  
  3428.  
  3429. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1455.04492, 7.31233311, -2873.29443, 0.849410176, 0, 0.527733028, 0, 1, 0, -0.527733028, 0, 0.849410176)
  3430.  
  3431. elseif Choosen == "Military Soldier [Lv. 300]" then
  3432. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-5220.21973, 7.49897194, 8435.47559, -0.281109154, 3.10173931e-08, 0.959675789, 2.83250312e-08, 1, -2.40237057e-08, -0.959675789, 2.04295638e-08, -0.281109154)
  3433. wait(WaitBeforeSpawnSet)
  3434. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3435. wait(1)
  3436. SetSpawn()
  3437. wait(0.5)
  3438.  
  3439.  
  3440. local args = {
  3441. [1] = "StartQuest",
  3442. [2] = "MagmaQuest",
  3443. [3] = 1
  3444. }
  3445.  
  3446. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3447.  
  3448.  
  3449. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-5220.21973, 7.49897194, 8435.47559, -0.281109154, 3.10173931e-08, 0.959675789, 2.83250312e-08, 1, -2.40237057e-08, -0.959675789, 2.04295638e-08, -0.281109154)
  3450.  
  3451. elseif Choosen == "Military Spy [Lv. 330]" then
  3452. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-5220.21973, 7.49897194, 8435.47559, -0.281109154, 3.10173931e-08, 0.959675789, 2.83250312e-08, 1, -2.40237057e-08, -0.959675789, 2.04295638e-08, -0.281109154)
  3453. wait(WaitBeforeSpawnSet)
  3454. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3455. wait(1)
  3456. SetSpawn()
  3457. wait(0.5)
  3458.  
  3459.  
  3460. local args = {
  3461. [1] = "StartQuest",
  3462. [2] = "MagmaQuest",
  3463. [3] = 2
  3464. }
  3465.  
  3466. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3467.  
  3468.  
  3469. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-5220.21973, 7.49897194, 8435.47559, -0.281109154, 3.10173931e-08, 0.959675789, 2.83250312e-08, 1, -2.40237057e-08, -0.959675789, 2.04295638e-08, -0.281109154)
  3470.  
  3471. elseif Choosen == "God's Guard [Lv. 450]" then
  3472. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-4659.99365, 872.56897, -1767.74255, 0.827580392, -0.00363771501, 0.561336279, 1.61008762e-09, 0.999979019, 0.00648032175, -0.561347961, -0.00536298566, 0.827563167)
  3473. wait(WaitBeforeSpawnSet)
  3474. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3475. wait(1)
  3476. SetSpawn()
  3477. wait(0.5)
  3478.  
  3479.  
  3480. local args = {
  3481. [1] = "StartQuest",
  3482. [2] = "SkyExp1Quest",
  3483. [3] = 1
  3484. }
  3485.  
  3486. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3487.  
  3488.  
  3489. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-4659.99365, 872.56897, -1767.74255, 0.827580392, -0.00363771501, 0.561336279, 1.61008762e-09, 0.999979019, 0.00648032175, -0.561347961, -0.00536298566, 0.827563167)
  3490.  
  3491. elseif Choosen == "Shanda [Lv. 475]" then
  3492. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-7894.74756, 5545.60889, -408.395416, 0.806966007, 5.16806935e-08, -0.590597868, -6.1094795e-08, 1, 4.02857836e-09, 0.590597868, 3.28315366e-08, 0.806966007)
  3493. wait(WaitBeforeSpawnSet)
  3494. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3495. wait(1)
  3496. SetSpawn()
  3497. wait(0.5)
  3498.  
  3499.  
  3500. local args = {
  3501. [1] = "StartQuest",
  3502. [2] = "SkyExp1Quest",
  3503. [3] = 2
  3504. }
  3505.  
  3506. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3507.  
  3508.  
  3509. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-7894.74756, 5545.60889, -408.395416, 0.806966007, 5.16806935e-08, -0.590597868, -6.1094795e-08, 1, 4.02857836e-09, 0.590597868, 3.28315366e-08, 0.806966007)
  3510.  
  3511. elseif Choosen == "Galley Pirate [Lv. 625]" then
  3512. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(5238.64014, 38.5269432, 4062.28809, -0.633600593, -1.75828632e-08, -0.773660302, -2.15085034e-08, 1, -5.11213916e-09, 0.773660302, 1.34012224e-08, -0.633600593)
  3513. wait(WaitBeforeSpawnSet)
  3514. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3515. wait(1)
  3516. SetSpawn()
  3517. wait(0.5)
  3518.  
  3519. local args = {
  3520. [1] = "StartQuest",
  3521. [2] = "FountainQuest",
  3522. [3] = 1
  3523. }
  3524.  
  3525. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3526.  
  3527.  
  3528. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(5238.64014, 38.5269432, 4062.28809, -0.633600593, -1.75828632e-08, -0.773660302, -2.15085034e-08, 1, -5.11213916e-09, 0.773660302, 1.34012224e-08, -0.633600593)
  3529.  
  3530.  
  3531. end
  3532. end)
  3533.  
  3534. local Bosses =
  3535. {
  3536. "The Gorilla King [Lv. 25] [Boss]",
  3537. "Bobby [Lv. 55] [Boss]",
  3538. "Yeti [Lv. 110] [Boss]",
  3539. "Vice Admiral [Lv. 130] [Boss]",
  3540. "Saber Expert [Lv. 200] [Boss]",
  3541. "Magma Admiral [Lv. 350] [Boss]",
  3542. "Wysper [Lv. 500] [Boss]",
  3543. "Thunder God [Lv. 575] [Boss]",
  3544. "Cyborg [Lv. 675] [Boss]"
  3545. }
  3546.  
  3547. Farms:Dropdown("Choose Bosses", {unpack(Bosses)}, function(Choosen)
  3548. Config.NPC = Choosen
  3549. local WaitBeforeSpawnSet = 3
  3550. if Choosen == "The Gorilla King [Lv. 25] [Boss]" then
  3551. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1647.63953, 22.8780727, 292.887421, 0.861421645, -7.39691046e-08, -0.507890642, 9.43387377e-08, 1, 1.43659724e-08, 0.507890642, -6.02888974e-08, 0.861421645)
  3552. wait(3)
  3553. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3554. wait(1)
  3555. SetSpawn()
  3556. wait(0.5)
  3557. local args = {
  3558. [1] = "StartQuest",
  3559. [2] = "JungleQuest",
  3560. [3] = 3
  3561. }
  3562.  
  3563. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3564.  
  3565. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1131.61938, 12.6472549, -383.55426, 0.797019005, -1.90704394e-08, 0.603954196, 1.16344996e-08, 1, 1.62222946e-08, -0.603954196, -5.90277205e-09, 0.797019005)
  3566. elseif Choosen == "Bobby [Lv. 55] [Boss]" then
  3567. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1154.27551, 4.77785587, 3809.91919, 0.948171437, 0, -0.317759186, 0, 1, 0, 0.317759186, 0, 0.948171437)
  3568. wait(3)
  3569. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3570. wait(1)
  3571. SetSpawn()
  3572. wait(0.5)
  3573. local args = {
  3574. [1] = "StartQuest",
  3575. [2] = "BuggyQuest1",
  3576. [3] = 3
  3577. }
  3578.  
  3579. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3580. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1154.27551, 4.77785587, 3809.91919, 0.948171437, 0, -0.317759186, 0, 1, 0, 0.317759186, 0, 0.948171437)
  3581.  
  3582. elseif Choosen == "Yeti [Lv. 110] [Boss]" then
  3583.  
  3584. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1117.41248, 7.32941484, -1170.14099, -0.835621834, 1.02512989e-11, 0.549305141, 2.34874945e-12, 1, -1.50893031e-11, -0.549305141, -1.13187723e-11, -0.835621834)
  3585. wait(3)
  3586. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3587. wait(1)
  3588. SetSpawn()
  3589. wait(0.5)
  3590.  
  3591. local args = {
  3592. [1] = "StartQuest",
  3593. [2] = "SnowQuest",
  3594. [3] = 3
  3595. }
  3596.  
  3597. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3598.  
  3599.  
  3600. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1366.62646, 87.2985916, -1363.54175, 0.682489693, 0, 0.730895221, 0, 1, 0, -0.730895221, 0, 0.682489693)
  3601.  
  3602.  
  3603.  
  3604.  
  3605. elseif Choosen == "Vice Admiral [Lv. 130] [Boss]" then
  3606. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-4794.86865, 4.58895683, 4333.75684, 0.83951956, 5.45913359e-08, -0.543329418, -1.08323469e-07, 1, -6.68992612e-08, 0.543329418, 1.15018565e-07, 0.83951956)
  3607. wait(WaitBeforeSpawnSet)
  3608. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3609. wait(1)
  3610. SetSpawn()
  3611. wait(0.5)
  3612.  
  3613.  
  3614. local args = {
  3615. [1] = "StartQuest",
  3616. [2] = "MarineQuest2",
  3617. [3] = 2
  3618. }
  3619.  
  3620. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3621.  
  3622.  
  3623.  
  3624.  
  3625. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-4794.86865, 4.58895683, 4333.75684, 0.83951956, 5.45913359e-08, -0.543329418, -1.08323469e-07, 1, -6.68992612e-08, 0.543329418, 1.15018565e-07, 0.83951956)
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631. elseif Choosen == "Saber Expert [Lv. 200] [Boss]" then
  3632.  
  3633. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1647.63953, 22.8780727, 292.887421, 0.861421645, -7.39691046e-08, -0.507890642, 9.43387377e-08, 1, 1.43659724e-08, 0.507890642, -6.02888974e-08, 0.861421645)
  3634. wait(WaitBeforeSpawnSet)
  3635. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3636. wait(1)
  3637. SetSpawn()
  3638. wait(0.5)
  3639. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1131.61938, 12.6472549, -383.55426, 0.797019005, -1.90704394e-08, 0.603954196, 1.16344996e-08, 1, 1.62222946e-08, -0.603954196, -5.90277205e-09, 0.797019005)
  3640.  
  3641.  
  3642.  
  3643.  
  3644. elseif Choosen == "Magma Admiral [Lv. 350] [Boss]" then
  3645. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-5220.21973, 7.49897194, 8435.47559, -0.281109154, 3.10173931e-08, 0.959675789, 2.83250312e-08, 1, -2.40237057e-08, -0.959675789, 2.04295638e-08, -0.281109154)
  3646. wait(WaitBeforeSpawnSet)
  3647. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3648. wait(1)
  3649. SetSpawn()
  3650. wait(0.5)
  3651.  
  3652.  
  3653. local args = {
  3654. [1] = "StartQuest",
  3655. [2] = "MagmaQuest",
  3656. [3] = 3
  3657. }
  3658.  
  3659. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3660.  
  3661. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-5220.21973, 7.49897194, 8435.47559, -0.281109154, 3.10173931e-08, 0.959675789, 2.83250312e-08, 1, -2.40237057e-08, -0.959675789, 2.04295638e-08, -0.281109154)
  3662.  
  3663.  
  3664. elseif Choosen == "Wysper [Lv. 500] [Boss]" then
  3665.  
  3666. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-7894.74756, 5545.60889, -408.395416, 0.806966007, 5.16806935e-08, -0.590597868, -6.1094795e-08, 1, 4.02857836e-09, 0.590597868, 3.28315366e-08, 0.806966007)
  3667. wait(WaitBeforeSpawnSet)
  3668. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3669. wait(1)
  3670. SetSpawn()
  3671. wait(0.5)
  3672.  
  3673.  
  3674. local args = {
  3675. [1] = "StartQuest",
  3676. [2] = "SkyExp1Quest",
  3677. [3] = 3
  3678. }
  3679.  
  3680. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3681.  
  3682.  
  3683. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-7894.74756, 5545.60889, -408.395416, 0.806966007, 5.16806935e-08, -0.590597868, -6.1094795e-08, 1, 4.02857836e-09, 0.590597868, 3.28315366e-08, 0.806966007)
  3684.  
  3685. elseif Choosen == "Cyborg [Lv. 675] [Boss]" then
  3686.  
  3687. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(5238.64014, 38.5269432, 4062.28809, -0.633600593, -1.75828632e-08, -0.773660302, -2.15085034e-08, 1, -5.11213916e-09, 0.773660302, 1.34012224e-08, -0.633600593)
  3688. wait(WaitBeforeSpawnSet)
  3689. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").NPCs["Set Spawn Point"].Head.CFrame
  3690. wait(1)
  3691. SetSpawn()
  3692. wait(0.5)
  3693.  
  3694. local args = {
  3695. [1] = "StartQuest",
  3696. [2] = "FountainQuest",
  3697. [3] = 3
  3698. }
  3699.  
  3700. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3701.  
  3702.  
  3703. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(5238.64014, 38.5269432, 4062.28809, -0.633600593, -1.75828632e-08, -0.773660302, -2.15085034e-08, 1, -5.11213916e-09, 0.773660302, 1.34012224e-08, -0.633600593)
  3704. end
  3705. end)
  3706. Main:Toggle("AutoShoot", false, function(State)
  3707. _G.AutoShoot = State
  3708. while _G.AutoShoot do wait()
  3709. Shoot()
  3710. end
  3711. end)
  3712.  
  3713.  
  3714. Misc:Toggle("AutoHit", false, function(State)
  3715. _G.AutoHit = true
  3716. while _G.AutoHit do wait()
  3717. hit()
  3718. end
  3719. end)
  3720.  
  3721.  
  3722. Main:Toggle("Auto Buso", false, function(State)
  3723. _G.AutoBuso = State
  3724. while _G.AutoBuso do wait(1)
  3725. if not game:GetService("Players").LocalPlayer.Character:FindFirstChild("HasBuso")then
  3726. wait()
  3727. local args = {
  3728. [1] = "Buso"
  3729. }
  3730.  
  3731. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3732. end
  3733. end
  3734. end)
  3735.  
  3736. Main:Toggle("AutoQuest", false, function(State)
  3737. _G.AutoQuest = State
  3738. while _G.AutoQuest do wait(1)
  3739. Choosen = Config.NPC
  3740. if Choosen == "Bandit [Lv. 5]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3741. local args = {
  3742. [1] = "StartQuest",
  3743. [2] = "BanditQuest1",
  3744. [3] = 1
  3745. }
  3746.  
  3747. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3748. elseif Choosen == "Monkey [Lv. 14]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3749. local args = {
  3750. [1] = "StartQuest",
  3751. [2] = "JungleQuest",
  3752. [3] = 1
  3753. }
  3754.  
  3755. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3756. elseif Choosen == "Gorilla [Lv. 20]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3757. local args = {
  3758. [1] = "StartQuest",
  3759. [2] = "JungleQuest",
  3760. [3] = 2
  3761. }
  3762.  
  3763. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3764. elseif Choosen == "Pirate [Lv. 35]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3765. local args = {
  3766. [1] = "StartQuest",
  3767. [2] = "BuggyQuest1",
  3768. [3] = 1
  3769. }
  3770.  
  3771. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3772. elseif Choosen == "Brute [Lv. 45]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3773. local args = {
  3774. [1] = "StartQuest",
  3775. [2] = "BuggyQuest1",
  3776. [3] = 2
  3777. }
  3778.  
  3779. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3780. elseif Choosen == "Desert Bandit [Lv. 60]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3781. local args = {
  3782. [1] = "StartQuest",
  3783. [2] = "DesertQuest",
  3784. [3] = 1
  3785. }
  3786.  
  3787. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3788. elseif Choosen == "Desert Officer [Lv. 70]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3789. local args = {
  3790. [1] = "StartQuest",
  3791. [2] = "DesertQuest",
  3792. [3] = 2
  3793. }
  3794.  
  3795. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3796. elseif Choosen == "Snow Bandit [Lv. 90]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3797. local args = {
  3798. [1] = "StartQuest",
  3799. [2] = "SnowQuest",
  3800. [3] = 1
  3801. }
  3802.  
  3803. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3804. elseif Choosen == "Snowman [Lv. 100]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3805. local args = {
  3806. [1] = "StartQuest",
  3807. [2] = "SnowQuest",
  3808. [3] = 2
  3809. }
  3810.  
  3811. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3812. elseif Choosen == "Chief Petty Officer [Lv. 120]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3813. local args = {
  3814. [1] = "StartQuest",
  3815. [2] = "MarineQuest2",
  3816. [3] = 1
  3817. }
  3818.  
  3819. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3820. elseif Choosen == "Sky Bandit [Lv. 150]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3821. local args = {
  3822. [1] = "StartQuest",
  3823. [2] = "SkyQuest",
  3824. [3] = 1
  3825. }
  3826.  
  3827. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3828. elseif Choosen == "Toga Warrior [Lv. 225]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3829. local args = {
  3830. [1] = "StartQuest",
  3831. [2] = "ColosseumQuest",
  3832. [3] = 1
  3833. }
  3834.  
  3835. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3836. elseif Choosen == "Gladiator [Lv. 275]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3837. local args = {
  3838. [1] = "StartQuest",
  3839. [2] = "ColosseumQuest",
  3840. [3] = 2
  3841. }
  3842.  
  3843. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3844. elseif Choosen == "Military Soldier [Lv. 300]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3845. local args = {
  3846. [1] = "StartQuest",
  3847. [2] = "MagmaQuest",
  3848. [3] = 1
  3849. }
  3850.  
  3851. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3852. elseif Choosen == "Military Spy [Lv. 330]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3853. local args = {
  3854. [1] = "StartQuest",
  3855. [2] = "MagmaQuest",
  3856. [3] = 2
  3857. }
  3858.  
  3859. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3860.  
  3861. elseif Choosen == "God's Guard [Lv. 450]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3862. local args = {
  3863. [1] = "StartQuest",
  3864. [2] = "SkyExp1Quest",
  3865. [3] = 1
  3866. }
  3867.  
  3868. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3869. elseif Choosen == "Shanda [Lv. 475]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3870. local args = {
  3871. [1] = "StartQuest",
  3872. [2] = "SkyExp1Quest",
  3873. [3] = 2
  3874. }
  3875.  
  3876. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3877. elseif Choosen == "Galley Pirate [Lv. 625]" and game.Players.LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  3878. local args = {
  3879. [1] = "StartQuest",
  3880. [2] = "FountainQuest",
  3881. [3] = 1
  3882. }
  3883.  
  3884. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3885.  
  3886. end
  3887. end
  3888. end)
  3889.  
  3890.  
  3891. Farms:Toggle("AutoFarm", false, function(State)
  3892. if Config.AutoFarmMethod == "PathFinding" then
  3893. _G.PathWalk = State
  3894. while _G.PathWalk do wait()
  3895. PathWalk(game.Workspace.Enemies:FindFirstChild(Config.NPC).HumanoidRootPart.Position)
  3896. if not _G.AutoShoot then
  3897. hit()
  3898. end
  3899. end
  3900. elseif Config.AutoFarmMethod == "Teleport" then
  3901. _G.AutoFarm = State
  3902. game:GetService('RunService').Stepped:connect(function()
  3903. if _G.AutoFarm then
  3904. game.Workspace.Enemies:FindFirstChild(Config.NPC).HumanoidRootPart.Size = Vector3.new(30, 30, 30) --resize
  3905. tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(1, Enum.EasingStyle.Linear)
  3906. tween =
  3907. tweenService:Create(
  3908. game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart,
  3909. tweenInfo,
  3910. {CFrame = CFrame.new(game.Workspace.Enemies:FindFirstChild(Config.NPC).HumanoidRootPart.Position + Vector3.new(0, -15, 0), game.Workspace.Enemies:FindFirstChild(Config.NPC).HumanoidRootPart.Position)}
  3911. )
  3912. tween:Play()
  3913. if not _G.AutoShoot then
  3914. Hit()
  3915. end
  3916. end
  3917. end)
  3918. elseif Config.AutoFarmMethod == "Bring" then
  3919. _G.loops = State
  3920. while _G.loops do wait()
  3921. for i,v in pairs(game.Workspace.Enemies:GetChildren()) do
  3922. if v:FindFirstChild("Humanoid") and v:FindFirstChild("HumanoidRootPart") and v:IsA("Model") then
  3923. if v.Name == Config.NPC then
  3924. if _G.loops then
  3925. tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(1, Enum.EasingStyle.Linear)
  3926. tween = tweenService:Create(v.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart.Position + Vector3.new(0,10,0),game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart.Position)})
  3927. tween:Play()
  3928. if not _G.AutoShoot then
  3929. hit()
  3930. end
  3931. end
  3932. v.HumanoidRootPart.CanCollide = false
  3933. game.Workspace.Enemies:FindFirstChild(Config.NPC).HumanoidRootPart.Size = Vector3.new(15, 30, 15)
  3934. end
  3935. end
  3936. end
  3937. end
  3938. end
  3939. end)
  3940. Farms:Button("Bring NPC's once", function()
  3941. for i,v in pairs(game.Workspace.Enemies:GetChildren()) do
  3942. if v:FindFirstChild("Humanoid") and v:FindFirstChild("HumanoidRootPart") and v:IsA("Model") then
  3943. tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(1, Enum.EasingStyle.Linear)
  3944. tween = tweenService:Create(v.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart.Position + Vector3.new(0,10,0),game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart.Position)})
  3945. tween:Play()
  3946. v.HumanoidRootPart.CanCollide = false
  3947. end
  3948. end
  3949. end)
  3950.  
  3951.  
  3952.  
  3953. Shop:Label("Candy Event")
  3954.  
  3955. Shop:Button("Buy Random Fruit [ 100 Candies ]", function()
  3956. Config.Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  3957. Teleport(CFrame.new(-697.923035, 17.2672977, 1554.10742, 0.988639653, 1.50567576e-08, 0.15030472, -2.80688432e-08, 1, 8.44499226e-08, -0.15030472, -8.77094095e-08, 0.988639653))
  3958. wait(2)
  3959. local args = {
  3960. [1] = "Candies",
  3961. [2] = "Buy",
  3962. [3] = 4,
  3963. [4] = 1
  3964. }
  3965.  
  3966. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3967. wait(1)
  3968. Teleport(Config.Pos)
  3969. end)
  3970.  
  3971. Shop:Dropdown("Magic Elf", {"2xEXP ( 20 Mins ) [ 50 Candies ]","Stats Refund [ 70 Candies ]", "Race Reroll [ 90 Candies ]"}, function(Choosen)
  3972. if Config.Choosen == "Race Reroll [ 90 Candies ]" then
  3973. wait(1)
  3974. Teleport(Config.Pos)
  3975.  
  3976. elseif Choosen == "Stats Refund [ 70 Candies ]" then
  3977. Config.Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  3978. Teleport(CFrame.new(-697.923035, 17.2672977, 1554.10742, 0.988639653, 1.50567576e-08, 0.15030472, -2.80688432e-08, 1, 8.44499226e-08, -0.15030472, -8.77094095e-08, 0.988639653))
  3979. wait(2)
  3980. local args = {
  3981. [1] = "Candies",
  3982. [2] = "Buy",
  3983. [3] = 1,
  3984. [4] = 2
  3985. }
  3986.  
  3987. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  3988. wait(1)
  3989. Teleport(Config.Pos)
  3990. elseif Choosen == "2xEXP ( 20 Mins ) [ 50 Candies ]" then
  3991. Config.Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  3992. Teleport(CFrame.new(-697.923035, 17.2672977, 1554.10742, 0.988639653, 1.50567576e-08, 0.15030472, -2.80688432e-08, 1, 8.44499226e-08, -0.15030472, -8.77094095e-08, 0.988639653))
  3993. wait(2)
  3994. local args = {
  3995. [1] = "Candies",
  3996. [2] = "Buy",
  3997. [3] = 1,
  3998. [4] = 1
  3999. }
  4000.  
  4001. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4002. wait(1)
  4003. Teleport(Config.Pos)
  4004. end
  4005. end)
  4006.  
  4007.  
  4008. Shop:Dropdown("Santa Claws", {"Elf Hat [ 200 Candies ]","Santa Hat [ 400 Candies ]", "Sleigh [ 1k Candies ]"}, function(Choosen)
  4009. if Config.Choosen == "Elf Hat [ 200 Candies ]" then
  4010. Config.Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  4011. Teleport(CFrame.new(-697.923035, 17.2672977, 1554.10742, 0.988639653, 1.50567576e-08, 0.15030472, -2.80688432e-08, 1, 8.44499226e-08, -0.15030472, -8.77094095e-08, 0.988639653))
  4012. wait(2)
  4013.  
  4014.  
  4015. local args = {
  4016. [1] = "Candies",
  4017. [2] = "Buy",
  4018. [3] = 3,
  4019. [4] = 1
  4020. }
  4021.  
  4022. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4023. wait(1)
  4024. Teleport(Config.Pos)
  4025.  
  4026. elseif Config.Choosen == "Santa Hat [ 400 Candies ]" then
  4027. Config.Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  4028. Teleport(CFrame.new(-697.923035, 17.2672977, 1554.10742, 0.988639653, 1.50567576e-08, 0.15030472, -2.80688432e-08, 1, 8.44499226e-08, -0.15030472, -8.77094095e-08, 0.988639653))
  4029. wait(2)
  4030. local args = {
  4031. [1] = "Candies",
  4032. [2] = "Buy",
  4033. [3] = 3,
  4034. [4] = 2
  4035. }
  4036.  
  4037. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4038. wait(1)
  4039. Teleport(Config.Pos)
  4040.  
  4041.  
  4042. elseif Config.Choosen == "Sleigh [ 1k Candies ]" then
  4043. Config.Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  4044. Teleport(CFrame.new(-697.923035, 17.2672977, 1554.10742, 0.988639653, 1.50567576e-08, 0.15030472, -2.80688432e-08, 1, 8.44499226e-08, -0.15030472, -8.77094095e-08, 0.988639653))
  4045. wait(2)
  4046. local args = {
  4047. [1] = "Candies",
  4048. [2] = "Buy",
  4049. [3] = 3,
  4050. [4] = 3
  4051. }
  4052.  
  4053. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4054. wait(1)
  4055. Teleport(Config.Pos)
  4056.  
  4057. end
  4058. end)
  4059.  
  4060.  
  4061.  
  4062. Shop:Line("")
  4063.  
  4064. Shop:Dropdown("Sword Dealer", {"Katana [ $1k ]","Cutlass [ $1k ]"}, function(Choosen)
  4065. if Choosen == "Katana [ $1k ]" then
  4066. Config.Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  4067. Teleport(CFrame.new(896.65686, 16.2993622, 1413.99255, 0.926130891, 3.08631236e-08, 0.377202272, -1.73441606e-09, 1, -7.75627029e-08, -0.377202272, 7.1178988e-08, 0.926130891))
  4068. wait(2)
  4069. local args = {
  4070. [1] = "BuyItem",
  4071. [2] = "Katana"
  4072. }
  4073.  
  4074. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4075. wait(1)
  4076. Teleport(Config.Pos)
  4077. elseif Choosen == "Cutlass [ $1k ]" then
  4078. Config.Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  4079. Teleport(CFrame.new(896.65686, 16.2993622, 1413.99255, 0.926130891, 3.08631236e-08, 0.377202272, -1.73441606e-09, 1, -7.75627029e-08, -0.377202272, 7.1178988e-08, 0.926130891))
  4080. wait(2)
  4081. local args = {
  4082. [1] = "BuyItem",
  4083. [2] = "Cutlass"
  4084. }
  4085.  
  4086. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4087. wait(1)
  4088. Teleport(Config.Pos)
  4089. end
  4090. end)
  4091.  
  4092. Shop:Dropdown("Weapon Dealer", {"SlingShot [ $5k ]","Musket [ $8k ]", "Flintlock [ $10.5k ]"}, function(Choosen)
  4093. if Choosen == "SlingShot [ $5k ]" then
  4094. Config.Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  4095. Teleport(CFrame.new(-700.164368, 7.87804985, 1513.8501, -0.941088378, 7.43253992e-08, -0.338160634, 6.03030657e-08, 1, 5.19719947e-08, 0.338160634, 2.85181265e-08, -0.941088378))
  4096. wait(1)
  4097. local args = {
  4098. [1] = "BuyItem",
  4099. [2] = "Slingshot"
  4100. }
  4101.  
  4102. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4103. wait(1)
  4104. Teleport(Config.Pos)
  4105.  
  4106. elseif Choosen == "Musket [ $8k ]" then
  4107. Config.Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  4108. Teleport(CFrame.new(-700.164368, 7.87804985, 1513.8501, -0.941088378, 7.43253992e-08, -0.338160634, 6.03030657e-08, 1, 5.19719947e-08, 0.338160634, 2.85181265e-08, -0.941088378))
  4109. wait(1)
  4110. local args = {
  4111. [1] = "BuyItem",
  4112. [2] = "Musket"
  4113. }
  4114.  
  4115. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4116. Teleport(Config.Pos)
  4117.  
  4118. elseif Choosen == "Flintlock [ $10.5k ]" then
  4119. Config.Pos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  4120. Teleport(CFrame.new(-700.164368, 7.87804985, 1513.8501, -0.941088378, 7.43253992e-08, -0.338160634, 6.03030657e-08, 1, 5.19719947e-08, 0.338160634, 2.85181265e-08, -0.941088378))
  4121. wait(1)
  4122. local args = {
  4123. [1] = "BuyItem",
  4124. [2] = "Flintlock"
  4125. }
  4126.  
  4127. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4128. Teleport(Config.Pos)
  4129.  
  4130.  
  4131. end
  4132. end)
  4133.  
  4134.  
  4135.  
  4136.  
  4137. Shop:Dropdown("Boat Dealer", {"Dinghy [ Free ] ","PirateSloop [ $300 ]", "MarineSloop [ $300 ]", "PirateBasic [ $1k ]", "MarineBasic [ $1k ]"}, function(Choosen)
  4138. if Choosen == "Dinghy [ Free ] " then
  4139. local args = {
  4140. [1] = "BuyBoat",
  4141. [2] = "Dinghy"
  4142. }
  4143.  
  4144. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4145.  
  4146. elseif Choosen == "PirateSloop [ $300 ]" then
  4147.  
  4148. local args = {
  4149. [1] = "BuyBoat",
  4150. [2] = "PirateSloop"
  4151. }
  4152.  
  4153. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4154.  
  4155. elseif Choosen == "MarineSloop [ $300 ]" then
  4156.  
  4157. local args = {
  4158. [1] = "BuyBoat",
  4159. [2] = "MarineSloop"
  4160. }
  4161.  
  4162. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4163.  
  4164.  
  4165. elseif Choosen == "PirateBasic [ $1k ]" then
  4166.  
  4167. local args = {
  4168. [1] = "BuyBoat",
  4169. [2] = "PirateBasic"
  4170. }
  4171.  
  4172. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4173.  
  4174. elseif Choosen == "MarineBasic [ $1k ]" then
  4175.  
  4176. local args = {
  4177. [1] = "BuyBoat",
  4178. [2] = "MarineBasic"
  4179. }
  4180.  
  4181. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(unpack(args))
  4182. end
  4183. end)
  4184.  
  4185.  
  4186. local Name = "BFSettings.txt"
  4187.  
  4188.  
  4189. local DefaultSettings = {
  4190. ServerHop = true,
  4191. UseWebHook = false,
  4192. WaitTime = 30,
  4193. AutoEat = false,
  4194. Fruit = " ",
  4195. url = " " ,
  4196. Claimed = false
  4197. }
  4198.  
  4199. local Fruits = {
  4200. "Bomb Fruit",
  4201. "Spike Fruit",
  4202. "Chop Fruit",
  4203. "Spring Fruit",
  4204. "Smoke Fruit",
  4205. "Flame Fruit",
  4206. "Ice Fruit",
  4207. "Sand Fruit",
  4208. "Dark Fruit",
  4209. "Light Fruit",
  4210. "Rubber Fruit",
  4211. "Barrier Fruit",
  4212. "Magma Fruit",
  4213. "Quake Fruit",
  4214. "Human: Buddha Fruit",
  4215. "String Fruit",
  4216. "Bird: Phoenix Fruit",
  4217. "Rumble Fruit",
  4218. "Paw Fruit",
  4219. "Gravity Fruit",
  4220. "Dought Fruit",
  4221. "Control Fruit",
  4222. "Dragon Fruit"
  4223. }
  4224.  
  4225.  
  4226. local Settings
  4227.  
  4228. if not pcall(function() readfile(Name) end) then writefile(Name, game:service'HttpService':JSONEncode(DefaultSettings)) end
  4229.  
  4230. Settings = game:service'HttpService':JSONDecode(readfile(Name))
  4231.  
  4232. local function Save()
  4233. writefile(Name,game:service'HttpService':JSONEncode(Settings))
  4234. end
  4235.  
  4236. FruitFarmer:Toggle("ServerHop", false, function(State)
  4237. Settings.ServerHop = State
  4238. print(Settings.ServerHop)
  4239. Save()
  4240. end)
  4241. FruitFarmer:Line("If it Should Hop when it finds a Fruit")
  4242.  
  4243. FruitFarmer:Slider("Wait Between ServerHop",false,0, 150, 35, function(Value)
  4244. Settings.WaitTime = Value
  4245. print(Settings.WaitTime)
  4246. Save()
  4247. end)
  4248. FruitFarmer:Line("Time Between Hop if Fruit found")
  4249.  
  4250. FruitFarmer:Toggle("Use Webhook", false, function(State)
  4251. Settings.UseWebHook = State
  4252. print(Settings.UseWebHook)
  4253. Save()
  4254. end)
  4255. FruitFarmer:Textbox("Webhook here",false,function(Text)
  4256. print(Text)
  4257. Settings.url = Text
  4258. print(Settings.url)
  4259. Save()
  4260. end)
  4261. FruitFarmer:Toggle("AutoEat Fruit", false, function(State)
  4262. Settings.AutoEat = State
  4263. print(Settings.AutoEat)
  4264. Save()
  4265. end)
  4266. FruitFarmer:Dropdown("Fruit Name", {unpack(Fruits)}, function(Choosen)
  4267. Settings.Fruit = Choosen
  4268. print(Settings.Fruit)
  4269. Save()
  4270. end)
  4271.  
  4272. FruitFarmer:Button("Start Fruit Farmer", function()
  4273.  
  4274. syn.queue_on_teleport('loadstring(game:HttpGet("https://pastebin.com/raw/ZtUBjxfq",true))()')
  4275.  
  4276. game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("SetTeam","Pirates")
  4277.  
  4278. _G.ServerHop = Settings.ServerHop
  4279. _G.UseWebHook = Settings.UseWebHook
  4280. _G.WaitTime = Settings.WaitTime
  4281. _G.AutoEat = Settings.AutoEat
  4282. _G.Fruit = Settings.Fruit
  4283. _G.url = Settings.url
  4284. _G.Claimed = false
  4285.  
  4286. if game then
  4287. if not game:IsLoaded() then
  4288. repeat wait()
  4289. until
  4290. game:IsLoaded()
  4291. end
  4292. else
  4293. game:Shutdown()
  4294. end
  4295.  
  4296. local vu = game:GetService("VirtualUser")
  4297. game:GetService("Players").LocalPlayer.Idled:connect(function()
  4298. vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  4299. wait(1)
  4300. vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  4301. end)
  4302. warn("Anti AFK enabled")
  4303.  
  4304.  
  4305.  
  4306. wait(5)
  4307.  
  4308. local vim = game:GetService("VirtualInputManager")
  4309. local function click(a)
  4310. vim:SendMouseButtonEvent(a.AbsolutePosition.X+a.AbsoluteSize.X/2,a.AbsolutePosition.Y+50,0,true,a,1)
  4311. vim:SendMouseButtonEvent(a.AbsolutePosition.X+a.AbsoluteSize.X/2,a.AbsolutePosition.Y+50,0,false,a,1)
  4312. end
  4313.  
  4314. click(game:GetService("Players").LocalPlayer.PlayerGui.Main.ChooseTeam.Container.Pirates.Frame.ViewportFrame.TextButton)
  4315.  
  4316. wait(4)
  4317.  
  4318. print("UseWebHook")
  4319.  
  4320. if _G.UseWebHook then
  4321. for i, v in pairs(workspace:GetChildren()) do
  4322. if v:IsA("Tool") then
  4323. if v.Handle or v.Name == "Fruit " then
  4324. local req = syn.request
  4325. local hwid_headers = {'Syn-Fingerprint'} -- You will have to add more headers for different exploits
  4326. local data = {
  4327. ["username"] = "Chicken",
  4328. ["avatar_url"] = "https://cdn.discordapp.com/attachments/801439197344563250/804359711557812294/Download.png",
  4329. ["embeds"] = {
  4330. {
  4331. ["author"] = {
  4332. ["name"] = game.Players.LocalPlayer.Name.. " Claimed a Fruit",
  4333. ["url"] = "https://discord.gg/brackets",
  4334. ["icon_url"] = "https://web.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userid="..game.Players.LocalPlayer.UserId
  4335. },
  4336. ["url"] = "https://www.roblox.com/games/"..game.PlaceId,
  4337. ["description"] = game:GetService('MarketplaceService'):GetProductInfo(game.PlaceId).Name,
  4338. ["color"] = 000000,
  4339. ["fields"] = {
  4340. {
  4341. ["name"] = "Ping",
  4342. ["value"] = "@everyone ",
  4343. },
  4344. {
  4345. ["name"] = "Player Info:",
  4346. ["value"] = "**Age: **"..game.Players.LocalPlayer.AccountAge,
  4347. },
  4348. {
  4349. ["name"] = "Fruit:",
  4350. ["value"] = v.Name,
  4351. ["inline"] = true
  4352. },
  4353. {
  4354. ["name"] = "WaitingTimeFromNow:",
  4355. ["value"] = _G.WaitTime,
  4356. ["inline"] = true
  4357. },
  4358. {
  4359. ["name"] = "JobId:",
  4360. ["value"] = tostring("```"..game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId).."```"),
  4361. ["inline"] = true
  4362. },
  4363. },
  4364. ["thumbnail"] = {
  4365. ["url"] = "https://web.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userid="..game.Players.LocalPlayer.UserId
  4366. },
  4367. ["footer"] = {
  4368. ["text"] = "Found a Fruit",
  4369. }
  4370. }
  4371. }
  4372. }
  4373. local Post = req({Url = _G.url, Method = 'POST', Headers = { ['Content-Type'] = 'application/json' }, Body = game:GetService('HttpService'):JSONEncode(data)})
  4374. end
  4375. end
  4376. end
  4377. end
  4378.  
  4379. print("Claim")
  4380.  
  4381.  
  4382. for i, v in pairs(workspace:GetChildren()) do
  4383. if v:IsA("Tool") and v.EatRemote then
  4384. if v.Handle then
  4385. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Handle.TouchInterest.Parent, 0) --0 is touch
  4386. _G.Claimed = true
  4387. end
  4388. end
  4389. end
  4390.  
  4391. for i, v in pairs(workspace:GetChildren()) do
  4392. if v:IsA("Model") and v.Name == "Fruit " then
  4393. if v.Handle then
  4394. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Handle.TouchInterest.Parent, 0) --0 is touch
  4395. _G.Claimed = true
  4396. end
  4397. end
  4398. end
  4399.  
  4400. print("Eat")
  4401.  
  4402. wait(2)
  4403. if _G.AutoEat then
  4404. for _, v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  4405. v.Parent = game.Players.LocalPlayer.Character
  4406. end
  4407. wait(0.2)
  4408. for i,e in pairs(game:GetService("Players").LocalPlayer.Character:GetDescendants()) do
  4409. if e.Name == _G.Fruit then
  4410. game:GetService("Players").LocalPlayer.Character[_G.Fruit].EatRemote:InvokeServer()
  4411. wait(99999999999999999999999)
  4412. else
  4413. _G.Claimed = false
  4414. end
  4415. end
  4416. end
  4417.  
  4418.  
  4419. print("DoneEat")
  4420.  
  4421. if _G.Claimed then
  4422. print("Yes")
  4423. if _G.ServerHop then
  4424. local PlaceID = game.PlaceId
  4425. local AllIDs = {}
  4426. local foundAnything = ""
  4427. local actualHour = os.date("!*t").hour
  4428. local Deleted = false
  4429. local File = pcall(function()
  4430. AllIDs = game:GetService('HttpService'):JSONDecode(readfile("NotSameServers.json"))
  4431. end)
  4432. if not File then
  4433. table.insert(AllIDs, actualHour)
  4434. writefile("NotSameServers.json", game:GetService('HttpService'):JSONEncode(AllIDs))
  4435. end
  4436. function TPReturner()
  4437. local Site;
  4438. if foundAnything == "" then
  4439. Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100'))
  4440. else
  4441. Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100&cursor=' .. foundAnything))
  4442. end
  4443. local ID = ""
  4444. if Site.nextPageCursor and Site.nextPageCursor ~= "null" and Site.nextPageCursor ~= nil then
  4445. foundAnything = Site.nextPageCursor
  4446. end
  4447. local num = 0;
  4448. for i,v in pairs(Site.data) do
  4449. local Possible = true
  4450. ID = tostring(v.id)
  4451. if tonumber(v.maxPlayers) > tonumber(v.playing) then
  4452. for _,Existing in pairs(AllIDs) do
  4453. if num ~= 0 then
  4454. if ID == tostring(Existing) then
  4455. Possible = false
  4456. end
  4457. else
  4458. if tonumber(actualHour) ~= tonumber(Existing) then
  4459. local delFile = pcall(function()
  4460. delfile("NotSameServers.json")
  4461. AllIDs = {}
  4462. table.insert(AllIDs, actualHour)
  4463. end)
  4464. end
  4465. end
  4466. num = num + 1
  4467. end
  4468. if Possible == true then
  4469. table.insert(AllIDs, ID)
  4470. wait()
  4471. pcall(function()
  4472. writefile("NotSameServers.json", game:GetService('HttpService'):JSONEncode(AllIDs))
  4473. wait()
  4474. game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceID, ID, game.Players.LocalPlayer)
  4475. end)
  4476. wait(4)
  4477. end
  4478. end
  4479. end
  4480. end
  4481.  
  4482. function Teleport()
  4483. while wait() do
  4484. pcall(function()
  4485. TPReturner()
  4486. if foundAnything ~= "" then
  4487. TPReturner()
  4488. end
  4489. end)
  4490. end
  4491. end
  4492. print("Waiting")
  4493. wait(_G.WaitTime)
  4494. Teleport()
  4495. end
  4496. elseif not _G.Claimed then
  4497. print("No")
  4498. local PlaceID = game.PlaceId
  4499. local AllIDs = {}
  4500. local foundAnything = ""
  4501. local actualHour = os.date("!*t").hour
  4502. local Deleted = false
  4503. local File = pcall(function()
  4504. AllIDs = game:GetService('HttpService'):JSONDecode(readfile("NotSameServers.json"))
  4505. end)
  4506. if not File then
  4507. table.insert(AllIDs, actualHour)
  4508. writefile("NotSameServers.json", game:GetService('HttpService'):JSONEncode(AllIDs))
  4509. end
  4510. function TPReturner()
  4511. local Site;
  4512. if foundAnything == "" then
  4513. Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100'))
  4514. else
  4515. Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100&cursor=' .. foundAnything))
  4516. end
  4517. local ID = ""
  4518. if Site.nextPageCursor and Site.nextPageCursor ~= "null" and Site.nextPageCursor ~= nil then
  4519. foundAnything = Site.nextPageCursor
  4520. end
  4521. local num = 0;
  4522. for i,v in pairs(Site.data) do
  4523. local Possible = true
  4524. ID = tostring(v.id)
  4525. if tonumber(v.maxPlayers) > tonumber(v.playing) then
  4526. for _,Existing in pairs(AllIDs) do
  4527. if num ~= 0 then
  4528. if ID == tostring(Existing) then
  4529. Possible = false
  4530. end
  4531. else
  4532. if tonumber(actualHour) ~= tonumber(Existing) then
  4533. local delFile = pcall(function()
  4534. delfile("NotSameServers.json")
  4535. AllIDs = {}
  4536. table.insert(AllIDs, actualHour)
  4537. end)
  4538. end
  4539. end
  4540. num = num + 1
  4541. end
  4542. if Possible == true then
  4543. table.insert(AllIDs, ID)
  4544. wait()
  4545. pcall(function()
  4546. writefile("NotSameServers.json", game:GetService('HttpService'):JSONEncode(AllIDs))
  4547. wait()
  4548. game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceID, ID, game.Players.LocalPlayer)
  4549. end)
  4550. wait(4)
  4551. end
  4552. end
  4553. end
  4554. end
  4555.  
  4556. function Teleport()
  4557. while wait() do
  4558. pcall(function()
  4559. TPReturner()
  4560. if foundAnything ~= "" then
  4561. TPReturner()
  4562. end
  4563. end)
  4564. end
  4565. end
  4566.  
  4567. Teleport()
  4568. end
  4569. end)
  4570.  
  4571.  
  4572.  
  4573.  
  4574.  
  4575.  
  4576.  
  4577.  
  4578.  
  4579.  
  4580.  
  4581.  
  4582.  
  4583.  
  4584.  
  4585.  
  4586. end
  4587.  
  4588.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement