Porry

Untitled

Apr 22nd, 2021
462
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 117.89 KB | None | 0 0
  1. --[[
  2. ui-engine-v2
  3. version 1.3a
  4. by Singularity (V3rm @ King Singularity) (Discord @ Singularity#5490)
  5. --]]
  6.  
  7. local ui_options = {
  8. main_color = Color3.fromRGB(41, 74, 122),
  9. min_size = Vector2.new(700, 500),
  10. toggle_key = Enum.KeyCode.RightControl,
  11. can_resize = true,
  12. }
  13.  
  14. do
  15. local imgui = game:GetService("CoreGui"):FindFirstChild("imgui")
  16. if imgui then imgui:Destroy() end
  17. end
  18.  
  19. local imgui = Instance.new("ScreenGui")
  20. local Prefabs = Instance.new("Frame")
  21. local Label = Instance.new("TextLabel")
  22. local Window = Instance.new("ImageLabel")
  23. local Resizer = Instance.new("Frame")
  24. local Bar = Instance.new("Frame")
  25. local Toggle = Instance.new("ImageButton")
  26. local Base = Instance.new("ImageLabel")
  27. local Top = Instance.new("ImageLabel")
  28. local Tabs = Instance.new("Frame")
  29. local Title = Instance.new("TextLabel")
  30. local TabSelection = Instance.new("ImageLabel")
  31. local TabButtons = Instance.new("Frame")
  32. local UIListLayout = Instance.new("UIListLayout")
  33. local Frame = Instance.new("Frame")
  34. local Tab = Instance.new("Frame")
  35. local UIListLayout_2 = Instance.new("UIListLayout")
  36. local TextBox = Instance.new("TextBox")
  37. local TextBox_Roundify_4px = Instance.new("ImageLabel")
  38. local Slider = Instance.new("ImageLabel")
  39. local Title_2 = Instance.new("TextLabel")
  40. local Indicator = Instance.new("ImageLabel")
  41. local Value = Instance.new("TextLabel")
  42. local TextLabel = Instance.new("TextLabel")
  43. local TextLabel_2 = Instance.new("TextLabel")
  44. local Circle = Instance.new("ImageLabel")
  45. local UIListLayout_3 = Instance.new("UIListLayout")
  46. local Dropdown = Instance.new("TextButton")
  47. local Indicator_2 = Instance.new("ImageLabel")
  48. local Box = Instance.new("ImageButton")
  49. local Objects = Instance.new("ScrollingFrame")
  50. local UIListLayout_4 = Instance.new("UIListLayout")
  51. local TextButton_Roundify_4px = Instance.new("ImageLabel")
  52. local TabButton = Instance.new("TextButton")
  53. local TextButton_Roundify_4px_2 = Instance.new("ImageLabel")
  54. local Folder = Instance.new("ImageLabel")
  55. local Button = Instance.new("TextButton")
  56. local TextButton_Roundify_4px_3 = Instance.new("ImageLabel")
  57. local Toggle_2 = Instance.new("ImageLabel")
  58. local Objects_2 = Instance.new("Frame")
  59. local UIListLayout_5 = Instance.new("UIListLayout")
  60. local HorizontalAlignment = Instance.new("Frame")
  61. local UIListLayout_6 = Instance.new("UIListLayout")
  62. local Console = Instance.new("ImageLabel")
  63. local ScrollingFrame = Instance.new("ScrollingFrame")
  64. local Source = Instance.new("TextBox")
  65. local Comments = Instance.new("TextLabel")
  66. local Globals = Instance.new("TextLabel")
  67. local Keywords = Instance.new("TextLabel")
  68. local RemoteHighlight = Instance.new("TextLabel")
  69. local Strings = Instance.new("TextLabel")
  70. local Tokens = Instance.new("TextLabel")
  71. local Numbers = Instance.new("TextLabel")
  72. local Info = Instance.new("TextLabel")
  73. local Lines = Instance.new("TextLabel")
  74. local ColorPicker = Instance.new("ImageLabel")
  75. local Palette = Instance.new("ImageLabel")
  76. local Indicator_3 = Instance.new("ImageLabel")
  77. local Sample = Instance.new("ImageLabel")
  78. local Saturation = Instance.new("ImageLabel")
  79. local Indicator_4 = Instance.new("Frame")
  80. local Switch = Instance.new("TextButton")
  81. local TextButton_Roundify_4px_4 = Instance.new("ImageLabel")
  82. local Title_3 = Instance.new("TextLabel")
  83. local Button_2 = Instance.new("TextButton")
  84. local TextButton_Roundify_4px_5 = Instance.new("ImageLabel")
  85. local DropdownButton = Instance.new("TextButton")
  86. local Keybind = Instance.new("ImageLabel")
  87. local Title_4 = Instance.new("TextLabel")
  88. local Input = Instance.new("TextButton")
  89. local Input_Roundify_4px = Instance.new("ImageLabel")
  90. local Windows = Instance.new("Frame")
  91.  
  92. imgui.Name = "imgui"
  93. imgui.Parent = game:GetService("CoreGui")
  94.  
  95. Prefabs.Name = "Prefabs"
  96. Prefabs.Parent = imgui
  97. Prefabs.BackgroundColor3 = Color3.new(1, 1, 1)
  98. Prefabs.Size = UDim2.new(0, 100, 0, 100)
  99. Prefabs.Visible = false
  100.  
  101. Label.Name = "Label"
  102. Label.Parent = Prefabs
  103. Label.BackgroundColor3 = Color3.new(1, 1, 1)
  104. Label.BackgroundTransparency = 1
  105. Label.Size = UDim2.new(0, 200, 0, 20)
  106. Label.Font = Enum.Font.GothamSemibold
  107. Label.Text = "Hello, world 123"
  108. Label.TextColor3 = Color3.new(1, 1, 1)
  109. Label.TextSize = 14
  110. Label.TextXAlignment = Enum.TextXAlignment.Left
  111.  
  112. Window.Name = "Window"
  113. Window.Parent = Prefabs
  114. Window.Active = true
  115. Window.BackgroundColor3 = Color3.new(1, 1, 1)
  116. Window.BackgroundTransparency = 1
  117. Window.ClipsDescendants = true
  118. Window.Position = UDim2.new(0, 20, 0, 20)
  119. Window.Selectable = true
  120. Window.Size = UDim2.new(0, 200, 0, 200)
  121. Window.Image = "rbxassetid://2851926732"
  122. Window.ImageColor3 = Color3.new(0.0823529, 0.0862745, 0.0901961)
  123. Window.ScaleType = Enum.ScaleType.Slice
  124. Window.SliceCenter = Rect.new(12, 12, 12, 12)
  125.  
  126. Resizer.Name = "Resizer"
  127. Resizer.Parent = Window
  128. Resizer.Active = true
  129. Resizer.BackgroundColor3 = Color3.new(1, 1, 1)
  130. Resizer.BackgroundTransparency = 1
  131. Resizer.BorderSizePixel = 0
  132. Resizer.Position = UDim2.new(1, -20, 1, -20)
  133. Resizer.Size = UDim2.new(0, 20, 0, 20)
  134.  
  135. Bar.Name = "Bar"
  136. Bar.Parent = Window
  137. Bar.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  138. Bar.BorderSizePixel = 0
  139. Bar.Position = UDim2.new(0, 0, 0, 5)
  140. Bar.Size = UDim2.new(1, 0, 0, 15)
  141.  
  142. Toggle.Name = "Toggle"
  143. Toggle.Parent = Bar
  144. Toggle.BackgroundColor3 = Color3.new(1, 1, 1)
  145. Toggle.BackgroundTransparency = 1
  146. Toggle.Position = UDim2.new(0, 5, 0, -2)
  147. Toggle.Rotation = 90
  148. Toggle.Size = UDim2.new(0, 20, 0, 20)
  149. Toggle.ZIndex = 2
  150. Toggle.Image = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=4731371541"
  151.  
  152. Base.Name = "Base"
  153. Base.Parent = Bar
  154. Base.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  155. Base.BorderSizePixel = 0
  156. Base.Position = UDim2.new(0, 0, 0.800000012, 0)
  157. Base.Size = UDim2.new(1, 0, 0, 10)
  158. Base.Image = "rbxassetid://2851926732"
  159. Base.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  160. Base.ScaleType = Enum.ScaleType.Slice
  161. Base.SliceCenter = Rect.new(12, 12, 12, 12)
  162.  
  163. Top.Name = "Top"
  164. Top.Parent = Bar
  165. Top.BackgroundColor3 = Color3.new(1, 1, 1)
  166. Top.BackgroundTransparency = 1
  167. Top.Position = UDim2.new(0, 0, 0, -5)
  168. Top.Size = UDim2.new(1, 0, 0, 10)
  169. Top.Image = "rbxassetid://2851926732"
  170. Top.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  171. Top.ScaleType = Enum.ScaleType.Slice
  172. Top.SliceCenter = Rect.new(12, 12, 12, 12)
  173.  
  174. Tabs.Name = "Tabs"
  175. Tabs.Parent = Window
  176. Tabs.BackgroundColor3 = Color3.new(1, 1, 1)
  177. Tabs.BackgroundTransparency = 1
  178. Tabs.Position = UDim2.new(0, 15, 0, 60)
  179. Tabs.Size = UDim2.new(1, -30, 1, -60)
  180.  
  181. Title.Name = "Title"
  182. Title.Parent = Window
  183. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  184. Title.BackgroundTransparency = 1
  185. Title.Position = UDim2.new(0, 30, 0, 3)
  186. Title.Size = UDim2.new(0, 200, 0, 20)
  187. Title.Font = Enum.Font.GothamBold
  188. Title.Text = "Gamer Time"
  189. Title.TextColor3 = Color3.new(1, 1, 1)
  190. Title.TextSize = 14
  191. Title.TextXAlignment = Enum.TextXAlignment.Left
  192.  
  193. TabSelection.Name = "TabSelection"
  194. TabSelection.Parent = Window
  195. TabSelection.BackgroundColor3 = Color3.new(1, 1, 1)
  196. TabSelection.BackgroundTransparency = 1
  197. TabSelection.Position = UDim2.new(0, 15, 0, 30)
  198. TabSelection.Size = UDim2.new(1, -30, 0, 25)
  199. TabSelection.Visible = false
  200. TabSelection.Image = "rbxassetid://2851929490"
  201. TabSelection.ImageColor3 = Color3.new(0.145098, 0.14902, 0.156863)
  202. TabSelection.ScaleType = Enum.ScaleType.Slice
  203. TabSelection.SliceCenter = Rect.new(4, 4, 4, 4)
  204.  
  205. TabButtons.Name = "TabButtons"
  206. TabButtons.Parent = TabSelection
  207. TabButtons.BackgroundColor3 = Color3.new(1, 1, 1)
  208. TabButtons.BackgroundTransparency = 1
  209. TabButtons.Size = UDim2.new(1, 0, 1, 0)
  210.  
  211. UIListLayout.Parent = TabButtons
  212. UIListLayout.FillDirection = Enum.FillDirection.Horizontal
  213. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  214. UIListLayout.Padding = UDim.new(0, 2)
  215.  
  216. Frame.Parent = TabSelection
  217. Frame.BackgroundColor3 = Color3.new(0.12549, 0.227451, 0.372549)
  218. Frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  219. Frame.BorderSizePixel = 0
  220. Frame.Position = UDim2.new(0, 0, 1, 0)
  221. Frame.Size = UDim2.new(1, 0, 0, 2)
  222.  
  223. Tab.Name = "Tab"
  224. Tab.Parent = Prefabs
  225. Tab.BackgroundColor3 = Color3.new(1, 1, 1)
  226. Tab.BackgroundTransparency = 1
  227. Tab.Size = UDim2.new(1, 0, 1, 0)
  228. Tab.Visible = false
  229.  
  230. UIListLayout_2.Parent = Tab
  231. UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  232. UIListLayout_2.Padding = UDim.new(0, 5)
  233.  
  234. TextBox.Parent = Prefabs
  235. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  236. TextBox.BackgroundTransparency = 1
  237. TextBox.BorderSizePixel = 0
  238. TextBox.Size = UDim2.new(1, 0, 0, 20)
  239. TextBox.ZIndex = 2
  240. TextBox.Font = Enum.Font.GothamSemibold
  241. TextBox.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  242. TextBox.PlaceholderText = "Input Text"
  243. TextBox.Text = ""
  244. TextBox.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  245. TextBox.TextSize = 14
  246.  
  247. TextBox_Roundify_4px.Name = "TextBox_Roundify_4px"
  248. TextBox_Roundify_4px.Parent = TextBox
  249. TextBox_Roundify_4px.BackgroundColor3 = Color3.new(1, 1, 1)
  250. TextBox_Roundify_4px.BackgroundTransparency = 1
  251. TextBox_Roundify_4px.Size = UDim2.new(1, 0, 1, 0)
  252. TextBox_Roundify_4px.Image = "rbxassetid://2851929490"
  253. TextBox_Roundify_4px.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  254. TextBox_Roundify_4px.ScaleType = Enum.ScaleType.Slice
  255. TextBox_Roundify_4px.SliceCenter = Rect.new(4, 4, 4, 4)
  256.  
  257. Slider.Name = "Slider"
  258. Slider.Parent = Prefabs
  259. Slider.BackgroundColor3 = Color3.new(1, 1, 1)
  260. Slider.BackgroundTransparency = 1
  261. Slider.Position = UDim2.new(0, 0, 0.178571433, 0)
  262. Slider.Size = UDim2.new(1, 0, 0, 20)
  263. Slider.Image = "rbxassetid://2851929490"
  264. Slider.ImageColor3 = Color3.new(0.145098, 0.14902, 0.156863)
  265. Slider.ScaleType = Enum.ScaleType.Slice
  266. Slider.SliceCenter = Rect.new(4, 4, 4, 4)
  267.  
  268. Title_2.Name = "Title"
  269. Title_2.Parent = Slider
  270. Title_2.BackgroundColor3 = Color3.new(1, 1, 1)
  271. Title_2.BackgroundTransparency = 1
  272. Title_2.Position = UDim2.new(0.5, 0, 0.5, -10)
  273. Title_2.Size = UDim2.new(0, 0, 0, 20)
  274. Title_2.ZIndex = 2
  275. Title_2.Font = Enum.Font.GothamBold
  276. Title_2.Text = "Slider"
  277. Title_2.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  278. Title_2.TextSize = 14
  279.  
  280. Indicator.Name = "Indicator"
  281. Indicator.Parent = Slider
  282. Indicator.BackgroundColor3 = Color3.new(1, 1, 1)
  283. Indicator.BackgroundTransparency = 1
  284. Indicator.Size = UDim2.new(0, 0, 0, 20)
  285. Indicator.Image = "rbxassetid://2851929490"
  286. Indicator.ImageColor3 = Color3.new(0.254902, 0.262745, 0.278431)
  287. Indicator.ScaleType = Enum.ScaleType.Slice
  288. Indicator.SliceCenter = Rect.new(4, 4, 4, 4)
  289.  
  290. Value.Name = "Value"
  291. Value.Parent = Slider
  292. Value.BackgroundColor3 = Color3.new(1, 1, 1)
  293. Value.BackgroundTransparency = 1
  294. Value.Position = UDim2.new(1, -55, 0.5, -10)
  295. Value.Size = UDim2.new(0, 50, 0, 20)
  296. Value.Font = Enum.Font.GothamBold
  297. Value.Text = "0%"
  298. Value.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  299. Value.TextSize = 14
  300.  
  301. TextLabel.Parent = Slider
  302. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  303. TextLabel.BackgroundTransparency = 1
  304. TextLabel.Position = UDim2.new(1, -20, -0.75, 0)
  305. TextLabel.Size = UDim2.new(0, 26, 0, 50)
  306. TextLabel.Font = Enum.Font.GothamBold
  307. TextLabel.Text = "]"
  308. TextLabel.TextColor3 = Color3.new(0.627451, 0.627451, 0.627451)
  309. TextLabel.TextSize = 14
  310.  
  311. TextLabel_2.Parent = Slider
  312. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  313. TextLabel_2.BackgroundTransparency = 1
  314. TextLabel_2.Position = UDim2.new(1, -65, -0.75, 0)
  315. TextLabel_2.Size = UDim2.new(0, 26, 0, 50)
  316. TextLabel_2.Font = Enum.Font.GothamBold
  317. TextLabel_2.Text = "["
  318. TextLabel_2.TextColor3 = Color3.new(0.627451, 0.627451, 0.627451)
  319. TextLabel_2.TextSize = 14
  320.  
  321. Circle.Name = "Circle"
  322. Circle.Parent = Prefabs
  323. Circle.BackgroundColor3 = Color3.new(1, 1, 1)
  324. Circle.BackgroundTransparency = 1
  325. Circle.Image = "rbxassetid://266543268"
  326. Circle.ImageTransparency = 0.5
  327.  
  328. UIListLayout_3.Parent = Prefabs
  329. UIListLayout_3.FillDirection = Enum.FillDirection.Horizontal
  330. UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
  331. UIListLayout_3.Padding = UDim.new(0, 20)
  332.  
  333. Dropdown.Name = "Dropdown"
  334. Dropdown.Parent = Prefabs
  335. Dropdown.BackgroundColor3 = Color3.new(1, 1, 1)
  336. Dropdown.BackgroundTransparency = 1
  337. Dropdown.BorderSizePixel = 0
  338. Dropdown.Position = UDim2.new(-0.055555556, 0, 0.0833333284, 0)
  339. Dropdown.Size = UDim2.new(0, 200, 0, 20)
  340. Dropdown.ZIndex = 2
  341. Dropdown.Font = Enum.Font.GothamBold
  342. Dropdown.Text = " Dropdown"
  343. Dropdown.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  344. Dropdown.TextSize = 14
  345. Dropdown.TextXAlignment = Enum.TextXAlignment.Left
  346.  
  347. Indicator_2.Name = "Indicator"
  348. Indicator_2.Parent = Dropdown
  349. Indicator_2.BackgroundColor3 = Color3.new(1, 1, 1)
  350. Indicator_2.BackgroundTransparency = 1
  351. Indicator_2.Position = UDim2.new(0.899999976, -10, 0.100000001, 0)
  352. Indicator_2.Rotation = -90
  353. Indicator_2.Size = UDim2.new(0, 15, 0, 15)
  354. Indicator_2.ZIndex = 2
  355. Indicator_2.Image = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=4744658743"
  356.  
  357. Box.Name = "Box"
  358. Box.Parent = Dropdown
  359. Box.BackgroundColor3 = Color3.new(1, 1, 1)
  360. Box.BackgroundTransparency = 1
  361. Box.Position = UDim2.new(0, 0, 0, 25)
  362. Box.Size = UDim2.new(1, 0, 0, 150)
  363. Box.ZIndex = 3
  364. Box.Image = "rbxassetid://2851929490"
  365. Box.ImageColor3 = Color3.new(0.129412, 0.133333, 0.141176)
  366. Box.ScaleType = Enum.ScaleType.Slice
  367. Box.SliceCenter = Rect.new(4, 4, 4, 4)
  368.  
  369. Objects.Name = "Objects"
  370. Objects.Parent = Box
  371. Objects.BackgroundColor3 = Color3.new(1, 1, 1)
  372. Objects.BackgroundTransparency = 1
  373. Objects.BorderSizePixel = 0
  374. Objects.Size = UDim2.new(1, 0, 1, 0)
  375. Objects.ZIndex = 3
  376. Objects.CanvasSize = UDim2.new(0, 0, 0, 0)
  377. Objects.ScrollBarThickness = 8
  378.  
  379. UIListLayout_4.Parent = Objects
  380. UIListLayout_4.SortOrder = Enum.SortOrder.LayoutOrder
  381.  
  382. TextButton_Roundify_4px.Name = "TextButton_Roundify_4px"
  383. TextButton_Roundify_4px.Parent = Dropdown
  384. TextButton_Roundify_4px.BackgroundColor3 = Color3.new(1, 1, 1)
  385. TextButton_Roundify_4px.BackgroundTransparency = 1
  386. TextButton_Roundify_4px.Size = UDim2.new(1, 0, 1, 0)
  387. TextButton_Roundify_4px.Image = "rbxassetid://2851929490"
  388. TextButton_Roundify_4px.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  389. TextButton_Roundify_4px.ScaleType = Enum.ScaleType.Slice
  390. TextButton_Roundify_4px.SliceCenter = Rect.new(4, 4, 4, 4)
  391.  
  392. TabButton.Name = "TabButton"
  393. TabButton.Parent = Prefabs
  394. TabButton.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  395. TabButton.BackgroundTransparency = 1
  396. TabButton.BorderSizePixel = 0
  397. TabButton.Position = UDim2.new(0.185185179, 0, 0, 0)
  398. TabButton.Size = UDim2.new(0, 71, 0, 20)
  399. TabButton.ZIndex = 2
  400. TabButton.Font = Enum.Font.GothamSemibold
  401. TabButton.Text = "Test tab"
  402. TabButton.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  403. TabButton.TextSize = 14
  404.  
  405. TextButton_Roundify_4px_2.Name = "TextButton_Roundify_4px"
  406. TextButton_Roundify_4px_2.Parent = TabButton
  407. TextButton_Roundify_4px_2.BackgroundColor3 = Color3.new(1, 1, 1)
  408. TextButton_Roundify_4px_2.BackgroundTransparency = 1
  409. TextButton_Roundify_4px_2.Size = UDim2.new(1, 0, 1, 0)
  410. TextButton_Roundify_4px_2.Image = "rbxassetid://2851929490"
  411. TextButton_Roundify_4px_2.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  412. TextButton_Roundify_4px_2.ScaleType = Enum.ScaleType.Slice
  413. TextButton_Roundify_4px_2.SliceCenter = Rect.new(4, 4, 4, 4)
  414.  
  415. Folder.Name = "Folder"
  416. Folder.Parent = Prefabs
  417. Folder.BackgroundColor3 = Color3.new(1, 1, 1)
  418. Folder.BackgroundTransparency = 1
  419. Folder.Position = UDim2.new(0, 0, 0, 50)
  420. Folder.Size = UDim2.new(1, 0, 0, 20)
  421. Folder.Image = "rbxassetid://2851929490"
  422. Folder.ImageColor3 = Color3.new(0.0823529, 0.0862745, 0.0901961)
  423. Folder.ScaleType = Enum.ScaleType.Slice
  424. Folder.SliceCenter = Rect.new(4, 4, 4, 4)
  425.  
  426. Button.Name = "Button"
  427. Button.Parent = Folder
  428. Button.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  429. Button.BackgroundTransparency = 1
  430. Button.BorderSizePixel = 0
  431. Button.Size = UDim2.new(1, 0, 0, 20)
  432. Button.ZIndex = 2
  433. Button.Font = Enum.Font.GothamSemibold
  434. Button.Text = " Folder"
  435. Button.TextColor3 = Color3.new(1, 1, 1)
  436. Button.TextSize = 14
  437. Button.TextXAlignment = Enum.TextXAlignment.Left
  438.  
  439. TextButton_Roundify_4px_3.Name = "TextButton_Roundify_4px"
  440. TextButton_Roundify_4px_3.Parent = Button
  441. TextButton_Roundify_4px_3.BackgroundColor3 = Color3.new(1, 1, 1)
  442. TextButton_Roundify_4px_3.BackgroundTransparency = 1
  443. TextButton_Roundify_4px_3.Size = UDim2.new(1, 0, 1, 0)
  444. TextButton_Roundify_4px_3.Image = "rbxassetid://2851929490"
  445. TextButton_Roundify_4px_3.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  446. TextButton_Roundify_4px_3.ScaleType = Enum.ScaleType.Slice
  447. TextButton_Roundify_4px_3.SliceCenter = Rect.new(4, 4, 4, 4)
  448.  
  449. Toggle_2.Name = "Toggle"
  450. Toggle_2.Parent = Button
  451. Toggle_2.BackgroundColor3 = Color3.new(1, 1, 1)
  452. Toggle_2.BackgroundTransparency = 1
  453. Toggle_2.Position = UDim2.new(0, 5, 0, 0)
  454. Toggle_2.Size = UDim2.new(0, 20, 0, 20)
  455. Toggle_2.Image = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=4731371541"
  456.  
  457. Objects_2.Name = "Objects"
  458. Objects_2.Parent = Folder
  459. Objects_2.BackgroundColor3 = Color3.new(1, 1, 1)
  460. Objects_2.BackgroundTransparency = 1
  461. Objects_2.Position = UDim2.new(0, 10, 0, 25)
  462. Objects_2.Size = UDim2.new(1, -10, 1, -25)
  463. Objects_2.Visible = false
  464.  
  465. UIListLayout_5.Parent = Objects_2
  466. UIListLayout_5.SortOrder = Enum.SortOrder.LayoutOrder
  467. UIListLayout_5.Padding = UDim.new(0, 5)
  468.  
  469. HorizontalAlignment.Name = "HorizontalAlignment"
  470. HorizontalAlignment.Parent = Prefabs
  471. HorizontalAlignment.BackgroundColor3 = Color3.new(1, 1, 1)
  472. HorizontalAlignment.BackgroundTransparency = 1
  473. HorizontalAlignment.Size = UDim2.new(1, 0, 0, 20)
  474.  
  475. UIListLayout_6.Parent = HorizontalAlignment
  476. UIListLayout_6.FillDirection = Enum.FillDirection.Horizontal
  477. UIListLayout_6.SortOrder = Enum.SortOrder.LayoutOrder
  478. UIListLayout_6.Padding = UDim.new(0, 5)
  479.  
  480. Console.Name = "Console"
  481. Console.Parent = Prefabs
  482. Console.BackgroundColor3 = Color3.new(1, 1, 1)
  483. Console.BackgroundTransparency = 1
  484. Console.Size = UDim2.new(1, 0, 0, 200)
  485. Console.Image = "rbxassetid://2851928141"
  486. Console.ImageColor3 = Color3.new(0.129412, 0.133333, 0.141176)
  487. Console.ScaleType = Enum.ScaleType.Slice
  488. Console.SliceCenter = Rect.new(8, 8, 8, 8)
  489.  
  490. ScrollingFrame.Parent = Console
  491. ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  492. ScrollingFrame.BackgroundTransparency = 1
  493. ScrollingFrame.BorderSizePixel = 0
  494. ScrollingFrame.Size = UDim2.new(1, 0, 1, 1)
  495. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  496. ScrollingFrame.ScrollBarThickness = 4
  497.  
  498. Source.Name = "Source"
  499. Source.Parent = ScrollingFrame
  500. Source.BackgroundColor3 = Color3.new(1, 1, 1)
  501. Source.BackgroundTransparency = 1
  502. Source.Position = UDim2.new(0, 40, 0, 0)
  503. Source.Size = UDim2.new(1, -40, 0, 10000)
  504. Source.ZIndex = 3
  505. Source.ClearTextOnFocus = false
  506. Source.Font = Enum.Font.Code
  507. Source.MultiLine = true
  508. Source.PlaceholderColor3 = Color3.new(0.8, 0.8, 0.8)
  509. Source.Text = ""
  510. Source.TextColor3 = Color3.new(1, 1, 1)
  511. Source.TextSize = 15
  512. Source.TextStrokeColor3 = Color3.new(1, 1, 1)
  513. Source.TextWrapped = true
  514. Source.TextXAlignment = Enum.TextXAlignment.Left
  515. Source.TextYAlignment = Enum.TextYAlignment.Top
  516.  
  517. Comments.Name = "Comments"
  518. Comments.Parent = Source
  519. Comments.BackgroundColor3 = Color3.new(1, 1, 1)
  520. Comments.BackgroundTransparency = 1
  521. Comments.Size = UDim2.new(1, 0, 1, 0)
  522. Comments.ZIndex = 5
  523. Comments.Font = Enum.Font.Code
  524. Comments.Text = ""
  525. Comments.TextColor3 = Color3.new(0.231373, 0.784314, 0.231373)
  526. Comments.TextSize = 15
  527. Comments.TextXAlignment = Enum.TextXAlignment.Left
  528. Comments.TextYAlignment = Enum.TextYAlignment.Top
  529.  
  530. Globals.Name = "Globals"
  531. Globals.Parent = Source
  532. Globals.BackgroundColor3 = Color3.new(1, 1, 1)
  533. Globals.BackgroundTransparency = 1
  534. Globals.Size = UDim2.new(1, 0, 1, 0)
  535. Globals.ZIndex = 5
  536. Globals.Font = Enum.Font.Code
  537. Globals.Text = ""
  538. Globals.TextColor3 = Color3.new(0.517647, 0.839216, 0.968628)
  539. Globals.TextSize = 15
  540. Globals.TextXAlignment = Enum.TextXAlignment.Left
  541. Globals.TextYAlignment = Enum.TextYAlignment.Top
  542.  
  543. Keywords.Name = "Keywords"
  544. Keywords.Parent = Source
  545. Keywords.BackgroundColor3 = Color3.new(1, 1, 1)
  546. Keywords.BackgroundTransparency = 1
  547. Keywords.Size = UDim2.new(1, 0, 1, 0)
  548. Keywords.ZIndex = 5
  549. Keywords.Font = Enum.Font.Code
  550. Keywords.Text = ""
  551. Keywords.TextColor3 = Color3.new(0.972549, 0.427451, 0.486275)
  552. Keywords.TextSize = 15
  553. Keywords.TextXAlignment = Enum.TextXAlignment.Left
  554. Keywords.TextYAlignment = Enum.TextYAlignment.Top
  555.  
  556. RemoteHighlight.Name = "RemoteHighlight"
  557. RemoteHighlight.Parent = Source
  558. RemoteHighlight.BackgroundColor3 = Color3.new(1, 1, 1)
  559. RemoteHighlight.BackgroundTransparency = 1
  560. RemoteHighlight.Size = UDim2.new(1, 0, 1, 0)
  561. RemoteHighlight.ZIndex = 5
  562. RemoteHighlight.Font = Enum.Font.Code
  563. RemoteHighlight.Text = ""
  564. RemoteHighlight.TextColor3 = Color3.new(0, 0.568627, 1)
  565. RemoteHighlight.TextSize = 15
  566. RemoteHighlight.TextXAlignment = Enum.TextXAlignment.Left
  567. RemoteHighlight.TextYAlignment = Enum.TextYAlignment.Top
  568.  
  569. Strings.Name = "Strings"
  570. Strings.Parent = Source
  571. Strings.BackgroundColor3 = Color3.new(1, 1, 1)
  572. Strings.BackgroundTransparency = 1
  573. Strings.Size = UDim2.new(1, 0, 1, 0)
  574. Strings.ZIndex = 5
  575. Strings.Font = Enum.Font.Code
  576. Strings.Text = ""
  577. Strings.TextColor3 = Color3.new(0.678431, 0.945098, 0.584314)
  578. Strings.TextSize = 15
  579. Strings.TextXAlignment = Enum.TextXAlignment.Left
  580. Strings.TextYAlignment = Enum.TextYAlignment.Top
  581.  
  582. Tokens.Name = "Tokens"
  583. Tokens.Parent = Source
  584. Tokens.BackgroundColor3 = Color3.new(1, 1, 1)
  585. Tokens.BackgroundTransparency = 1
  586. Tokens.Size = UDim2.new(1, 0, 1, 0)
  587. Tokens.ZIndex = 5
  588. Tokens.Font = Enum.Font.Code
  589. Tokens.Text = ""
  590. Tokens.TextColor3 = Color3.new(1, 1, 1)
  591. Tokens.TextSize = 15
  592. Tokens.TextXAlignment = Enum.TextXAlignment.Left
  593. Tokens.TextYAlignment = Enum.TextYAlignment.Top
  594.  
  595. Numbers.Name = "Numbers"
  596. Numbers.Parent = Source
  597. Numbers.BackgroundColor3 = Color3.new(1, 1, 1)
  598. Numbers.BackgroundTransparency = 1
  599. Numbers.Size = UDim2.new(1, 0, 1, 0)
  600. Numbers.ZIndex = 4
  601. Numbers.Font = Enum.Font.Code
  602. Numbers.Text = ""
  603. Numbers.TextColor3 = Color3.new(1, 0.776471, 0)
  604. Numbers.TextSize = 15
  605. Numbers.TextXAlignment = Enum.TextXAlignment.Left
  606. Numbers.TextYAlignment = Enum.TextYAlignment.Top
  607.  
  608. Info.Name = "Info"
  609. Info.Parent = Source
  610. Info.BackgroundColor3 = Color3.new(1, 1, 1)
  611. Info.BackgroundTransparency = 1
  612. Info.Size = UDim2.new(1, 0, 1, 0)
  613. Info.ZIndex = 5
  614. Info.Font = Enum.Font.Code
  615. Info.Text = ""
  616. Info.TextColor3 = Color3.new(0, 0.635294, 1)
  617. Info.TextSize = 15
  618. Info.TextXAlignment = Enum.TextXAlignment.Left
  619. Info.TextYAlignment = Enum.TextYAlignment.Top
  620.  
  621. Lines.Name = "Lines"
  622. Lines.Parent = ScrollingFrame
  623. Lines.BackgroundColor3 = Color3.new(1, 1, 1)
  624. Lines.BackgroundTransparency = 1
  625. Lines.BorderSizePixel = 0
  626. Lines.Size = UDim2.new(0, 40, 0, 10000)
  627. Lines.ZIndex = 4
  628. Lines.Font = Enum.Font.Code
  629. Lines.Text = "1\n"
  630. Lines.TextColor3 = Color3.new(1, 1, 1)
  631. Lines.TextSize = 15
  632. Lines.TextWrapped = true
  633. Lines.TextYAlignment = Enum.TextYAlignment.Top
  634.  
  635. ColorPicker.Name = "ColorPicker"
  636. ColorPicker.Parent = Prefabs
  637. ColorPicker.BackgroundColor3 = Color3.new(1, 1, 1)
  638. ColorPicker.BackgroundTransparency = 1
  639. ColorPicker.Size = UDim2.new(0, 180, 0, 110)
  640. ColorPicker.Image = "rbxassetid://2851929490"
  641. ColorPicker.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  642. ColorPicker.ScaleType = Enum.ScaleType.Slice
  643. ColorPicker.SliceCenter = Rect.new(4, 4, 4, 4)
  644.  
  645. Palette.Name = "Palette"
  646. Palette.Parent = ColorPicker
  647. Palette.BackgroundColor3 = Color3.new(1, 1, 1)
  648. Palette.BackgroundTransparency = 1
  649. Palette.Position = UDim2.new(0.0500000007, 0, 0.0500000007, 0)
  650. Palette.Size = UDim2.new(0, 100, 0, 100)
  651. Palette.Image = "rbxassetid://698052001"
  652. Palette.ScaleType = Enum.ScaleType.Slice
  653. Palette.SliceCenter = Rect.new(4, 4, 4, 4)
  654.  
  655. Indicator_3.Name = "Indicator"
  656. Indicator_3.Parent = Palette
  657. Indicator_3.BackgroundColor3 = Color3.new(1, 1, 1)
  658. Indicator_3.BackgroundTransparency = 1
  659. Indicator_3.Size = UDim2.new(0, 5, 0, 5)
  660. Indicator_3.ZIndex = 2
  661. Indicator_3.Image = "rbxassetid://2851926732"
  662. Indicator_3.ImageColor3 = Color3.new(0, 0, 0)
  663. Indicator_3.ScaleType = Enum.ScaleType.Slice
  664. Indicator_3.SliceCenter = Rect.new(12, 12, 12, 12)
  665.  
  666. Sample.Name = "Sample"
  667. Sample.Parent = ColorPicker
  668. Sample.BackgroundColor3 = Color3.new(1, 1, 1)
  669. Sample.BackgroundTransparency = 1
  670. Sample.Position = UDim2.new(0.800000012, 0, 0.0500000007, 0)
  671. Sample.Size = UDim2.new(0, 25, 0, 25)
  672. Sample.Image = "rbxassetid://2851929490"
  673. Sample.ScaleType = Enum.ScaleType.Slice
  674. Sample.SliceCenter = Rect.new(4, 4, 4, 4)
  675.  
  676. Saturation.Name = "Saturation"
  677. Saturation.Parent = ColorPicker
  678. Saturation.BackgroundColor3 = Color3.new(1, 1, 1)
  679. Saturation.Position = UDim2.new(0.649999976, 0, 0.0500000007, 0)
  680. Saturation.Size = UDim2.new(0, 15, 0, 100)
  681. Saturation.Image = "rbxassetid://3641079629"
  682.  
  683. Indicator_4.Name = "Indicator"
  684. Indicator_4.Parent = Saturation
  685. Indicator_4.BackgroundColor3 = Color3.new(1, 1, 1)
  686. Indicator_4.BorderSizePixel = 0
  687. Indicator_4.Size = UDim2.new(0, 20, 0, 2)
  688. Indicator_4.ZIndex = 2
  689.  
  690. Switch.Name = "Switch"
  691. Switch.Parent = Prefabs
  692. Switch.BackgroundColor3 = Color3.new(1, 1, 1)
  693. Switch.BackgroundTransparency = 1
  694. Switch.BorderSizePixel = 0
  695. Switch.Position = UDim2.new(0.229411766, 0, 0.20714286, 0)
  696. Switch.Size = UDim2.new(0, 20, 0, 20)
  697. Switch.ZIndex = 2
  698. Switch.Font = Enum.Font.SourceSans
  699. Switch.Text = ""
  700. Switch.TextColor3 = Color3.new(1, 1, 1)
  701. Switch.TextSize = 18
  702.  
  703. TextButton_Roundify_4px_4.Name = "TextButton_Roundify_4px"
  704. TextButton_Roundify_4px_4.Parent = Switch
  705. TextButton_Roundify_4px_4.BackgroundColor3 = Color3.new(1, 1, 1)
  706. TextButton_Roundify_4px_4.BackgroundTransparency = 1
  707. TextButton_Roundify_4px_4.Size = UDim2.new(1, 0, 1, 0)
  708. TextButton_Roundify_4px_4.Image = "rbxassetid://2851929490"
  709. TextButton_Roundify_4px_4.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  710. TextButton_Roundify_4px_4.ImageTransparency = 0.5
  711. TextButton_Roundify_4px_4.ScaleType = Enum.ScaleType.Slice
  712. TextButton_Roundify_4px_4.SliceCenter = Rect.new(4, 4, 4, 4)
  713.  
  714. Title_3.Name = "Title"
  715. Title_3.Parent = Switch
  716. Title_3.BackgroundColor3 = Color3.new(1, 1, 1)
  717. Title_3.BackgroundTransparency = 1
  718. Title_3.Position = UDim2.new(1.20000005, 0, 0, 0)
  719. Title_3.Size = UDim2.new(0, 20, 0, 20)
  720. Title_3.Font = Enum.Font.GothamSemibold
  721. Title_3.Text = "Switch"
  722. Title_3.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  723. Title_3.TextSize = 14
  724. Title_3.TextXAlignment = Enum.TextXAlignment.Left
  725.  
  726. Button_2.Name = "Button"
  727. Button_2.Parent = Prefabs
  728. Button_2.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  729. Button_2.BackgroundTransparency = 1
  730. Button_2.BorderSizePixel = 0
  731. Button_2.Size = UDim2.new(0, 91, 0, 20)
  732. Button_2.ZIndex = 2
  733. Button_2.Font = Enum.Font.GothamSemibold
  734. Button_2.TextColor3 = Color3.new(1, 1, 1)
  735. Button_2.TextSize = 14
  736.  
  737. TextButton_Roundify_4px_5.Name = "TextButton_Roundify_4px"
  738. TextButton_Roundify_4px_5.Parent = Button_2
  739. TextButton_Roundify_4px_5.BackgroundColor3 = Color3.new(1, 1, 1)
  740. TextButton_Roundify_4px_5.BackgroundTransparency = 1
  741. TextButton_Roundify_4px_5.Size = UDim2.new(1, 0, 1, 0)
  742. TextButton_Roundify_4px_5.Image = "rbxassetid://2851929490"
  743. TextButton_Roundify_4px_5.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431)
  744. TextButton_Roundify_4px_5.ScaleType = Enum.ScaleType.Slice
  745. TextButton_Roundify_4px_5.SliceCenter = Rect.new(4, 4, 4, 4)
  746.  
  747. DropdownButton.Name = "DropdownButton"
  748. DropdownButton.Parent = Prefabs
  749. DropdownButton.BackgroundColor3 = Color3.new(0.129412, 0.133333, 0.141176)
  750. DropdownButton.BorderSizePixel = 0
  751. DropdownButton.Size = UDim2.new(1, 0, 0, 20)
  752. DropdownButton.ZIndex = 3
  753. DropdownButton.Font = Enum.Font.GothamBold
  754. DropdownButton.Text = " Button"
  755. DropdownButton.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  756. DropdownButton.TextSize = 14
  757. DropdownButton.TextXAlignment = Enum.TextXAlignment.Left
  758.  
  759. Keybind.Name = "Keybind"
  760. Keybind.Parent = Prefabs
  761. Keybind.BackgroundColor3 = Color3.new(1, 1, 1)
  762. Keybind.BackgroundTransparency = 1
  763. Keybind.Size = UDim2.new(0, 200, 0, 20)
  764. Keybind.Image = "rbxassetid://2851929490"
  765. Keybind.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608)
  766. Keybind.ScaleType = Enum.ScaleType.Slice
  767. Keybind.SliceCenter = Rect.new(4, 4, 4, 4)
  768.  
  769. Title_4.Name = "Title"
  770. Title_4.Parent = Keybind
  771. Title_4.BackgroundColor3 = Color3.new(1, 1, 1)
  772. Title_4.BackgroundTransparency = 1
  773. Title_4.Size = UDim2.new(0, 0, 1, 0)
  774. Title_4.Font = Enum.Font.GothamBold
  775. Title_4.Text = "Keybind"
  776. Title_4.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  777. Title_4.TextSize = 14
  778. Title_4.TextXAlignment = Enum.TextXAlignment.Left
  779.  
  780. Input.Name = "Input"
  781. Input.Parent = Keybind
  782. Input.BackgroundColor3 = Color3.new(1, 1, 1)
  783. Input.BackgroundTransparency = 1
  784. Input.BorderSizePixel = 0
  785. Input.Position = UDim2.new(1, -85, 0, 2)
  786. Input.Size = UDim2.new(0, 80, 1, -4)
  787. Input.ZIndex = 2
  788. Input.Font = Enum.Font.GothamSemibold
  789. Input.Text = "RShift"
  790. Input.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  791. Input.TextSize = 12
  792. Input.TextWrapped = true
  793.  
  794. Input_Roundify_4px.Name = "Input_Roundify_4px"
  795. Input_Roundify_4px.Parent = Input
  796. Input_Roundify_4px.BackgroundColor3 = Color3.new(1, 1, 1)
  797. Input_Roundify_4px.BackgroundTransparency = 1
  798. Input_Roundify_4px.Size = UDim2.new(1, 0, 1, 0)
  799. Input_Roundify_4px.Image = "rbxassetid://2851929490"
  800. Input_Roundify_4px.ImageColor3 = Color3.new(0.290196, 0.294118, 0.313726)
  801. Input_Roundify_4px.ScaleType = Enum.ScaleType.Slice
  802. Input_Roundify_4px.SliceCenter = Rect.new(4, 4, 4, 4)
  803.  
  804. Windows.Name = "Windows"
  805. Windows.Parent = imgui
  806. Windows.BackgroundColor3 = Color3.new(1, 1, 1)
  807. Windows.BackgroundTransparency = 1
  808. Windows.Position = UDim2.new(0, 20, 0, 20)
  809. Windows.Size = UDim2.new(1, 20, 1, -20)
  810.  
  811. --[[ Script ]]--
  812. script.Parent = imgui
  813.  
  814. local UIS = game:GetService("UserInputService")
  815. local TweenService = game:GetService("TweenService")
  816. local RS = game:GetService("RunService")
  817. local ps = game:GetService("Players")
  818.  
  819. local p = ps.LocalPlayer
  820. local mouse = p:GetMouse()
  821.  
  822. local Prefabs = script.Parent:WaitForChild("Prefabs")
  823. local Windows = script.Parent:FindFirstChild("Windows")
  824.  
  825. local checks = {
  826. ["binding"] = false,
  827. }
  828.  
  829. UIS.InputBegan:Connect(function(input, gameProcessed)
  830. if input.KeyCode == ((typeof(ui_options.toggle_key) == "EnumItem") and ui_options.toggle_key or Enum.KeyCode.RightShift) then
  831. if script.Parent then
  832. if not checks.binding then
  833. script.Parent.Enabled = not script.Parent.Enabled
  834. end
  835. end
  836. end
  837. end)
  838.  
  839. local function Resize(part, new, _delay)
  840. _delay = _delay or 0.5
  841. local tweenInfo = TweenInfo.new(_delay, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  842. local tween = TweenService:Create(part, tweenInfo, new)
  843. tween:Play()
  844. end
  845.  
  846. local function rgbtohsv(r, g, b) -- idk who made this function, but thanks
  847. r, g, b = r / 255, g / 255, b / 255
  848. local max, min = math.max(r, g, b), math.min(r, g, b)
  849. local h, s, v
  850. v = max
  851.  
  852. local d = max - min
  853. if max == 0 then
  854. s = 0
  855. else
  856. s = d / max
  857. end
  858.  
  859. if max == min then
  860. h = 0
  861. else
  862. if max == r then
  863. h = (g - b) / d
  864. if g < b then
  865. h = h + 6
  866. end
  867. elseif max == g then
  868. h = (b - r) / d + 2
  869. elseif max == b then
  870. h = (r - g) / d + 4
  871. end
  872. h = h / 6
  873. end
  874.  
  875. return h, s, v
  876. end
  877.  
  878. local function hasprop(object, prop)
  879. local a, b = pcall(function()
  880. return object[tostring(prop)]
  881. end)
  882. if a then
  883. return b
  884. end
  885. end
  886.  
  887. local function gNameLen(obj)
  888. return obj.TextBounds.X + 15
  889. end
  890.  
  891. local function gMouse()
  892. return Vector2.new(UIS:GetMouseLocation().X + 1, UIS:GetMouseLocation().Y - 35)
  893. end
  894.  
  895. local function ripple(button, x, y)
  896. spawn(function()
  897. button.ClipsDescendants = true
  898.  
  899. local circle = Prefabs:FindFirstChild("Circle"):Clone()
  900.  
  901. circle.Parent = button
  902. circle.ZIndex = 1000
  903.  
  904. local new_x = x - circle.AbsolutePosition.X
  905. local new_y = y - circle.AbsolutePosition.Y
  906. circle.Position = UDim2.new(0, new_x, 0, new_y)
  907.  
  908. local size = 0
  909. if button.AbsoluteSize.X > button.AbsoluteSize.Y then
  910. size = button.AbsoluteSize.X * 1.5
  911. elseif button.AbsoluteSize.X < button.AbsoluteSize.Y then
  912. size = button.AbsoluteSize.Y * 1.5
  913. elseif button.AbsoluteSize.X == button.AbsoluteSize.Y then
  914. size = button.AbsoluteSize.X * 1.5
  915. end
  916.  
  917. circle:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, -size / 2, 0.5, -size / 2), "Out", "Quad", 0.5, false, nil)
  918. Resize(circle, {ImageTransparency = 1}, 0.5)
  919.  
  920. wait(0.5)
  921. circle:Destroy()
  922. end)
  923. end
  924.  
  925. local windows = 0
  926. local library = {}
  927.  
  928. local function format_windows()
  929. local ull = Prefabs:FindFirstChild("UIListLayout"):Clone()
  930. ull.Parent = Windows
  931. local data = {}
  932.  
  933. for i,v in next, Windows:GetChildren() do
  934. if not (v:IsA("UIListLayout")) then
  935. data[v] = v.AbsolutePosition
  936. end
  937. end
  938.  
  939. ull:Destroy()
  940.  
  941. for i,v in next, data do
  942. i.Position = UDim2.new(0, v.X, 0, v.Y)
  943. end
  944. end
  945.  
  946. function library:FormatWindows()
  947. format_windows()
  948. end
  949.  
  950. function library:AddWindow(title, options)
  951. windows = windows + 1
  952. local dropdown_open = false
  953. title = tostring(title or "New Window")
  954. options = (typeof(options) == "table") and options or ui_options
  955. options.tween_time = 0.1
  956.  
  957. local Window = Prefabs:FindFirstChild("Window"):Clone()
  958. Window.Parent = Windows
  959. Window:FindFirstChild("Title").Text = title
  960. Window.Size = UDim2.new(0, options.min_size.X, 0, options.min_size.Y)
  961. Window.ZIndex = Window.ZIndex + (windows * 10)
  962.  
  963. do -- Altering Window Color
  964. local Title = Window:FindFirstChild("Title")
  965. local Bar = Window:FindFirstChild("Bar")
  966. local Base = Bar:FindFirstChild("Base")
  967. local Top = Bar:FindFirstChild("Top")
  968. local SplitFrame = Window:FindFirstChild("TabSelection"):FindFirstChild("Frame")
  969. local Toggle = Bar:FindFirstChild("Toggle")
  970.  
  971. spawn(function()
  972. while true do
  973. Bar.BackgroundColor3 = options.main_color
  974. Base.BackgroundColor3 = options.main_color
  975. Base.ImageColor3 = options.main_color
  976. Top.ImageColor3 = options.main_color
  977. SplitFrame.BackgroundColor3 = options.main_color
  978.  
  979. RS.Heartbeat:Wait()
  980. end
  981. end)
  982.  
  983. end
  984.  
  985. local Resizer = Window:WaitForChild("Resizer")
  986.  
  987. local window_data = {}
  988. Window.Draggable = true
  989.  
  990. do -- Resize Window
  991. local oldIcon = mouse.Icon
  992. local Entered = false
  993. Resizer.MouseEnter:Connect(function()
  994. Window.Draggable = false
  995. if options.can_resize then
  996. oldIcon = mouse.Icon
  997. -- mouse.Icon = "http://www.roblox.com/asset?id=4745131330"
  998. end
  999. Entered = true
  1000. end)
  1001.  
  1002. Resizer.MouseLeave:Connect(function()
  1003. Entered = false
  1004. if options.can_resize then
  1005. mouse.Icon = oldIcon
  1006. end
  1007. Window.Draggable = true
  1008. end)
  1009.  
  1010. local Held = false
  1011. UIS.InputBegan:Connect(function(inputObject)
  1012. if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1013. Held = true
  1014.  
  1015. spawn(function() -- Loop check
  1016. if Entered and Resizer.Active and options.can_resize then
  1017. while Held and Resizer.Active do
  1018.  
  1019. local mouse_location = gMouse()
  1020. local x = mouse_location.X - Window.AbsolutePosition.X
  1021. local y = mouse_location.Y - Window.AbsolutePosition.Y
  1022.  
  1023. --
  1024. if x >= options.min_size.X and y >= options.min_size.Y then
  1025. Resize(Window, {Size = UDim2.new(0, x, 0, y)}, options.tween_time)
  1026. elseif x >= options.min_size.X then
  1027. Resize(Window, {Size = UDim2.new(0, x, 0, options.min_size.Y)}, options.tween_time)
  1028. elseif y >= options.min_size.Y then
  1029. Resize(Window, {Size = UDim2.new(0, options.min_size.X, 0, y)}, options.tween_time)
  1030. else
  1031. Resize(Window, {Size = UDim2.new(0, options.min_size.X, 0, options.min_size.Y)}, options.tween_time)
  1032. end
  1033.  
  1034. RS.Heartbeat:Wait()
  1035. end
  1036. end
  1037. end)
  1038. end
  1039. end)
  1040. UIS.InputEnded:Connect(function(inputObject)
  1041. if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1042. Held = false
  1043. end
  1044. end)
  1045. end
  1046.  
  1047. do -- [Open / Close] Window
  1048. local open_close = Window:FindFirstChild("Bar"):FindFirstChild("Toggle")
  1049. local open = true
  1050. local canopen = true
  1051.  
  1052. local oldwindowdata = {}
  1053. local oldy = Window.AbsoluteSize.Y
  1054. open_close.MouseButton1Click:Connect(function()
  1055. if canopen then
  1056. canopen = false
  1057.  
  1058. if open then
  1059. -- Close
  1060.  
  1061. oldwindowdata = {}
  1062. for i,v in next, Window:FindFirstChild("Tabs"):GetChildren() do
  1063. oldwindowdata[v] = v.Visible
  1064. v.Visible = false
  1065. end
  1066.  
  1067. Resizer.Active = false
  1068.  
  1069. oldy = Window.AbsoluteSize.Y
  1070. Resize(open_close, {Rotation = 0}, options.tween_time)
  1071. Resize(Window, {Size = UDim2.new(0, Window.AbsoluteSize.X, 0, 26)}, options.tween_time)
  1072. open_close.Parent:FindFirstChild("Base").Transparency = 1
  1073.  
  1074. else
  1075. -- Open
  1076.  
  1077. for i,v in next, oldwindowdata do
  1078. i.Visible = v
  1079. end
  1080.  
  1081. Resizer.Active = true
  1082.  
  1083. Resize(open_close, {Rotation = 90}, options.tween_time)
  1084. Resize(Window, {Size = UDim2.new(0, Window.AbsoluteSize.X, 0, oldy)}, options.tween_time)
  1085. open_close.Parent:FindFirstChild("Base").Transparency = 0
  1086.  
  1087. end
  1088.  
  1089. open = not open
  1090. wait(options.tween_time)
  1091. canopen = true
  1092.  
  1093. end
  1094. end)
  1095. end
  1096.  
  1097. do -- UI Elements
  1098. local tabs = Window:FindFirstChild("Tabs")
  1099. local tab_selection = Window:FindFirstChild("TabSelection")
  1100. local tab_buttons = tab_selection:FindFirstChild("TabButtons")
  1101.  
  1102. do -- Add Tab
  1103. function window_data:AddTab(tab_name)
  1104. local tab_data = {}
  1105. tab_name = tostring(tab_name or "New Tab")
  1106. tab_selection.Visible = true
  1107.  
  1108. local new_button = Prefabs:FindFirstChild("TabButton"):Clone()
  1109. new_button.Parent = tab_buttons
  1110. new_button.Text = tab_name
  1111. new_button.Size = UDim2.new(0, gNameLen(new_button), 0, 20)
  1112. new_button.ZIndex = new_button.ZIndex + (windows * 10)
  1113. new_button:GetChildren()[1].ZIndex = new_button:GetChildren()[1].ZIndex + (windows * 10)
  1114.  
  1115. local new_tab = Prefabs:FindFirstChild("Tab"):Clone()
  1116. new_tab.Parent = tabs
  1117. new_tab.ZIndex = new_tab.ZIndex + (windows * 10)
  1118.  
  1119. local function show()
  1120. if dropdown_open then return end
  1121. for i, v in next, tab_buttons:GetChildren() do
  1122. if not (v:IsA("UIListLayout")) then
  1123. v:GetChildren()[1].ImageColor3 = Color3.fromRGB(52, 53, 56)
  1124. Resize(v, {Size = UDim2.new(0, v.AbsoluteSize.X, 0, 20)}, options.tween_time)
  1125. end
  1126. end
  1127. for i, v in next, tabs:GetChildren() do
  1128. v.Visible = false
  1129. end
  1130.  
  1131. Resize(new_button, {Size = UDim2.new(0, new_button.AbsoluteSize.X, 0, 25)}, options.tween_time)
  1132. new_button:GetChildren()[1].ImageColor3 = Color3.fromRGB(73, 75, 79)
  1133. new_tab.Visible = true
  1134. end
  1135.  
  1136. new_button.MouseButton1Click:Connect(function()
  1137. show()
  1138. end)
  1139.  
  1140. function tab_data:Show()
  1141. show()
  1142. end
  1143.  
  1144. do -- Tab Elements
  1145.  
  1146. function tab_data:AddLabel(label_text) -- [Label]
  1147. label_text = tostring(label_text or "New Label")
  1148.  
  1149. local label = Prefabs:FindFirstChild("Label"):Clone()
  1150.  
  1151. label.Parent = new_tab
  1152. label.Text = label_text
  1153. label.Size = UDim2.new(0, gNameLen(label), 0, 20)
  1154. label.ZIndex = label.ZIndex + (windows * 10)
  1155.  
  1156. return label
  1157. end
  1158.  
  1159. function tab_data:AddButton(button_text, callback) -- [Button]
  1160. button_text = tostring(button_text or "New Button")
  1161. callback = typeof(callback) == "function" and callback or function()end
  1162.  
  1163. local button = Prefabs:FindFirstChild("Button"):Clone()
  1164.  
  1165. button.Parent = new_tab
  1166. button.Text = button_text
  1167. button.Size = UDim2.new(0, gNameLen(button), 0, 20)
  1168. button.ZIndex = button.ZIndex + (windows * 10)
  1169. button:GetChildren()[1].ZIndex = button:GetChildren()[1].ZIndex + (windows * 10)
  1170.  
  1171. spawn(function()
  1172. while true do
  1173. if button and button:GetChildren()[1] then
  1174. button:GetChildren()[1].ImageColor3 = options.main_color
  1175. end
  1176. RS.Heartbeat:Wait()
  1177. end
  1178. end)
  1179.  
  1180. button.MouseButton1Click:Connect(function()
  1181. ripple(button, mouse.X, mouse.Y)
  1182. pcall(callback)
  1183. end)
  1184.  
  1185. return button
  1186. end
  1187.  
  1188. function tab_data:AddSwitch(switch_text, callback) -- [Switch]
  1189. local switch_data = {}
  1190.  
  1191. switch_text = tostring(switch_text or "New Switch")
  1192. callback = typeof(callback) == "function" and callback or function()end
  1193.  
  1194. local switch = Prefabs:FindFirstChild("Switch"):Clone()
  1195.  
  1196. switch.Parent = new_tab
  1197. switch:FindFirstChild("Title").Text = switch_text
  1198.  
  1199. switch:FindFirstChild("Title").ZIndex = switch:FindFirstChild("Title").ZIndex + (windows * 10)
  1200. switch.ZIndex = switch.ZIndex + (windows * 10)
  1201. switch:GetChildren()[1].ZIndex = switch:GetChildren()[1].ZIndex + (windows * 10)
  1202.  
  1203. spawn(function()
  1204. while true do
  1205. if switch and switch:GetChildren()[1] then
  1206. switch:GetChildren()[1].ImageColor3 = options.main_color
  1207. end
  1208. RS.Heartbeat:Wait()
  1209. end
  1210. end)
  1211.  
  1212. local toggled = false
  1213. switch.MouseButton1Click:Connect(function()
  1214. toggled = not toggled
  1215. switch.Text = toggled and utf8.char(10003) or ""
  1216. pcall(callback, toggled)
  1217. end)
  1218.  
  1219. function switch_data:Set(bool)
  1220. toggled = (typeof(bool) == "boolean") and bool or false
  1221. switch.Text = toggled and utf8.char(10003) or ""
  1222. pcall(callback,toggled)
  1223. end
  1224.  
  1225. return switch_data, switch
  1226. end
  1227.  
  1228. function tab_data:AddTextBox(textbox_text, callback, textbox_options)
  1229. textbox_text = tostring(textbox_text or "New TextBox")
  1230. callback = typeof(callback) == "function" and callback or function()end
  1231. textbox_options = typeof(textbox_options) == "table" and textbox_options or {["clear"] = true}
  1232. textbox_options = {
  1233. ["clear"] = ((textbox_options.clear) == true)
  1234. }
  1235.  
  1236. local textbox = Prefabs:FindFirstChild("TextBox"):Clone()
  1237.  
  1238. textbox.Parent = new_tab
  1239. textbox.PlaceholderText = textbox_text
  1240. textbox.ZIndex = textbox.ZIndex + (windows * 10)
  1241. textbox:GetChildren()[1].ZIndex = textbox:GetChildren()[1].ZIndex + (windows * 10)
  1242.  
  1243. textbox.FocusLost:Connect(function(ep)
  1244. if ep then
  1245. if #textbox.Text > 0 then
  1246. pcall(callback, textbox.Text)
  1247. if textbox_options.clear then
  1248. textbox.Text = ""
  1249. end
  1250. end
  1251. end
  1252. end)
  1253.  
  1254. return textbox
  1255. end
  1256.  
  1257. function tab_data:AddSlider(slider_text, callback, slider_options)
  1258. local slider_data = {}
  1259.  
  1260. slider_text = tostring(slider_text or "New Slider")
  1261. callback = typeof(callback) == "function" and callback or function()end
  1262. slider_options = typeof(slider_options) == "table" and slider_options or {}
  1263. slider_options = {
  1264. ["min"] = slider_options.min or 0,
  1265. ["max"] = slider_options.max or 100,
  1266. ["readonly"] = slider_options.readonly or false,
  1267. }
  1268.  
  1269. local slider = Prefabs:FindFirstChild("Slider"):Clone()
  1270.  
  1271. slider.Parent = new_tab
  1272. slider.ZIndex = slider.ZIndex + (windows * 10)
  1273.  
  1274. local title = slider:FindFirstChild("Title")
  1275. local indicator = slider:FindFirstChild("Indicator")
  1276. local value = slider:FindFirstChild("Value")
  1277. title.ZIndex = title.ZIndex + (windows * 10)
  1278. indicator.ZIndex = indicator.ZIndex + (windows * 10)
  1279. value.ZIndex = value.ZIndex + (windows * 10)
  1280.  
  1281. title.Text = slider_text
  1282.  
  1283. do -- Slider Math
  1284. local Entered = false
  1285. slider.MouseEnter:Connect(function()
  1286. Entered = true
  1287. Window.Draggable = false
  1288. end)
  1289. slider.MouseLeave:Connect(function()
  1290. Entered = false
  1291. Window.Draggable = true
  1292. end)
  1293.  
  1294. local Held = false
  1295. UIS.InputBegan:Connect(function(inputObject)
  1296. if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1297. Held = true
  1298.  
  1299. spawn(function() -- Loop check
  1300. if Entered and not slider_options.readonly then
  1301. while Held and (not dropdown_open) do
  1302. local mouse_location = gMouse()
  1303. local x = (slider.AbsoluteSize.X - (slider.AbsoluteSize.X - ((mouse_location.X - slider.AbsolutePosition.X)) + 1)) / slider.AbsoluteSize.X
  1304.  
  1305. local min = 0
  1306. local max = 1
  1307.  
  1308. local size = min
  1309. if x >= min and x <= max then
  1310. size = x
  1311. elseif x < min then
  1312. size = min
  1313. elseif x > max then
  1314. size = max
  1315. end
  1316.  
  1317. Resize(indicator, {Size = UDim2.new(size or min, 0, 0, 20)}, options.tween_time)
  1318. local p = math.floor((size or min) * 100)
  1319.  
  1320. local maxv = slider_options.max
  1321. local minv = slider_options.min
  1322. local diff = maxv - minv
  1323.  
  1324. local sel_value = math.floor(((diff / 100) * p) + minv)
  1325.  
  1326. value.Text = tostring(sel_value)
  1327. pcall(callback, sel_value)
  1328.  
  1329. RS.Heartbeat:Wait()
  1330. end
  1331. end
  1332. end)
  1333. end
  1334. end)
  1335. UIS.InputEnded:Connect(function(inputObject)
  1336. if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1337. Held = false
  1338. end
  1339. end)
  1340.  
  1341. function slider_data:Set(new_value)
  1342. new_value = tonumber(new_value) or 0
  1343. new_value = (((new_value >= 0 and new_value <= 100) and new_value) / 100)
  1344.  
  1345. Resize(indicator, {Size = UDim2.new(new_value or 0, 0, 0, 20)}, options.tween_time)
  1346. local p = math.floor((new_value or 0) * 100)
  1347.  
  1348. local maxv = slider_options.max
  1349. local minv = slider_options.min
  1350. local diff = maxv - minv
  1351.  
  1352. local sel_value = math.floor(((diff / 100) * p) + minv)
  1353.  
  1354. value.Text = tostring(sel_value)
  1355. pcall(callback, sel_value)
  1356. end
  1357.  
  1358. slider_data:Set(slider_options["min"])
  1359. end
  1360.  
  1361. return slider_data, slider
  1362. end
  1363.  
  1364. function tab_data:AddKeybind(keybind_name, callback, keybind_options)
  1365. local keybind_data = {}
  1366.  
  1367. keybind_name = tostring(keybind_name or "New Keybind")
  1368. callback = typeof(callback) == "function" and callback or function()end
  1369. keybind_options = typeof(keybind_options) == "table" and keybind_options or {}
  1370. keybind_options = {
  1371. ["standard"] = keybind_options.standard or Enum.KeyCode.RightShift,
  1372. }
  1373.  
  1374. local keybind = Prefabs:FindFirstChild("Keybind"):Clone()
  1375. local input = keybind:FindFirstChild("Input")
  1376. local title = keybind:FindFirstChild("Title")
  1377. keybind.ZIndex = keybind.ZIndex + (windows * 10)
  1378. input.ZIndex = input.ZIndex + (windows * 10)
  1379. input:GetChildren()[1].ZIndex = input:GetChildren()[1].ZIndex + (windows * 10)
  1380. title.ZIndex = title.ZIndex + (windows * 10)
  1381.  
  1382. keybind.Parent = new_tab
  1383. title.Text = " " .. keybind_name
  1384. keybind.Size = UDim2.new(0, gNameLen(title) + 80, 0, 20)
  1385.  
  1386. local shortkeys = { -- thanks to stroketon for helping me out with this
  1387. RightControl = 'RightCtrl',
  1388. LeftControl = 'LeftCtrl',
  1389. LeftShift = 'LShift',
  1390. RightShift = 'RShift',
  1391. MouseButton1 = "Mouse1",
  1392. MouseButton2 = "Mouse2"
  1393. }
  1394.  
  1395. local keybind = keybind_options.standard
  1396.  
  1397. function keybind_data:SetKeybind(Keybind)
  1398. local key = shortkeys[Keybind.Name] or Keybind.Name
  1399. input.Text = key
  1400. keybind = Keybind
  1401. end
  1402.  
  1403. UIS.InputBegan:Connect(function(a, b)
  1404. if checks.binding then
  1405. spawn(function()
  1406. wait()
  1407. checks.binding = false
  1408. end)
  1409. return
  1410. end
  1411. if a.KeyCode == keybind and not b then
  1412. pcall(callback, keybind)
  1413. end
  1414. end)
  1415.  
  1416. keybind_data:SetKeybind(keybind_options.standard)
  1417.  
  1418. input.MouseButton1Click:Connect(function()
  1419. if checks.binding then return end
  1420. input.Text = "..."
  1421. checks.binding = true
  1422. local a, b = UIS.InputBegan:Wait()
  1423. keybind_data:SetKeybind(a.KeyCode)
  1424. end)
  1425.  
  1426. return keybind_data, keybind
  1427. end
  1428.  
  1429. function tab_data:AddDropdown(dropdown_name, callback)
  1430. local dropdown_data = {}
  1431. dropdown_name = tostring(dropdown_name or "New Dropdown")
  1432. callback = typeof(callback) == "function" and callback or function()end
  1433.  
  1434. local dropdown = Prefabs:FindFirstChild("Dropdown"):Clone()
  1435. local box = dropdown:FindFirstChild("Box")
  1436. local objects = box:FindFirstChild("Objects")
  1437. local indicator = dropdown:FindFirstChild("Indicator")
  1438. dropdown.ZIndex = dropdown.ZIndex + (windows * 10)
  1439. box.ZIndex = box.ZIndex + (windows * 10)
  1440. objects.ZIndex = objects.ZIndex + (windows * 10)
  1441. indicator.ZIndex = indicator.ZIndex + (windows * 10)
  1442. dropdown:GetChildren()[3].ZIndex = dropdown:GetChildren()[3].ZIndex + (windows * 10)
  1443.  
  1444. dropdown.Parent = new_tab
  1445. dropdown.Text = " " .. dropdown_name
  1446. box.Size = UDim2.new(1, 0, 0, 0)
  1447.  
  1448. local open = false
  1449. dropdown.MouseButton1Click:Connect(function()
  1450. open = not open
  1451.  
  1452. local len = (#objects:GetChildren() - 1) * 20
  1453. if #objects:GetChildren() - 1 >= 10 then
  1454. len = 10 * 20
  1455. objects.CanvasSize = UDim2.new(0, 0, (#objects:GetChildren() - 1) * 0.1, 0)
  1456. end
  1457.  
  1458. if open then -- Open
  1459. if dropdown_open then return end
  1460. dropdown_open = true
  1461. Resize(box, {Size = UDim2.new(1, 0, 0, len)}, options.tween_time)
  1462. Resize(indicator, {Rotation = 90}, options.tween_time)
  1463. else -- Close
  1464. dropdown_open = false
  1465. Resize(box, {Size = UDim2.new(1, 0, 0, 0)}, options.tween_time)
  1466. Resize(indicator, {Rotation = -90}, options.tween_time)
  1467. end
  1468.  
  1469. end)
  1470.  
  1471. function dropdown_data:Add(n)
  1472. local object_data = {}
  1473. n = tostring(n or "New Object")
  1474.  
  1475. local object = Prefabs:FindFirstChild("DropdownButton"):Clone()
  1476.  
  1477. object.Parent = objects
  1478. object.Text = n
  1479. object.ZIndex = object.ZIndex + (windows * 10)
  1480.  
  1481. object.MouseEnter:Connect(function()
  1482. object.BackgroundColor3 = options.main_color
  1483. end)
  1484. object.MouseLeave:Connect(function()
  1485. object.BackgroundColor3 = Color3.fromRGB(33, 34, 36)
  1486. end)
  1487.  
  1488. if open then
  1489. local len = (#objects:GetChildren() - 1) * 20
  1490. if #objects:GetChildren() - 1 >= 10 then
  1491. len = 10 * 20
  1492. objects.CanvasSize = UDim2.new(0, 0, (#objects:GetChildren() - 1) * 0.1, 0)
  1493. end
  1494. Resize(box, {Size = UDim2.new(1, 0, 0, len)}, options.tween_time)
  1495. end
  1496.  
  1497. object.MouseButton1Click:Connect(function()
  1498. if dropdown_open then
  1499. dropdown.Text = " [ " .. n .. " ]"
  1500. dropdown_open = false
  1501. open = false
  1502. Resize(box, {Size = UDim2.new(1, 0, 0, 0)}, options.tween_time)
  1503. Resize(indicator, {Rotation = -90}, options.tween_time)
  1504. pcall(callback, n)
  1505. end
  1506. end)
  1507.  
  1508. function object_data:Remove()
  1509. object:Destroy()
  1510. end
  1511.  
  1512. return object, object_data
  1513. end
  1514.  
  1515. return dropdown_data, dropdown
  1516. end
  1517.  
  1518. function tab_data:AddColorPicker(callback)
  1519. local color_picker_data = {}
  1520. callback = typeof(callback) == "function" and callback or function()end
  1521.  
  1522. local color_picker = Prefabs:FindFirstChild("ColorPicker"):Clone()
  1523.  
  1524. color_picker.Parent = new_tab
  1525. color_picker.ZIndex = color_picker.ZIndex + (windows * 10)
  1526.  
  1527. local palette = color_picker:FindFirstChild("Palette")
  1528. local sample = color_picker:FindFirstChild("Sample")
  1529. local saturation = color_picker:FindFirstChild("Saturation")
  1530. palette.ZIndex = palette.ZIndex + (windows * 10)
  1531. sample.ZIndex = sample.ZIndex + (windows * 10)
  1532. saturation.ZIndex = saturation.ZIndex + (windows * 10)
  1533.  
  1534. do -- Color Picker Math
  1535. local h = 0
  1536. local s = 1
  1537. local v = 1
  1538.  
  1539. local function update()
  1540. local color = Color3.fromHSV(h, s, v)
  1541. sample.ImageColor3 = color
  1542. saturation.ImageColor3 = Color3.fromHSV(h, 1, 1)
  1543. pcall(callback, color)
  1544. end
  1545.  
  1546. do
  1547. local color = Color3.fromHSV(h, s, v)
  1548. sample.ImageColor3 = color
  1549. saturation.ImageColor3 = Color3.fromHSV(h, 1, 1)
  1550. end
  1551.  
  1552. local Entered1, Entered2 = false, false
  1553. palette.MouseEnter:Connect(function()
  1554. Window.Draggable = false
  1555. Entered1 = true
  1556. end)
  1557. palette.MouseLeave:Connect(function()
  1558. Window.Draggable = true
  1559. Entered1 = false
  1560. end)
  1561. saturation.MouseEnter:Connect(function()
  1562. Window.Draggable = false
  1563. Entered2 = true
  1564. end)
  1565. saturation.MouseLeave:Connect(function()
  1566. Window.Draggable = true
  1567. Entered2 = false
  1568. end)
  1569.  
  1570. local palette_indicator = palette:FindFirstChild("Indicator")
  1571. local saturation_indicator = saturation:FindFirstChild("Indicator")
  1572. palette_indicator.ZIndex = palette_indicator.ZIndex + (windows * 10)
  1573. saturation_indicator.ZIndex = saturation_indicator.ZIndex + (windows * 10)
  1574.  
  1575. local Held = false
  1576. UIS.InputBegan:Connect(function(inputObject)
  1577. if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1578. Held = true
  1579.  
  1580. spawn(function() -- Loop check
  1581. while Held and Entered1 and (not dropdown_open) do -- Palette
  1582. local mouse_location = gMouse()
  1583.  
  1584. local x = ((palette.AbsoluteSize.X - (mouse_location.X - palette.AbsolutePosition.X)) + 1)
  1585. local y = ((palette.AbsoluteSize.Y - (mouse_location.Y - palette.AbsolutePosition.Y)) + 1.5)
  1586.  
  1587. local color = Color3.fromHSV(x / 100, y / 100, 0)
  1588. h = x / 100
  1589. s = y / 100
  1590.  
  1591. Resize(palette_indicator, {Position = UDim2.new(0, math.abs(x - 100) - (palette_indicator.AbsoluteSize.X / 2), 0, math.abs(y - 100) - (palette_indicator.AbsoluteSize.Y / 2))}, options.tween_time)
  1592.  
  1593. update()
  1594. RS.Heartbeat:Wait()
  1595. end
  1596.  
  1597. while Held and Entered2 and (not dropdown_open) do -- Saturation
  1598. local mouse_location = gMouse()
  1599. local y = ((palette.AbsoluteSize.Y - (mouse_location.Y - palette.AbsolutePosition.Y)) + 1.5)
  1600. v = y / 100
  1601.  
  1602. Resize(saturation_indicator, {Position = UDim2.new(0, 0, 0, math.abs(y - 100))}, options.tween_time)
  1603.  
  1604. update()
  1605. RS.Heartbeat:Wait()
  1606. end
  1607. end)
  1608. end
  1609. end)
  1610. UIS.InputEnded:Connect(function(inputObject)
  1611. if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
  1612. Held = false
  1613. end
  1614. end)
  1615.  
  1616. function color_picker_data:Set(color)
  1617. color = typeof(color) == "Color3" and color or Color3.new(1, 1, 1)
  1618. local h2, s2, v2 = rgbtohsv(color.r * 255, color.g * 255, color.b * 255)
  1619. sample.ImageColor3 = color
  1620. saturation.ImageColor3 = Color3.fromHSV(h2, 1, 1)
  1621. pcall(callback, color)
  1622. end
  1623. end
  1624.  
  1625. return color_picker_data, color_picker
  1626. end
  1627.  
  1628. function tab_data:AddConsole(console_options)
  1629. local console_data = {}
  1630.  
  1631. console_options = typeof(console_options) == "table" and console_options or {["readonly"] = true,["full"] = false,}
  1632. console_options = {
  1633. ["y"] = tonumber(console_options.y) or 200,
  1634. ["source"] = console_options.source or "Logs",
  1635. ["readonly"] = ((console_options.readonly) == true),
  1636. ["full"] = ((console_options.full) == true),
  1637. }
  1638.  
  1639. local console = Prefabs:FindFirstChild("Console"):Clone()
  1640.  
  1641. console.Parent = new_tab
  1642. console.ZIndex = console.ZIndex + (windows * 10)
  1643. console.Size = UDim2.new(1, 0, console_options.full and 1 or 0, console_options.y)
  1644.  
  1645. local sf = console:GetChildren()[1]
  1646. local Source = sf:FindFirstChild("Source")
  1647. local Lines = sf:FindFirstChild("Lines")
  1648. Source.ZIndex = Source.ZIndex + (windows * 10)
  1649. Lines.ZIndex = Lines.ZIndex + (windows * 10)
  1650.  
  1651. Source.TextEditable = not console_options.readonly
  1652.  
  1653. do -- Syntax Zindex
  1654. for i,v in next, Source:GetChildren() do
  1655. v.ZIndex = v.ZIndex + (windows * 10) + 1
  1656. end
  1657. end
  1658. Source.Comments.ZIndex = Source.Comments.ZIndex + 1
  1659.  
  1660. do -- Highlighting (thanks to whoever made this)
  1661. local lua_keywords = {"and", "break", "do", "else", "elseif", "end", "false", "for", "function", "goto", "if", "in", "local", "nil", "not", "or", "repeat", "return", "then", "true", "until", "while"}
  1662. local global_env = {"getrawmetatable", "newcclosure", "islclosure", "setclipboard", "game", "workspace", "script", "math", "string", "table", "print", "wait", "BrickColor", "Color3", "next", "pairs", "ipairs", "select", "unpack", "Instance", "Vector2", "Vector3", "CFrame", "Ray", "UDim2", "Enum", "assert", "error", "warn", "tick", "loadstring", "_G", "shared", "getfenv", "setfenv", "newproxy", "setmetatable", "getmetatable", "os", "debug", "pcall", "ypcall", "xpcall", "rawequal", "rawset", "rawget", "tonumber", "tostring", "type", "typeof", "_VERSION", "coroutine", "delay", "require", "spawn", "LoadLibrary", "settings", "stats", "time", "UserSettings", "version", "Axes", "ColorSequence", "Faces", "ColorSequenceKeypoint", "NumberRange", "NumberSequence", "NumberSequenceKeypoint", "gcinfo", "elapsedTime", "collectgarbage", "PhysicalProperties", "Rect", "Region3", "Region3int16", "UDim", "Vector2int16", "Vector3int16", "load", "fire", "Fire"}
  1663.  
  1664. local Highlight = function(string, keywords)
  1665. local K = {}
  1666. local S = string
  1667. local Token =
  1668. {
  1669. ["="] = true,
  1670. ["."] = true,
  1671. [","] = true,
  1672. ["("] = true,
  1673. [")"] = true,
  1674. ["["] = true,
  1675. ["]"] = true,
  1676. ["{"] = true,
  1677. ["}"] = true,
  1678. [":"] = true,
  1679. ["*"] = true,
  1680. ["/"] = true,
  1681. ["+"] = true,
  1682. ["-"] = true,
  1683. ["%"] = true,
  1684. [";"] = true,
  1685. ["~"] = true
  1686. }
  1687. for i, v in pairs(keywords) do
  1688. K[v] = true
  1689. end
  1690. S = S:gsub(".", function(c)
  1691. if Token[c] ~= nil then
  1692. return "\32"
  1693. else
  1694. return c
  1695. end
  1696. end)
  1697. S = S:gsub("%S+", function(c)
  1698. if K[c] ~= nil then
  1699. return c
  1700. else
  1701. return (" "):rep(#c)
  1702. end
  1703. end)
  1704.  
  1705. return S
  1706. end
  1707.  
  1708. local hTokens = function(string)
  1709. local Token =
  1710. {
  1711. ["="] = true,
  1712. ["."] = true,
  1713. [","] = true,
  1714. ["("] = true,
  1715. [")"] = true,
  1716. ["["] = true,
  1717. ["]"] = true,
  1718. ["{"] = true,
  1719. ["}"] = true,
  1720. [":"] = true,
  1721. ["*"] = true,
  1722. ["/"] = true,
  1723. ["+"] = true,
  1724. ["-"] = true,
  1725. ["%"] = true,
  1726. [";"] = true,
  1727. ["~"] = true
  1728. }
  1729. local A = ""
  1730. string:gsub(".", function(c)
  1731. if Token[c] ~= nil then
  1732. A = A .. c
  1733. elseif c == "\n" then
  1734. A = A .. "\n"
  1735. elseif c == "\t" then
  1736. A = A .. "\t"
  1737. else
  1738. A = A .. "\32"
  1739. end
  1740. end)
  1741.  
  1742. return A
  1743. end
  1744.  
  1745. local strings = function(string)
  1746. local highlight = ""
  1747. local quote = false
  1748. string:gsub(".", function(c)
  1749. if quote == false and c == "\34" then
  1750. quote = true
  1751. elseif quote == true and c == "\34" then
  1752. quote = false
  1753. end
  1754. if quote == false and c == "\34" then
  1755. highlight = highlight .. "\34"
  1756. elseif c == "\n" then
  1757. highlight = highlight .. "\n"
  1758. elseif c == "\t" then
  1759. highlight = highlight .. "\t"
  1760. elseif quote == true then
  1761. highlight = highlight .. c
  1762. elseif quote == false then
  1763. highlight = highlight .. "\32"
  1764. end
  1765. end)
  1766.  
  1767. return highlight
  1768. end
  1769.  
  1770. local info = function(string)
  1771. local highlight = ""
  1772. local quote = false
  1773. string:gsub(".", function(c)
  1774. if quote == false and c == "[" then
  1775. quote = true
  1776. elseif quote == true and c == "]" then
  1777. quote = false
  1778. end
  1779. if quote == false and c == "\]" then
  1780. highlight = highlight .. "\]"
  1781. elseif c == "\n" then
  1782. highlight = highlight .. "\n"
  1783. elseif c == "\t" then
  1784. highlight = highlight .. "\t"
  1785. elseif quote == true then
  1786. highlight = highlight .. c
  1787. elseif quote == false then
  1788. highlight = highlight .. "\32"
  1789. end
  1790. end)
  1791.  
  1792. return highlight
  1793. end
  1794.  
  1795. local comments = function(string)
  1796. local ret = ""
  1797. string:gsub("[^\r\n]+", function(c)
  1798. local comm = false
  1799. local i = 0
  1800. c:gsub(".", function(n)
  1801. i = i + 1
  1802. if c:sub(i, i + 1) == "--" then
  1803. comm = true
  1804. end
  1805. if comm == true then
  1806. ret = ret .. n
  1807. else
  1808. ret = ret .. "\32"
  1809. end
  1810. end)
  1811. ret = ret
  1812. end)
  1813.  
  1814. return ret
  1815. end
  1816.  
  1817. local numbers = function(string)
  1818. local A = ""
  1819. string:gsub(".", function(c)
  1820. if tonumber(c) ~= nil then
  1821. A = A .. c
  1822. elseif c == "\n" then
  1823. A = A .. "\n"
  1824. elseif c == "\t" then
  1825. A = A .. "\t"
  1826. else
  1827. A = A .. "\32"
  1828. end
  1829. end)
  1830.  
  1831. return A
  1832. end
  1833.  
  1834. local highlight_lua = function(type)
  1835. if type == "Text" then
  1836. Source.Text = Source.Text:gsub("\13", "")
  1837. Source.Text = Source.Text:gsub("\t", " ")
  1838. local s = Source.Text
  1839.  
  1840. Source.Keywords.Text = Highlight(s, lua_keywords)
  1841. Source.Globals.Text = Highlight(s, global_env)
  1842. Source.RemoteHighlight.Text = Highlight(s, {"FireServer", "fireServer", "InvokeServer", "invokeServer"})
  1843. Source.Tokens.Text = hTokens(s)
  1844. Source.Numbers.Text = numbers(s)
  1845. Source.Strings.Text = strings(s)
  1846. Source.Comments.Text = comments(s)
  1847.  
  1848. local lin = 1
  1849. s:gsub("\n", function()
  1850. lin = lin + 1
  1851. end)
  1852.  
  1853. Lines.Text = ""
  1854. for i = 1, lin do
  1855. Lines.Text = Lines.Text .. i .. "\n"
  1856. end
  1857.  
  1858. sf.CanvasSize = UDim2.new(0, 0, lin * 0.153846154, 0)
  1859. end
  1860.  
  1861. local highlight_logs = function(type)
  1862. end
  1863. if type == "Text" then
  1864. Source.Text = Source.Text:gsub("\13", "")
  1865. Source.Text = Source.Text:gsub("\t", " ")
  1866. local s = Source.Text
  1867.  
  1868. Source.Info.Text = info(s)
  1869.  
  1870. local lin = 1
  1871. s:gsub("\n", function()
  1872. lin = lin + 1
  1873. end)
  1874.  
  1875. sf.CanvasSize = UDim2.new(0, 0, lin * 0.153846154, 0)
  1876. end
  1877. end
  1878.  
  1879. if console_options.source == "Lua" then
  1880. highlight_lua("Text")
  1881. Source.Changed:Connect(highlight_lua)
  1882. elseif console_options.source == "Logs" then
  1883. Lines.Visible = false
  1884.  
  1885. highlight_logs("Text")
  1886. Source.Changed:Connect(highlight_logs)
  1887. end
  1888.  
  1889. function console_data:Set(code)
  1890. Source.Text = tostring(code)
  1891. end
  1892.  
  1893. function console_data:Get()
  1894. return Source.Text
  1895. end
  1896.  
  1897. function console_data:Log(msg)
  1898. Source.Text = Source.Text .. "[*] " .. tostring(msg) .. "\n"
  1899. end
  1900.  
  1901. end
  1902.  
  1903. return console_data, console
  1904. end
  1905.  
  1906. function tab_data:AddHorizontalAlignment()
  1907. local ha_data = {}
  1908.  
  1909. local ha = Prefabs:FindFirstChild("HorizontalAlignment"):Clone()
  1910. ha.Parent = new_tab
  1911.  
  1912. function ha_data:AddButton(...)
  1913. local data, object
  1914. local ret = {tab_data:AddButton(...)}
  1915. if typeof(ret[1]) == "table" then
  1916. data = ret[1]
  1917. object = ret[2]
  1918. object.Parent = ha
  1919. return data, object
  1920. else
  1921. object = ret[1]
  1922. object.Parent = ha
  1923. return object
  1924. end
  1925. end
  1926.  
  1927. return ha_data, ha
  1928. end
  1929.  
  1930. function tab_data:AddFolder(folder_name) -- [Folder]
  1931. local folder_data = {}
  1932.  
  1933. folder_name = tostring(folder_name or "New Folder")
  1934.  
  1935. local folder = Prefabs:FindFirstChild("Folder"):Clone()
  1936. local button = folder:FindFirstChild("Button")
  1937. local objects = folder:FindFirstChild("Objects")
  1938. local toggle = button:FindFirstChild("Toggle")
  1939. folder.ZIndex = folder.ZIndex + (windows * 10)
  1940. button.ZIndex = button.ZIndex + (windows * 10)
  1941. objects.ZIndex = objects.ZIndex + (windows * 10)
  1942. toggle.ZIndex = toggle.ZIndex + (windows * 10)
  1943. button:GetChildren()[1].ZIndex = button:GetChildren()[1].ZIndex + (windows * 10)
  1944.  
  1945. folder.Parent = new_tab
  1946. button.Text = " " .. folder_name
  1947.  
  1948. spawn(function()
  1949. while true do
  1950. if button and button:GetChildren()[1] then
  1951. button:GetChildren()[1].ImageColor3 = options.main_color
  1952. end
  1953. RS.Heartbeat:Wait()
  1954. end
  1955. end)
  1956.  
  1957. local function gFolderLen()
  1958. local n = 25
  1959. for i,v in next, objects:GetChildren() do
  1960. if not (v:IsA("UIListLayout")) then
  1961. n = n + v.AbsoluteSize.Y + 5
  1962. end
  1963. end
  1964. return n
  1965. end
  1966.  
  1967. local open = false
  1968. button.MouseButton1Click:Connect(function()
  1969. if open then -- Close
  1970. Resize(toggle, {Rotation = 0}, options.tween_time)
  1971. objects.Visible = false
  1972. else -- Open
  1973. Resize(toggle, {Rotation = 90}, options.tween_time)
  1974. objects.Visible = true
  1975. end
  1976.  
  1977. open = not open
  1978. end)
  1979.  
  1980. spawn(function()
  1981. while true do
  1982. Resize(folder, {Size = UDim2.new(1, 0, 0, (open and gFolderLen() or 20))}, options.tween_time)
  1983. wait()
  1984. end
  1985. end)
  1986.  
  1987. for i,v in next, tab_data do
  1988. folder_data[i] = function(...)
  1989. local data, object
  1990. local ret = {v(...)}
  1991. if typeof(ret[1]) == "table" then
  1992. data = ret[1]
  1993. object = ret[2]
  1994. object.Parent = objects
  1995. return data, object
  1996. else
  1997. object = ret[1]
  1998. object.Parent = objects
  1999. return object
  2000. end
  2001. end
  2002. end
  2003.  
  2004. return folder_data, folder
  2005. end
  2006.  
  2007. end
  2008.  
  2009. return tab_data, new_tab
  2010. end
  2011. end
  2012. end
  2013.  
  2014. do
  2015. for i, v in next, Window:GetDescendants() do
  2016. if hasprop(v, "ZIndex") then
  2017. v.ZIndex = v.ZIndex + (windows * 10)
  2018. end
  2019. end
  2020. end
  2021.  
  2022. return window_data, Window
  2023. end
  2024.  
  2025. local window = library:AddWindow("Blox Fruits", {
  2026. main_color = Color3.fromRGB(math.random(0, 200), math.random(0, 200), math.random(0, 200)),
  2027. min_size = Vector2.new(500, 945),
  2028. can_resize = true,
  2029. })
  2030.  
  2031. local LocalPlayer = game:GetService'Players'.LocalPlayer
  2032. local HTTP = game:GetService("HttpService")
  2033. local TPService = game:GetService("TeleportService")
  2034. local placeId = game.PlaceId
  2035. local jobId = game.JobId
  2036. local dfesp = true
  2037. local chestesp = true
  2038. local gamename
  2039. local desiredquest
  2040. local oldworld
  2041. local newworld
  2042. local toolname
  2043. local userInput = game:service('UserInputService')
  2044. local Mouse = game:GetService("Players").LocalPlayer:GetMouse()
  2045. local Misc = window:AddTab("Misc")
  2046. local teleportwindow = window:AddTab("Teleports")
  2047. local NPCteleportwindow = window:AddTab("NPC Teleports")
  2048. local Autofarm = window:AddTab("Autofarm")
  2049. local ESPmenu = window:AddTab("ESP")
  2050. local AutoStat = window:AddTab("Auto Stat")
  2051. _G.nododgecool = false
  2052. _G.farm = true
  2053. _G.automelee = false
  2054. _G.autodefense = false
  2055. _G.autosword = false
  2056. _G.autogun = false
  2057. _G.autodf = false
  2058. _G.noclip = false
  2059. _G.dfespactive = false
  2060. _G.chestespactive = false
  2061. _G.flowerespactive = false
  2062.  
  2063. function teleport(pos)
  2064. LocalPlayer.Character.HumanoidRootPart.CFrame = (pos)
  2065. end
  2066.  
  2067. function fullbright()
  2068. game:GetService("RunService").Stepped:connect(function()
  2069. game:GetService("Lighting").FogEnd = 1000000
  2070. game:GetService("Lighting").Brightness = 1
  2071. game:GetService("Lighting").ClockTime = 12
  2072. end)
  2073. end
  2074.  
  2075. function noclip()
  2076. LocalPlayer.Character.Humanoid:ChangeState(11)
  2077. end
  2078. function NoDodgeCool()
  2079. if _G.nododgecool then
  2080. for i,v in next, getgc() do
  2081. if game.Players.LocalPlayer.Character.Dodge then
  2082. if typeof(v) == "function" and getfenv(v).script == game.Players.LocalPlayer.Character.Dodge then
  2083. for i2,v2 in next, getupvalues(v) do
  2084. if tostring(v2) == "0.4" then
  2085. repeat wait()
  2086. setupvalue(v,i2,0)
  2087. until not _G.nododgecool
  2088. end
  2089. end
  2090. end
  2091. end
  2092. end
  2093. end
  2094. end
  2095.  
  2096. function WTS(part)
  2097. local screen = workspace.CurrentCamera:WorldToViewportPoint(part.Position)
  2098. return Vector2.new(screen.x, screen.y)
  2099. end
  2100.  
  2101. local chests = {}
  2102. local espchests = {}
  2103. local df = {}
  2104. local espdf = {}
  2105. local flowers = {}
  2106. local espflowers = {}
  2107.  
  2108. function ESP()
  2109.  
  2110. for i,x in pairs(chests) do
  2111. if #espchests < 1 then
  2112. table.insert(espchests, Drawing.new("Text"))
  2113. end
  2114. espchests[i].Text = chests[i].Name
  2115. espchests[i].Color = Color3.fromRGB(255, 127, 80)
  2116. espchests[i].Position = WTS(chests[i])
  2117. espchests[i].Size = 20.0
  2118. espchests[i].Outline = true
  2119. espchests[i].Center = true
  2120. espchests[i].Visible = _G.chestespactive
  2121. end
  2122.  
  2123.  
  2124. for i,x in pairs(df) do
  2125. if #espdf < 1 then
  2126. table.insert(espdf, Drawing.new("Text"))
  2127. end
  2128. espdf[i].Text = df[i].Name
  2129. espdf[i].Color = Color3.fromRGB(255, 127, 80)
  2130. espdf[i].Position = WTS(df[i])
  2131. espdf[i].Size = 20.0
  2132. espdf[i].Outline = true
  2133. espdf[i].Center = true
  2134. espdf[i].Visible = _G.dfespactive
  2135. end
  2136.  
  2137. if newworld then
  2138.  
  2139. for i,x in pairs(flowers) do
  2140. if #espflowers < 1 then
  2141. table.insert(espflowers, Drawing.new("Text"))
  2142. end
  2143. espflowers[i].Text = flowers[i].Name
  2144. espflowers[i].Color = Color3.fromRGB(255, 127, 80)
  2145. espflowers[i].Position = WTS(flowers[i])
  2146. espflowers[i].Size = 20.0
  2147. espflowers[i].Outline = true
  2148. espflowers[i].Center = true
  2149. espflowers[i].Visible = _G.flowerespactive
  2150. end
  2151.  
  2152. end
  2153. end
  2154.  
  2155. function initESP()
  2156. for i,x in pairs(workspace:GetChildren()) do
  2157. if x.Name:match("Chest") then
  2158. table.insert(chests, x)
  2159. end
  2160. if x.Name == "Fruit" then
  2161. table.insert(df, x)
  2162. end
  2163. if x.Name:match("Flower") then
  2164. table.insert(flowers, x)
  2165. end
  2166. end
  2167. end
  2168.  
  2169. initESP();
  2170.  
  2171. function updateEsp()
  2172. workspace.ChildAdded:connect(function(child)
  2173. if child.Name:match("Chest") then
  2174. table.insert(chests, child)
  2175. elseif child.Name == "Fruit" then
  2176. table.insert(df, child)
  2177. end
  2178. if newworld then
  2179. if child.Name:match("Flower") then
  2180. table.insert(flowers, child)
  2181. end
  2182. end
  2183. end)
  2184. end
  2185.  
  2186. updateEsp();
  2187.  
  2188. function dfnotify()
  2189. for _,v in pairs (workspace:GetChildren()) do
  2190. if v.Name:match('Fruit') and not v:IsA('Folder') and (v:IsA("Model") or v:IsA("Part")) then
  2191. local sound = Instance.new("Sound")
  2192. sound.SoundId = "rbxassetid://170765130"
  2193. sound.Parent = game.Lighting
  2194. sound.Volume = 9000
  2195. sound:Play()
  2196. game:GetService("StarterGui"):SetCore("SendNotification", {
  2197. Title = "Fruit Spawned";
  2198. Text = "Fruit Located \n Name : "..v.Name;
  2199. Duration = 2e9;
  2200. Button1 = "Dismiss"
  2201. })
  2202. end
  2203. end
  2204. workspace.ChildAdded:connect(function(x)
  2205. if x.Name:match("Fruit") and x:FindFirstChild('Fruit') then
  2206. local sound = Instance.new("Sound")
  2207. sound.SoundId = "rbxassetid://170765130"
  2208. sound.Parent = game.Lighting
  2209. sound.Volume = 9000
  2210. sound:Play()
  2211. game:GetService("StarterGui"):SetCore("SendNotification", {
  2212. Title = "Fruit Spawned";
  2213. Text = "Fruit Located \n Name : "..v.Name;
  2214. Duration = 2e9;
  2215. Button1 = "Dismiss"
  2216. })
  2217. end
  2218. end)
  2219. end
  2220.  
  2221. dfnotify();
  2222.  
  2223. --infinitestam
  2224. local originalstam = LocalPlayer.Character.Energy.Value
  2225. function infinitestam()
  2226. LocalPlayer.Character.Energy.Changed:connect(function()
  2227. LocalPlayer.Character.Energy.Value = originalstam
  2228. end)
  2229. end
  2230. infinitestam()
  2231.  
  2232. LocalPlayer.CharacterAdded:connect(function()
  2233. wait(0.3)
  2234. originalstam = LocalPlayer.Character.Energy.Value
  2235. infinitestam()
  2236. end)
  2237. --infinitestam end
  2238.  
  2239. function click()
  2240. game:GetService'VirtualUser':CaptureController()
  2241. game:GetService'VirtualUser':Button1Down(Vector2.new(1280, 672))
  2242. end
  2243. function autofarm(tool, enemy, exclusion, quest, number)
  2244. game:GetService("ReplicatedStorage").Remotes["CommF_"]:InvokeServer("AbandonQuest");
  2245. while _G.farm == true do
  2246. if _G.farm == false then
  2247. break
  2248. end
  2249. if LocalPlayer.Character:FindFirstChild('HumanoidRootPart') and LocalPlayer:FindFirstChild('Data') then
  2250. repeat wait() until (workspace.Enemies:GetChildren()) ~= nil
  2251. print(tool)
  2252. if LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  2253. game:GetService("ReplicatedStorage").Remotes["CommF_"]:InvokeServer("StartQuest", quest, tonumber(number));
  2254. end
  2255. for _,X in pairs (workspace.Enemies:GetChildren()) do
  2256. if X.Name:match(enemy) then
  2257. for i,v in pairs(workspace.Enemies:GetDescendants()) do
  2258. if v.Name == "HumanoidRootPart" then
  2259. v.Size = Vector3.new(50,2,50)
  2260. v.Transparency = 1
  2261. v.CanCollide = false
  2262. end
  2263. end
  2264. repeat
  2265. wait()
  2266. noclip()
  2267. if LocalPlayer.Backpack:FindFirstChild(tool) and LocalPlayer.Character:FindFirstChild(tool) == nil or LocalPlayer.Backpack:FindFirstChild(tool) and not LocalPlayer.Character:FindFirstChild(tool).ClassName ~= "Model" then
  2268. LocalPlayer.Backpack[tool].Parent = LocalPlayer.Character
  2269. end
  2270. if LocalPlayer.PlayerGui.Main.Quest.Visible == false then
  2271. game:GetService("ReplicatedStorage").Remotes["CommF_"]:InvokeServer("StartQuest", quest, tonumber(number));
  2272. end
  2273. click()
  2274. noclip()
  2275. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = X.UpperTorso.CFrame + Vector3.new(0, 10, 0) - X.UpperTorso.CFrame.lookVector * 5
  2276. until X.Humanoid.Health == 0 or _G.farm == false
  2277. end
  2278. end
  2279. end
  2280. end
  2281. end
  2282. --[[
  2283. elseif X.Name:match(enemy) then
  2284. for i,v in pairs(workspace.Enemies:GetDescendants()) do
  2285. if v.Name == "HumanoidRootPart" then
  2286. v.Size = Vector3.new(50,2,50)
  2287. v.Transparency = 1
  2288. v.CanCollide = false
  2289. end
  2290. end
  2291. repeat
  2292. wait()
  2293. if LocalPlayer.Backpack:FindFirstChild(tool) and LocalPlayer.Character:FindFirstChild(tool) == nil or LocalPlayer.Backpack:FindFirstChild(tool) and not LocalPlayer.Character:FindFirstChild(tool).ClassName ~= "Model" then
  2294. wait()
  2295. LocalPlayer.Backpack[tool].Parent = LocalPlayer.Character
  2296. end
  2297. click()
  2298. LocalPlayer.Character.Humanoid:ChangeState(11)
  2299. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = X.UpperTorso.CFrame + Vector3.new(0, 1, 0) - X.UpperTorso.CFrame.lookVector * 5
  2300. until X.Humanoid.Health == 0 or _G.farm == false
  2301. end--]]
  2302.  
  2303. do
  2304.  
  2305. if placeId == 4442272183 then
  2306. gamename = "/Blox-Fruits-Second-Sea"
  2307. newworld = true
  2308. elseif placeId == 2753915549 then
  2309. gamename = "/UPDATE-10-Blox-Fruits"
  2310. oldworld = true
  2311. end
  2312.  
  2313. --Anti Afk
  2314. game:GetService'Players'.LocalPlayer.Idled:Connect(function()
  2315. game:GetService'VirtualUser':CaptureController()
  2316. game:GetService'VirtualUser':ClickButton2(Vector2.new())
  2317. end)
  2318.  
  2319. function tpnewserver()
  2320. local Serverlist = game:GetService("HttpService"):JSONDecode(game:HttpGet("https://www.roblox.com/games/getgameinstancesjson?placeId=".. placeId.. "&startindex=" .. math.random(150,200)))
  2321. print(Serverlist)
  2322. local server = Serverlist.Collection[math.random(1,#Serverlist.Collection)]
  2323. game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, server.Guid)
  2324. end
  2325.  
  2326.  
  2327.  
  2328. local tools = {}
  2329. for _, X in next, LocalPlayer.Backpack:GetChildren() do
  2330. if X.ClassName == "Tool" then
  2331. table.insert(tools, X.Name)
  2332. end
  2333. end
  2334. print(unpack(tools))
  2335. --Grab the player's icon
  2336. local icon = game:GetService("Players"):GetUserThumbnailAsync(LocalPlayer.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size180x180)
  2337.  
  2338. Misc:AddLabel("Press RightControl to toggle the GUI")
  2339.  
  2340. Misc:AddSwitch("No Dodge Cooldown", function(bool)
  2341. _G.nododgecool = bool
  2342. NoDodgeCool()
  2343. end)
  2344.  
  2345. Misc:AddButton("Fullbright", function()
  2346. fullbright()
  2347. end)
  2348.  
  2349. Misc:AddButton("Become Square", function()
  2350. local Character = LocalPlayer.Character
  2351. for _,X in pairs (Character:GetChildren()) do
  2352. if X:IsA("MeshPart") and (X.Name ~= "UpperTorso" and X.Name ~= "LowerTorso") then
  2353. X:Destroy()
  2354. end
  2355.  
  2356. if X:IsA("Accessory") then
  2357. X:Destroy()
  2358. end
  2359.  
  2360. if X:IsA("Part") and X.Name == "Left Leg" or X.Name == "Right Leg" or X.Name == "Left Arm" or X.Name == "Right Arm" then
  2361. X:Destroy()
  2362. end
  2363.  
  2364. if X:IsA("Humanoid") then
  2365. X.HipHeight = 0.001
  2366. end
  2367.  
  2368. if X.Name == "Head" and X:FindFirstChildOfClass("SpecialMesh") then
  2369. X.Mesh:Destroy()
  2370. end
  2371. end
  2372. end)
  2373.  
  2374. Misc:AddSwitch("Noclip", function(bool)
  2375. _G.noclip = bool
  2376. end)
  2377.  
  2378. Misc:AddButton("Respawn", function()
  2379. local Character = LocalPlayer.Character
  2380. Character.HumanoidRootPart:Destroy()
  2381. end)
  2382.  
  2383. Misc:AddButton("Join New Server", function()
  2384. tpnewserver()
  2385. game:GetService("TeleportService").TeleportInitFailed:Connect(function(plr, reason)
  2386. delay(1, function()
  2387. tpnewserver()
  2388. end)
  2389. end)
  2390. end)
  2391. if oldworld then
  2392. function bestfarm()
  2393. if LocalPlayer.Data.Level.Value >= 0 and LocalPlayer.Data.Level.Value < 10 then
  2394. teleport(CFrame.new(973.320435, 16.3492527, 1549.81885, -0.636105061, 2.36918627e-08, 0.771602452, 4.02189881e-09, 1, -2.73891221e-08, -0.771602452, -1.43190517e-08, -0.636105061))
  2395. wait(1)
  2396. autofarm(tostring(toolname), "Bandit", nil, "BanditQuest1", 1)
  2397.  
  2398. elseif LocalPlayer.Data.Level.Value >= 10 and LocalPlayer.Data.Level.Value < 15 then
  2399. teleport(CFrame.new(-1443.24609, 22.8521042, 161.635147, -0.38530159, -4.39645653e-08, 0.922790706, -3.86702226e-09, 1, 4.60284149e-08, -0.922790706, 1.41663703e-08, -0.38530159))
  2400. wait(1)
  2401. autofarm(tostring(toolname), "Monkey", nil, "JungleQuest", 1)
  2402.  
  2403. elseif LocalPlayer.Data.Level.Value >= 15 and LocalPlayer.Data.Level.Value < 30 then
  2404. teleport(CFrame.new(-1262.90405, 11.2192535, -601.962402, -0.749959588, -8.47150738e-10, -0.661483645, 3.97925082e-10, 1, -1.7318319e-09, 0.661483645, -1.56202484e-09, -0.749959588))
  2405. wait(1)
  2406. autofarm(tostring(toolname), ("20"), nil, "JungleQuest", 2)
  2407.  
  2408. elseif LocalPlayer.Data.Level.Value >= 30 and LocalPlayer.Data.Level.Value < 40 then
  2409. teleport(CFrame.new(-1214.29834, 4.7520504, 3914.19995, 0.202510014, -6.5743599e-08, 0.979280174, -1.00924495e-08, 1, 6.92216773e-08, -0.979280174, -2.39014195e-08, 0.202510014))
  2410. wait(1)
  2411. autofarm(tostring(toolname), "Pirate", nil, "BuggyQuest1", 1)
  2412.  
  2413. elseif LocalPlayer.Data.Level.Value >= 40 and LocalPlayer.Data.Level.Value < 60 then
  2414. teleport(CFrame.new(-1310.4906, 14.869874, 4259.25342, -0.974549353, 8.85998119e-09, -0.224173129, -1.09559695e-08, 1, 8.71518964e-08, 0.224173129, 8.73898571e-08, -0.974549353))
  2415. wait(1)
  2416. autofarm(tostring(toolname), "Brute", nil, "BuggyQuest1", 2)
  2417.  
  2418. elseif LocalPlayer.Data.Level.Value >= 60 and LocalPlayer.Data.Level.Value < 75 then
  2419. teleport(CFrame.new(937.618896, 6.45013809, 4490.11816, 0.647611976, 9.07161848e-08, 0.761970282, -5.56535191e-08, 1, -7.17538526e-08, -0.761970282, 4.06232425e-09, 0.647611976))
  2420. wait(1)
  2421. autofarm(tostring(toolname), "Bandit", nil, "DesertQuest", 1)
  2422.  
  2423. elseif LocalPlayer.Data.Level.Value >= 75 and LocalPlayer.Data.Level.Value < 90 then
  2424. teleport(CFrame.new(1586.36829, 4.21892071, 4376.83984, 0.178952768, -1.03469067e-09, -0.983857691, 1.41175149e-09, 1, -7.94885102e-10, 0.983857691, -1.24671562e-09, 0.178952768))
  2425. wait(1)
  2426. autofarm(tostring(toolname), "Officer", nil, "DesertQuest", 2)
  2427.  
  2428. elseif LocalPlayer.Data.Level.Value >= 90 and LocalPlayer.Data.Level.Value < 100 then
  2429. teleport(CFrame.new(1357.83826, 87.2727661, -1353.2384, 0.605153263, 1.36694718e-08, 0.796108961, 6.53557777e-08, 1, -6.68498146e-08, -0.796108961, 9.24847043e-08, 0.605153263))
  2430. wait(1)
  2431. autofarm(tostring(toolname), "Snow Bandit", nil, "SnowQuest", 1)
  2432.  
  2433. elseif LocalPlayer.Data.Level.Value >= 100 and LocalPlayer.Data.Level.Value < 150 then
  2434. teleport(CFrame.new(1195.7312, 105.774536, -1477.3407, 0.690636218, -1.82257409e-08, 0.723202348, 5.10525788e-10, 1, 2.47139038e-08, -0.723202348, -1.66991025e-08, 0.690636218))
  2435. wait(1)
  2436. autofarm(tostring(toolname), "Snowman", nil, "SnowQuest", 2)
  2437.  
  2438. elseif LocalPlayer.Data.Level.Value >= 150 and LocalPlayer.Data.Level.Value < 175 then
  2439. teleport(CFrame.new(-4949.07178, 278.066345, -2849.6499, 0.998485565, -2.4800201e-08, 0.055014465, 2.03106651e-08, 1, 8.21655775e-08, -0.055014465, -8.09237619e-08, 0.998485565))
  2440. wait(1)
  2441. autofarm(tostring(toolname), "Sky Bandit", nil, "SkyQuest", 1)
  2442.  
  2443. elseif LocalPlayer.Data.Level.Value >= 175 and LocalPlayer.Data.Level.Value < 225 then
  2444. teleport(CFrame.new(-5244.16797, 388.651947, -2275.66016, 0.971692681, -9.60401358e-09, -0.236248419, 2.62311204e-08, 1, 6.72367477e-08, 0.236248419, -7.15305148e-08, 0.971692681))
  2445. wait(1)
  2446. autofarm(tostring(toolname), "Master", nil, "SkyQuest", 2)
  2447.  
  2448. elseif LocalPlayer.Data.Level.Value >= 225 and LocalPlayer.Data.Level.Value < 275 then
  2449. teleport(CFrame.new(-1987.04883, 7.28907251, -2781.30933, -0.128573, 2.62617483e-08, -0.991700053, 3.94706934e-10, 1, 2.6430369e-08, 0.991700053, 3.00680103e-09, -0.128573))
  2450. wait(1)
  2451. autofarm(tostring(toolname), "Warrior", nil, "ColosseumQuest", 1)
  2452.  
  2453. elseif LocalPlayer.Data.Level.Value >= 275 and LocalPlayer.Data.Level.Value < 300 then
  2454. teleport(CFrame.new(-1223.63818, 7.28907347, -3182.85132, 0.483049542, -3.85618115e-09, 0.875593007, 1.50635823e-11, 1, 4.39576908e-09, -0.875593007, -2.11018469e-09, 0.483049542))
  2455. wait(1)
  2456. autofarm(tostring(toolname), "Gladiator", nil, "ColosseumQuest", 2)
  2457.  
  2458. elseif LocalPlayer.Data.Level.Value >= 300 and LocalPlayer.Data.Level.Value < 330 then
  2459. teleport(CFrame.new(-5509.77148, 8.59067249, 8401.50684, -0.998448312, -6.22276808e-09, -0.0556865074, -3.02297587e-09, 1, -5.75450514e-08, 0.0556865074, -5.72874193e-08, -0.998448312))
  2460. wait(1)
  2461. autofarm(tostring(toolname), "Soldier", nil, "MagmaQuest", 1)
  2462.  
  2463. elseif LocalPlayer.Data.Level.Value >= 330 and LocalPlayer.Data.Level.Value < 375 then
  2464. teleport(CFrame.new(-5863.0498, 77.251709, 8858.89746, 0.199920639, 3.6500257e-08, -0.979812086, -5.66507126e-08, 1, 2.56933035e-08, 0.979812086, 5.03704349e-08, 0.199920639))
  2465. wait(1)
  2466. autofarm(tostring(toolname), "Spy", nil, "MagmaQuest", 2)
  2467.  
  2468. elseif LocalPlayer.Data.Level.Value >= 375 and LocalPlayer.Data.Level.Value < 400 then
  2469. teleport(CFrame.new(60867.6289, 18.4828224, 1577.58496, 0.025405515, -5.02673139e-08, -0.999677241, 3.65793262e-08, 1, -4.93539289e-08, 0.999677241, -3.53136578e-08, 0.025405515))
  2470. wait(1)
  2471. autofarm(tostring(toolname), "Fishman Warrior", nil, "FishmanQuest", 1)
  2472.  
  2473. elseif LocalPlayer.Data.Level.Value >= 400 and LocalPlayer.Data.Level.Value < 425 then
  2474. teleport(CFrame.new(61912.7852, 18.4828186, 1434.92773, -0.665761292, 2.24700969e-08, 0.746164799, -3.21811271e-08, 1, -5.88275455e-08, -0.746164799, -6.31775308e-08, -0.665761292))
  2475. wait(1)
  2476. autofarm(tostring(toolname), "Commando", nil, "FishmanQuest", 2)
  2477.  
  2478. elseif LocalPlayer.Data.Level.Value >= 400 and LocalPlayer.Data.Level.Value < 425 then
  2479. teleport(CFrame.new(-4696.40283, 845.276978, -1858.34204, -0.7335338, 4.7135746e-08, 0.679652929, 6.09196249e-08, 1, -3.60351637e-09, -0.679652929, 3.8760902e-08, -0.7335338))
  2480. wait(1)
  2481. autofarm(tostring(toolname), "God's Guard", nil, "SkyExp1Quest", 1)
  2482.  
  2483. elseif LocalPlayer.Data.Level.Value >= 400 and LocalPlayer.Data.Level.Value < 425 then
  2484. teleport(CFrame.new(-7641.76465, 5545.4917, -513.16803, -0.497225702, 9.03651625e-08, 0.867621243, 1.49193262e-08, 1, -9.56026511e-08, -0.867621243, -3.45917712e-08, -0.497225702))
  2485. wait(1)
  2486. autofarm(tostring(toolname), "Shanda", nil, "SkyExp1Quest", 2)
  2487.  
  2488. elseif LocalPlayer.Data.Level.Value >= 400 and LocalPlayer.Data.Level.Value < 425 then
  2489. teleport(CFrame.new(-7714.11816, 5610.58545, -1431.8667, 0.455687642, -5.21712593e-08, -0.890139759, -2.28576624e-09, 1, -5.97803336e-08, 0.890139759, 2.9275812e-08, 0.455687642))
  2490. wait(1)
  2491. autofarm(tostring(toolname), "Royal Squad", nil, "SkyExp2Quest", 1)
  2492.  
  2493. elseif LocalPlayer.Data.Level.Value >= 400 and LocalPlayer.Data.Level.Value < 425 then
  2494. teleport(CFrame.new(-7835.0542, 5606.87695, -1813.72021, -0.912228286, 2.86517281e-08, -0.409682304, 4.18481925e-08, 1, -2.32457609e-08, 0.409682304, -3.83499028e-08, -0.912228286))
  2495. wait(1)
  2496. autofarm(tostring(toolname), "Royal Soldier", nil, "SkyExp2Quest", 2)
  2497.  
  2498. elseif LocalPlayer.Data.Level.Value >= 400 and LocalPlayer.Data.Level.Value < 425 then
  2499. teleport(CFrame.new(5589.01758, 38.5386276, 3982.86963, 0.98995316, -4.44696457e-09, 0.141395777, 8.03524003e-09, 1, -2.4806587e-08, -0.141395777, 2.56935078e-08, 0.98995316))
  2500. wait(1)
  2501. autofarm(tostring(toolname), "Galley Pirate", nil, "FountainQuest", 1)
  2502.  
  2503. elseif LocalPlayer.Data.Level.Value >= 400 and LocalPlayer.Data.Level.Value < 425 then
  2504. teleport(CFrame.new(5477.20557, 38.4976692, 4949.44043, 0.935791492, 1.595469e-08, -0.352554023, 3.0879046e-09, 1, 5.34508864e-08, 0.352554023, -5.11075378e-08, 0.935791492))
  2505. wait(1)
  2506. autofarm(tostring(toolname), "Galley Captain", nil, "FountainQuest", 2)
  2507. end
  2508. end
  2509. teleportwindow:AddButton("Windmill", function()
  2510. teleport(CFrame.new(1027.58875, 19.3245106, 1367.28564, -0.987686276, 0, -0.156449571, 0, 1, 0, 0.156449571, 0, -0.987686276))
  2511. end)
  2512.  
  2513. teleportwindow:AddButton("Marine Start", function()
  2514. teleport(CFrame.new(-2573.3374, 6.88881826, 2046.99817, 0.0315897427, -3.02629779e-08, 0.99950093, -1.61048472e-08, 1, 3.0787092e-08, -0.99950093, -1.70693664e-08, 0.0315897427))
  2515. end)
  2516.  
  2517. teleportwindow:AddButton("Middle Town", function()
  2518. teleport(CFrame.new(-582.941345, 6.70024586, 1713.93726, 0.965929627, 0, 0.258804798, 0, 1, 0, -0.258804798, 0, 0.965929627))
  2519. end)
  2520.  
  2521. teleportwindow:AddButton("Desert", function()
  2522. teleport(CFrame.new(1094.14587, 5.28642607, 4192.88721, -0.499959469, 0, -0.866048813, 0, 1, 0, 0.866048813, 0, -0.499959469))
  2523. end)
  2524.  
  2525. teleportwindow:AddButton("Underwater City", function()
  2526. teleport(CFrame.new(61348.6992, 19.4723511, 1475.9884, 0.999977648, 3.390076e-09, -0.00668252772, -3.52019325e-09, 1, -1.94595113e-08, 0.00668252772, 1.94826004e-08, 0.999977648))
  2527. end)
  2528.  
  2529. teleportwindow:AddButton("Pirate Village", function()
  2530. teleport(CFrame.new(-1120.14856, 4.60001373, 3855.31763, 0.965929627, -0, -0.258804798, 0, 1, -0, 0.258804798, 0, 0.965929627))
  2531. end)
  2532.  
  2533. teleportwindow:AddButton("Jungle", function()
  2534. teleport(CFrame.new(-1255.14795, 11.7000084, 349.906677, -0.173624277, 0, 0.984811902, 0, 1, 0, -0.984811902, 0, -0.173624277))
  2535. end)
  2536.  
  2537. teleportwindow:AddButton("Skylands 1", function()
  2538. teleport(CFrame.new(-4967.83691, 718.535278, -2623.84326, 0.499959469, -0, -0.866048813, 0, 1, -0, 0.866048813, 0, 0.499959469))
  2539. end)
  2540.  
  2541. teleportwindow:AddButton("Skylands 2", function()
  2542. teleport(CFrame.new(-7946.89844, 5546.35449, -318.856445, 0.998631775, -0, -0.0522932447, 0, 1, -0, 0.0522932447, 0, 0.998631775))
  2543. end)
  2544.  
  2545. teleportwindow:AddButton("Magma Village", function()
  2546. teleport(CFrame.new(-5193.35498, 5.43863821, 8569.56348, 0.951068401, 0, 0.308980465, 0, 1, 0, -0.308980465, 0, 0.951068401))
  2547. end)
  2548.  
  2549. teleportwindow:AddButton("Frozen Village ", function()
  2550. teleport(CFrame.new(1185.63379, 7.15136719, -1143.36987, -0.484826207, 0, 0.874610603, 0, 1, 0, -0.874610603, 0, -0.484826207))
  2551. end)
  2552.  
  2553. teleportwindow:AddButton("Colosseum", function()
  2554. teleport(CFrame.new(-1332.94006, 6.35386896, -2896.56055, -0.66911006, 0, 0.743163466, 0, 1, 0, -0.743163466, 0, -0.66911006))
  2555. end)
  2556.  
  2557. teleportwindow:AddButton("Fountain City", function()
  2558. teleport(CFrame.new(5158.63184, 4.06925201, 4028.94678, -0.406715393, 0, 0.913554907, 0, 1, 0, -0.913554907, 0, -0.406715393))
  2559. end)
  2560.  
  2561. teleportwindow:AddButton("Military Fortress", function()
  2562. teleport(CFrame.new(-4828.9751, 20.6520367, 4374.35791, -0.921316385, 5.66178571e-09, 0.388813794, -1.90244229e-08, 1, -5.96411383e-08, -0.388813794, -6.23453147e-08, -0.921316385))
  2563. end)
  2564.  
  2565. teleportwindow:AddButton("Prison", function()
  2566. teleport(CFrame.new(5136.59277, 3.53421545, 785.520813, 0.392495215, 1.79353155e-08, -0.919754028, 5.72389602e-09, 1, 2.19427321e-08, 0.919754028, -1.38769947e-08, 0.392495215))
  2567. end)
  2568.  
  2569. teleportwindow:AddButton("Mob Island", function()
  2570. teleport(CFrame.new(-2850.20068, 7.39224768, 5354.99268, -0.954083323, -1.62498637e-08, 0.299541265, -5.51723023e-09, 1, 3.66759672e-08, -0.299541265, 3.33392904e-08, -0.954083323))
  2571. end)
  2572.  
  2573. --NPC TeleportService
  2574. NPCteleportwindow:AddButton("Blox Fruit Dealer", function()
  2575. teleport(CFrame.new(929.522095, 16.2735577, 1414.97876, 0.899172783, 4.64448071e-08, 0.437593818, -1.74091452e-09, 1, -1.02559547e-07, -0.437593818, 9.14569398e-08, 0.899172783))
  2576. end)
  2577.  
  2578. NPCteleportwindow:AddButton("Sword Dealer", function()
  2579. teleport(CFrame.new(896.654968, 16.2735577, 1415.46326, 0.960151017, 6.38717665e-08, 0.279481769, -5.16753538e-08, 1, -5.10073441e-08, -0.279481769, 3.45324338e-08, 0.960151017))
  2580. end)
  2581.  
  2582. NPCteleportwindow:AddButton("Robotmega", function()
  2583. teleport(CFrame.new(-1042.46753, 9.65220833, 1798.33276, -0.463136166, 3.6193363e-08, -0.886287153, 2.05997033e-08, 1, 3.00725311e-08, 0.886287153, -4.32957714e-09, -0.463136166))
  2584. end)
  2585.  
  2586. NPCteleportwindow:AddButton("Weapon Dealer", function()
  2587. teleport(CFrame.new(-699.769958, 7.8522439, 1511.82874, -0.994642675, -1.24681945e-10, -0.103372596, -7.98733024e-11, 1, -4.37606756e-10, 0.103372596, -4.27005653e-10, -0.994642675))
  2588. end)
  2589.  
  2590. NPCteleportwindow:AddButton("Experienced Captain", function()
  2591. teleport(CFrame.new(-1167.67517, 7.65220022, 1728.78625, 0.227724835, -5.93460001e-08, -0.973725498, -1.84367526e-08, 1, -6.52591581e-08, 0.973725498, 3.28134675e-08, 0.227724835))
  2592. end)
  2593.  
  2594. NPCteleportwindow:AddButton("Sword Dealer of the West", function()
  2595. teleport(CFrame.new(-1279.10437, 13.7520418, 3987.9563, 0.879473627, 2.09187334e-08, -0.475947648, 2.18166658e-08, 1, 8.42653947e-08, 0.475947648, -8.44927825e-08, 0.879473627))
  2596. end)
  2597.  
  2598. NPCteleportwindow:AddButton("Dark Step Teacher", function()
  2599. teleport(CFrame.new(-986.914307, 13.7520332, 3989.53906, -0.34373042, -7.47417133e-08, -0.939068377, -3.48726843e-08, 1, -6.68267717e-08, 0.939068377, 9.77744019e-09, -0.34373042))
  2600. end)
  2601.  
  2602. NPCteleportwindow:AddButton("Rich Man", function()
  2603. teleport(CFrame.new(-910.340881, 13.7520332, 4078.03418, 0.0359374508, -8.95325201e-08, -0.999354064, 4.44851054e-08, 1, -8.79906779e-08, 0.999354064, -4.12942107e-08, 0.0359374508))
  2604. end)
  2605.  
  2606. NPCteleportwindow:AddButton("Hasan", function()
  2607. teleport(CFrame.new(1323.8689, 15.8470068, 4486.11523, -0.120988391, -2.29662467e-09, 0.992653906, -8.92010554e-09, 1, 1.22640464e-09, -0.992653906, -8.70619754e-09, -0.120988391))
  2608. end)
  2609.  
  2610. NPCteleportwindow:AddButton("Sick Man", function()
  2611. teleport(CFrame.new(1456.90527, 88.2521515, -1390.14209, 0.0210955944, -6.00558252e-08, -0.999777436, 4.02368556e-08, 1, -5.92201843e-08, 0.999777436, -3.89786159e-08, 0.0210955944))
  2612. end)
  2613.  
  2614. NPCteleportwindow:AddButton("Sword Dealer of the East", function()
  2615. teleport(CFrame.new(1427.6499, 87.272789, -1386.89758, 0.255718648, -3.64401451e-08, -0.966751218, -2.0220764e-10, 1, -3.77468901e-08, 0.966751218, 9.84806903e-09, 0.255718648))
  2616. end)
  2617.  
  2618. NPCteleportwindow:AddButton("Water Kung-Fu Teacher", function()
  2619. teleport(CFrame.new(61582.9453, 18.8707829, 987.406006, -0.0526548624, -3.74368412e-08, -0.998612761, -1.32623983e-08, 1, -3.67895474e-08, 0.998612761, 1.13068515e-08, -0.0526548624))
  2620. end)
  2621.  
  2622. NPCteleportwindow:AddButton("Advanced Weapon Dealer", function()
  2623. teleport(CFrame.new(-4996.60107, 41.2520409, 4403.34912, 0.391164631, -2.81246173e-08, 0.92032069, 1.28958408e-08, 1, 2.50784531e-08, -0.92032069, 2.05850492e-09, 0.391164631))
  2624. end)
  2625.  
  2626. NPCteleportwindow:AddButton("Parlus", function()
  2627. teleport(CFrame.new(-4929.12891, 96.3588943, 3865.88574, -0.999085486, 9.84941195e-09, -0.0427572541, 6.15332274e-09, 1, 8.65751701e-08, 0.0427572541, 8.62329017e-08, -0.999085486))
  2628. end)
  2629.  
  2630. NPCteleportwindow:AddButton("Master Sword Dealer", function()
  2631. teleport(CFrame.new(-4752.28369, 717.65979, -2654.26636, 0.00111372699, -3.05615764e-08, -0.999999404, 3.16999538e-09, 1, -3.05580663e-08, 0.999999404, -3.13595994e-09, 0.00111372699))
  2632. end)
  2633.  
  2634. NPCteleportwindow:AddButton("Living Skeleton", function()
  2635. teleport(CFrame.new(-5463.93164, 8.59067345, 8880.62109, 0.764014959, -2.06507558e-08, -0.645198524, -1.26533219e-08, 1, -4.69903156e-08, 0.645198524, 4.40652066e-08, 0.764014959))
  2636. end)
  2637.  
  2638. NPCteleportwindow:AddButton("Freezeburg Quest Giver", function()
  2639. teleport(CFrame.new(5256.18018, 38.5011292, 4049.67017, -0.0957989171, 1.70474657e-08, -0.995400727, 5.68388252e-08, 1, 1.16559766e-08, 0.995400727, -5.54607773e-08, -0.0957989171))
  2640. end)
  2641.  
  2642. NPCteleportwindow:AddButton("Military Detective", function()
  2643. teleport(CFrame.new(4850.34326, 5.65141249, 719.42749, 0.46255511, -2.27731505e-08, -0.88659054, 1.7241969e-09, 1, -2.47866563e-08, 0.88659054, 9.93653781e-09, 0.46255511))
  2644. end)
  2645.  
  2646. NPCteleportwindow:AddButton("Remove Blox Fruit", function()
  2647. teleport(CFrame.new(5663.9209, 64.6518173, 867.153503, 0.308496773, 2.42815386e-08, 0.9512254, -3.35425732e-08, 1, -1.46482231e-08, -0.9512254, -2.73876193e-08, 0.308496773))
  2648. end)
  2649.  
  2650. NPCteleportwindow:AddButton("Mad Scientist", function()
  2651. teleport(CFrame.new(-5386.49609, 13.6096764, -2148.34766, 0.114722066, 1.01878264e-07, -0.993397653, -1.08903064e-08, 1, 1.01297715e-07, 0.993397653, -8.02677924e-10, 0.114722066))
  2652. end)
  2653.  
  2654. NPCteleportwindow:AddButton("Yoshi", function()
  2655. teleport(CFrame.new(-4994.75781, 345.907166, -3001.85864, -0.526064157, 1.12686855e-07, -0.850444853, 7.57830279e-08, 1, 8.56259135e-08, 0.850444853, -1.94045651e-08, -0.526064157))
  2656. end)
  2657.  
  2658. Autofarm:AddSwitch("Toggle", function(bool)
  2659. _G.farm = bool
  2660. print(_G.farm)
  2661. end)
  2662.  
  2663. local toolname
  2664. local tooldropdown = Autofarm:AddDropdown("Use Tool", function(text)
  2665. if LocalPlayer.Backpack:FindFirstChild(tostring(text)) then
  2666. toolname = LocalPlayer.Backpack[tostring(text)]
  2667. end
  2668. end)
  2669.  
  2670. for i=1, #tools do
  2671. local tool = tools[i]
  2672. tooldropdown:Add(tostring(tool))
  2673. end
  2674.  
  2675. Autofarm:AddButton("Level Farm", function()
  2676. bestfarm()
  2677. LocalPlayer.Data.Level.Changed:connect(function()
  2678. _G.farm = false
  2679. wait(1)
  2680. bestfarm()
  2681. end)
  2682. end)
  2683. Autofarm:AddButton("Bandits", function()
  2684. autofarm(tostring(toolname), "Bandit", nil, "BanditQuest1", 1)
  2685. end)
  2686.  
  2687. Autofarm:AddButton("Monkeys", function()
  2688. autofarm(tostring(toolname), "Monkey", nil, "JungleQuest", 1)
  2689. end)
  2690.  
  2691. Autofarm:AddButton("Gorillas", function()
  2692. autofarm(tostring(toolname), "Gorilla", "King", "JungleQuest", 2)
  2693. end)
  2694.  
  2695. Autofarm:AddButton("Buggy Pirate", function()
  2696. autofarm(tostring(toolname), "Pirate", nil, "BuggyQuest1", 1)
  2697. end)
  2698.  
  2699. Autofarm:AddButton("Brute", function()
  2700. autofarm(tostring(toolname), "Brute", nil, "BuggyQuest1", 2)
  2701. end)
  2702.  
  2703. Autofarm:AddButton("Desert Bandit", function()
  2704. autofarm(tostring(toolname), "Bandit", nil, "DesertQuest", 1)
  2705. end)
  2706.  
  2707. Autofarm:AddButton("Desert Officer", function()
  2708. autofarm(tostring(toolname), "Officer", nil, "DesertQuest", 2)
  2709. end)
  2710.  
  2711. Autofarm:AddButton("Snow Bandit", function()
  2712. autofarm(tostring(toolname), "Snow Bandit", nil, "SnowQuest", 1)
  2713. end)
  2714.  
  2715. Autofarm:AddButton("Snowman", function()
  2716. autofarm(tostring(toolname), "Snowman", nil, "SnowQuest", 2)
  2717. end)
  2718.  
  2719. Autofarm:AddButton("Sky Bandit", function()
  2720. autofarm(tostring(toolname), "Sky Bandit", nil, "SkyQuest", 1)
  2721. end)
  2722.  
  2723. Autofarm:AddButton("Dark Master", function()
  2724. autofarm(tostring(toolname), "Master", nil, "SkyQuest", 2)
  2725. end)
  2726.  
  2727. Autofarm:AddButton("Toga Warrior", function()
  2728. autofarm(tostring(toolname), "Warrior", nil, "ColosseumQuest", 1)
  2729. end)
  2730.  
  2731. Autofarm:AddButton("Gladiator", function()
  2732. autofarm(tostring(toolname), "Gladiator", nil, "ColosseumQuest", 2)
  2733. end)
  2734.  
  2735. Autofarm:AddButton("Warden", function()
  2736. autofarm(tostring(toolname), "Warden", nil, "ImpelQuest", 1)
  2737. end)
  2738.  
  2739. Autofarm:AddButton("Chief Warden", function()
  2740. autofarm(tostring(toolname), "Chief Warden", nil, "ImpelQuest", 2)
  2741. end)
  2742.  
  2743. Autofarm:AddButton("Swan", function()
  2744. autofarm(tostring(toolname), "Swan", nil, "ImpelQuest", 3)
  2745. end)
  2746.  
  2747. Autofarm:AddButton("Military Soldier", function()
  2748. autofarm(tostring(toolname), "Soldier", nil, "MagmaQuest", 1)
  2749. end)
  2750.  
  2751. Autofarm:AddButton("Military Spy", function()
  2752. autofarm(tostring(toolname), "Spy", nil, "MagmaQuest", 2)
  2753. end)
  2754.  
  2755. Autofarm:AddButton("Magma Admiral", function()
  2756. autofarm(tostring(toolname), "Admiral", nil, "MagmaQuest", 3)
  2757. end)
  2758.  
  2759. Autofarm:AddButton("Fishman Warrior", function()
  2760. autofarm(tostring(toolname), "Fishman Warrior", nil, "FishmanQuest", 1)
  2761. end)
  2762.  
  2763. Autofarm:AddButton("Fishman Commando", function()
  2764. autofarm(tostring(toolname), "Commando", nil, "FishmanQuest", 2)
  2765. end)
  2766.  
  2767. Autofarm:AddButton("Fishman Jones", function()
  2768. autofarm(tostring(toolname), "Jones", nil, "FishmanQuest", 3)
  2769. end)
  2770.  
  2771. Autofarm:AddButton("God's Guard", function()
  2772. autofarm(tostring(toolname), "God's Guard", nil, "SkyExp1Quest", 1)
  2773. end)
  2774.  
  2775. Autofarm:AddButton("Shanda", function()
  2776. autofarm(tostring(toolname), "Shanda", nil, "SkyExp1Quest", 2)
  2777. end)
  2778.  
  2779. Autofarm:AddButton("Wysper", function()
  2780. autofarm(tostring(toolname), "Wysper", nil, "SkyExp1Quest", 3)
  2781. end)
  2782.  
  2783. Autofarm:AddButton("Royal Squad", function()
  2784. autofarm(tostring(toolname), "Royal Squad", nil, "SkyExp2Quest", 1)
  2785. end)
  2786.  
  2787. Autofarm:AddButton("Royal Soldier", function()
  2788. autofarm(tostring(toolname), "Royal Soldier", nil, "SkyExp2Quest", 2)
  2789. end)
  2790.  
  2791. Autofarm:AddButton("Thunder God", function()
  2792. autofarm(tostring(toolname), "Thunder God", nil, "SkyExp2Quest", 3)
  2793. end)
  2794.  
  2795. Autofarm:AddButton("Galley Pirate", function()
  2796. autofarm(tostring(toolname), "Galley Pirate", nil, "FountainQuest", 1)
  2797. end)
  2798.  
  2799. Autofarm:AddButton("Galley Captain", function()
  2800. autofarm(tostring(toolname), "Galley Captain", nil, "FountainQuest", 2)
  2801. end)
  2802.  
  2803. Autofarm:AddButton("Cyborg", function()
  2804. autofarm(tostring(toolname), "Cyborg", nil, "FountainQuest", 3)
  2805. end)
  2806.  
  2807. Autofarm:AddButton("Ice Admiral", function()
  2808. autofarm(tostring(toolname), "Ice Admiral", nil, nil, nil)
  2809. end)
  2810.  
  2811. --[[ new world
  2812. Autofarm:AddButton("Raider", function()
  2813. autofarm("Combat", "Raider", nil, "Area1Quest", 1)
  2814. end)
  2815.  
  2816. Autofarm:AddButton("Mercenary", function()
  2817. autofarm("Combat", "Mercenary", nil, "Area1Quest", 2)
  2818. end)
  2819.  
  2820. Autofarm:AddButton("Diamond", function()
  2821. autofarm("Combat", "Diamond", nil, "Area1Quest", 3)
  2822. end)
  2823.  
  2824. Autofarm:AddButton("Swan Pirate", function()
  2825. autofarm("Combat", "Swan Pirate", nil, "Area2Quest", 1)
  2826. end)
  2827.  
  2828. Autofarm:AddButton("Factory Staff", function()
  2829. autofarm("Combat", "Factory Staff", nil, "Area2Quest", 2)
  2830. end)
  2831.  
  2832. Autofarm:AddButton("Jeremy", function()
  2833. autofarm("Combat", "Jeremy", nil, "Area2Quest", 3)
  2834. end)
  2835. --]]
  2836.  
  2837.  
  2838. --]]
  2839. end
  2840. if newworld then
  2841. local floweresp = true
  2842. teleportwindow:AddButton("Dressrosa", function()
  2843. teleport(CFrame.new(-67.0509338, 19.2767277, 2834.98779, 1, 7.76118512e-08, -3.35330207e-13, -7.76118512e-08, 1, -2.36616815e-09, 3.3514657e-13, 2.36616815e-09, 1))
  2844. end)
  2845.  
  2846. teleportwindow:AddButton("Greenbit", function()
  2847. teleport(CFrame.new(-2135.60938, 72.9661179, -2758.81592, -0.5592103, -9.12921507e-08, 0.829025805, -5.33625588e-08, 1, 7.41246637e-08, -0.829025805, -2.78766343e-09, -0.5592103))
  2848. end)
  2849.  
  2850. teleportwindow:AddButton("Kingdom Of Rose", function()
  2851. teleport(CFrame.new(-113.551056, 73.0320206, 1370.18738, 1, -1.20148673e-08, -4.40259876e-14, 1.20148673e-08, 1, 3.67901376e-10, 4.4021566e-14, -3.67901376e-10, 1))
  2852. end)
  2853.  
  2854. teleportwindow:AddButton("Bar", function()
  2855. teleport(CFrame.new(-385.250916, 73.0200806, 297.388397, 1, -9.75934995e-08, -1.78137805e-14, 9.75934995e-08, 1, 2.98880209e-09, 1.75220929e-14, -2.98880209e-09, 1))
  2856. end)
  2857.  
  2858. teleportwindow:AddButton("Graveyard", function()
  2859. teleport(CFrame.new(-5491.56445, 48.4801941, -684.113831, 0.79861635, -2.41049247e-09, -0.601840496, 1.9694657e-09, 1, -1.39180567e-09, 0.601840496, -7.37854222e-11, 0.79861635))
  2860. end)
  2861.  
  2862. teleportwindow:AddButton("Snow Mountain", function()
  2863. teleport(CFrame.new(295.549164, 401.421936, -5417.41211, -4.09396705e-14, 6.50770815e-08, -1, 2.92780147e-08, 1, 6.50770815e-08, 1, -2.92780147e-08, -4.28449966e-14))
  2864. end)
  2865.  
  2866. teleportwindow:AddButton("Circle Island Fire", function()
  2867. teleport(CFrame.new(-5561.13721, 15.9517593, -4934.66699, 0.309060872, 4.06433216e-08, -0.951042235, 4.83603113e-09, 1, 4.43071286e-08, 0.951042235, -1.82928694e-08, 0.309060872))
  2868. end)
  2869.  
  2870. teleportwindow:AddButton("Circle Island Ice", function()
  2871. teleport(CFrame.new(-5886.35791, 15.9517593, -4968.2207, -0.5592103, 3.84204935e-09, 0.829025805, 7.14764914e-10, 1, -4.15227808e-09, -0.829025805, -1.72943804e-09, -0.5592103))
  2872. end)
  2873.  
  2874. teleportwindow:AddButton("Usoap Island", function()
  2875. teleport(CFrame.new(4710.80713, 8.15071201, 2853.39404, 0.275356203, 7.57489786e-08, -0.961342275, -1.03474305e-08, 1, 7.58312098e-08, 0.961342275, -1.09331717e-08, 0.275356203))
  2876. end)
  2877.  
  2878. teleportwindow:AddButton("Poneglyph Island", function()
  2879. teleport(CFrame.new(-5085.02832, 3.2208631, 2389.04297, 0.000409607135, -7.3521818e-08, 0.99999994, 1.00133191e-08, 1, 7.35177252e-08, -0.99999994, 9.98320449e-09, 0.000409607135))
  2880. end)
  2881.  
  2882. teleportwindow:AddButton("Dark Arena", function()
  2883. teleport(CFrame.new(3807.0979, 14.6501827, -3452.19849, 1, 4.30262794e-08, 5.26477157e-14, -4.30262794e-08, 1, 1.93717398e-08, -5.18142217e-14, -1.93717398e-08, 1))
  2884. end)
  2885.  
  2886. teleportwindow:AddButton("Mansion", function()
  2887. teleport(CFrame.new(-393.302521, 331.860657, 686.779663, 0.999992251, -8.19652541e-08, -0.00394392852, 8.20098975e-08, 1, 1.11590106e-08, 0.00394392852, -1.14823653e-08, 0.999992251))
  2888. end)
  2889.  
  2890. teleportwindow:AddButton("Swan's Room", function()
  2891. teleport(CFrame.new(2293.69995, 15.1520376, 663.099609, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  2892. end)
  2893.  
  2894. teleportwindow:AddButton("Factory", function()
  2895. teleport(CFrame.new(243.200958, 73.0679779, -245.467484, 0.692750692, 2.10652065e-08, -0.721177161, 3.04285597e-09, 1, 3.2132391e-08, 0.721177161, -2.44541756e-08, 0.692750692))
  2896. end)
  2897.  
  2898. teleportwindow:AddButton("Coloseum", function()
  2899. teleport(CFrame.new(-1836.41101, 45.7947006, 1360.23706, 1, 1.46615706e-08, 1.59280954e-13, -1.46615706e-08, 1, 3.27130394e-08, -1.5880133e-13, -3.27130394e-08, 1))
  2900. end)
  2901.  
  2902. teleportwindow:AddButton("Lab", function()
  2903. teleport(CFrame.new(-6246.65381, 16.2000637, -5008.37695, -0.28876254, 2.32198065e-08, 0.957400739, -9.56394146e-08, 1, -5.30988586e-08, -0.957400739, -1.06898206e-07, -0.28876254))
  2904. end)
  2905.  
  2906. NPCteleportwindow:AddButton("Sea Captain", function()
  2907. teleport(CFrame.new(106.06604, 19.2767277, 2834.53491, 0.463099241, 2.01756141e-08, -0.886306405, -2.47290952e-08, 1, 9.84263249e-09, 0.886306405, 1.73594401e-08, 0.463099241))
  2908. end)
  2909.  
  2910. NPCteleportwindow:AddButton("Alchemist", function()
  2911. teleport(CFrame.new(-2777.55566, 72.9661179, -3571.62451, -0.740402639, 3.25505809e-08, -0.672163665, -4.37194529e-08, 1, 9.65844862e-08, 0.672163665, 1.00898035e-07, -0.740402639))
  2912. end)
  2913.  
  2914. NPCteleportwindow:AddButton("Wenlocktoad", function()
  2915. teleport(CFrame.new(-1995.07458, 125.493317, -71.3023682, -0.139794305, -1.66186176e-08, -0.990180552, 4.90234686e-10, 1, -1.68526331e-08, 0.990180552, -2.84132295e-09, -0.139794305))
  2916. end)
  2917.  
  2918. NPCteleportwindow:AddButton("Barlito", function()
  2919. teleport(CFrame.new(-457.259949, 73.0200806, 300.029266, -0.0669297501, 9.49471755e-08, 0.997757673, -2.09763584e-08, 1, -9.65676534e-08, -0.997757673, -2.73925718e-08, -0.0669297501))
  2920. end)
  2921.  
  2922. NPCteleportwindow:AddButton("Bounty/Honor Expert", function()
  2923. teleport(CFrame.new(-310.183685, 73.0300827, 333.083893, 0.00389048946, 8.08738747e-08, -0.99999243, -1.19464643e-08, 1, 8.08280092e-08, 0.99999243, 1.16319132e-08, 0.00389048946))
  2924. end)
  2925.  
  2926. NPCteleportwindow:AddButton("Nerd", function()
  2927. teleport(CFrame.new(-400.212067, 73.060112, 261.998383, 0.774585247, -3.9501618e-08, -0.632469535, -7.43807593e-09, 1, -7.1565573e-08, 0.632469535, 6.01379924e-08, 0.774585247))
  2928. end)
  2929.  
  2930. NPCteleportwindow:AddButton("Norp", function()
  2931. teleport(CFrame.new(-311.832428, 76.1903687, 352.725616, -0.643887758, 7.32238581e-09, -0.76511991, -4.33111012e-11, 1, 9.60669411e-09, 0.76511991, 6.21877128e-09, -0.643887758))
  2932. end)
  2933.  
  2934. NPCteleportwindow:AddButton("Trevor", function()
  2935. teleport(CFrame.new(-341.826874, 331.860657, 643.599915, 0.01695331, -4.90759007e-08, -0.999856293, 6.40617657e-08, 1, -4.7996739e-08, 0.999856293, -6.32388577e-08, 0.01695331))
  2936. end)
  2937.  
  2938. Autofarm:AddSwitch("Toggle", function(bool)
  2939. _G.farm = bool
  2940. print(_G.farm)
  2941. end)
  2942. local toolname
  2943. local tooldropdown = Autofarm:AddDropdown("Use Tool", function(text)
  2944. if LocalPlayer.Backpack:FindFirstChild(tostring(text)) then
  2945. toolname = LocalPlayer.Backpack[tostring(text)]
  2946. end
  2947. end)
  2948.  
  2949. for i=1, #tools do
  2950. local tool = tools[i]
  2951. tooldropdown:Add(tostring(tool))
  2952. end
  2953. --local Electro = tooldropdown:Add("Electro")
  2954. --local Magma = tooldropdown:Add("Magma-Magma")
  2955.  
  2956. LocalPlayer.Backpack.ChildAdded:connect(function(child)
  2957. tooldropdown:Add(tostring(child.Name))
  2958. end)
  2959.  
  2960. Autofarm:AddButton("Raider", function()
  2961. teleport(CFrame.new(-121.149246, 39.0797539, 2369.0332, 0.968202889, 2.4016245e-08, 0.250166208, -1.94774046e-08, 1, -2.06189554e-08, -0.250166208, 1.50907447e-08, 0.968202889))
  2962. wait(1)
  2963. autofarm(tostring(toolname), "Raider", nil, "Area1Quest", 1)
  2964. end)
  2965.  
  2966. Autofarm:AddButton("Mercenary", function()
  2967. teleport(CFrame.new(-803.078003, 73.1196899, 1690.83899, 0.00951899588, 3.24957554e-08, 0.9999547, -2.01763513e-08, 1, -3.23051594e-08, -0.9999547, -1.98679242e-08, 0.00951899588))
  2968. wait(1)
  2969. autofarm(tostring(toolname), "Mercenary", nil, "Area1Quest", 2)
  2970. end)
  2971.  
  2972. Autofarm:AddButton("Diamond", function()
  2973. teleport(CFrame.new(-1711.10999, 198.646606, 36.8653908, 0.872542739, -6.97004552e-08, 0.488537759, 9.2724818e-08, 1, -2.29376589e-08, -0.488537759, 6.53136638e-08, 0.872542739))
  2974. wait(1)
  2975. autofarm(tostring(toolname), "Diamond", nil, "Area1Quest", 3)
  2976. end)
  2977.  
  2978. Autofarm:AddButton("Swan Pirate", function()
  2979. teleport(CFrame.new(893.166565, 73.0697327, 1147.42651, -0.999840379, -5.55143664e-08, -0.0178658348, -5.55763684e-08, 1, 2.97384384e-09, 0.0178658348, 3.9662873e-09, -0.999840379))
  2980. wait(1)
  2981. autofarm(tostring(toolname), "Swan Pirate", nil, "Area2Quest", 1)
  2982. end)
  2983.  
  2984. Autofarm:AddButton("Factory Staff", function()
  2985. teleport(CFrame.new(167.018753, 73.0686951, -164.64502, 0.725492358, -4.73446917e-08, -0.688230276, 1.24810228e-07, 1, 6.27757473e-08, 0.688230276, -1.31441496e-07, 0.725492358))
  2986. wait(1)
  2987. autofarm(tostring(toolname), "Factory Staff", nil, "Area2Quest", 2)
  2988. end)
  2989.  
  2990. Autofarm:AddButton("Jeremy", function()
  2991. autofarm(tostring(toolname), "Jeremy", nil, "Area2Quest", 3)
  2992. end)
  2993.  
  2994. Autofarm:AddButton("Marine Lieutenant", function()
  2995. teleport(CFrame.new(-2786.62183, 72.9661102, -3031.87476, -0.240379378, -9.12769167e-08, 0.970679045, 4.44070238e-08, 1, 1.05031063e-07, -0.970679045, 6.83522643e-08, -0.240379378))
  2996. wait(1)
  2997. autofarm(tostring(toolname), "Marine Lieutenant", nil, "MarineQuest3", 1)
  2998. end)
  2999.  
  3000. Autofarm:AddButton("Marine Captain", function()
  3001. teleport(CFrame.new(-2023.63354, 72.9661102, -3255.90576, 0.848725617, 9.29678279e-10, -0.528833508, -4.68628123e-08, 1, -7.34522132e-08, 0.528833508, 8.71233965e-08, 0.848725617))
  3002. wait(1)
  3003. autofarm(tostring(toolname), "Marine Captain", nil, "MarineQuest3", 2)
  3004. end)
  3005.  
  3006. Autofarm:AddButton("Fajita", function()
  3007. teleport(CFrame.new(-2153.6731, 72.9661102, -4241.20508, 0.999911308, 8.00685651e-09, -0.0133165959, -7.94380561e-09, 1, 4.78771467e-09, 0.0133165959, -4.68150585e-09, 0.999911308))
  3008. wait(1)
  3009. autofarm(tostring(toolname), "Fajita", nil, "MarineQuest3", 3)
  3010. end)
  3011.  
  3012. Autofarm:AddButton("Zombie", function()
  3013. teleport(CFrame.new(-5672.71143, 48.4801941, -655.884766, 0.428546607, -4.94537318e-08, 0.90351969, 1.18672972e-07, 1, -1.55300306e-09, -0.90351969, 1.07888901e-07, 0.428546607))
  3014. wait(1)
  3015. autofarm(tostring(toolname), "Zombie", nil, "ZombieQuest", 1)
  3016. end)
  3017.  
  3018. Autofarm:AddButton("Vampire", function()
  3019. teleport(CFrame.new(-5981.06445, 6.40269995, -1316.19409, 0.456913412, -9.74204681e-08, 0.889511168, 5.04610185e-08, 1, 8.36011438e-08, -0.889511168, 6.68715616e-09, 0.456913412))
  3020. wait(1)
  3021. autofarm(tostring(toolname), "Vampire", nil, "ZombieQuest", 2)
  3022. end)
  3023.  
  3024. Autofarm:AddButton("Snow Trooper", function()
  3025. teleport(CFrame.new(593.259888, 401.421936, -5546.1001, 0.986214757, 9.62643938e-08, -0.165470347, -1.06199984e-07, 1, -5.11970981e-08, 0.165470347, 6.80642813e-08, 0.986214757))
  3026. wait(1)
  3027. autofarm(tostring(toolname), "Snow Trooper", nil, "SnowMountainQuest", 1)
  3028. end)
  3029.  
  3030. Autofarm:AddButton("Winter Warrior", function()
  3031. teleport(CFrame.new(1331.75439, 429.421875, -5318.35547, 0.825170577, 5.72686742e-09, 0.56488359, -1.10307963e-09, 1, -8.52678017e-09, -0.56488359, 6.41293685e-09, 0.825170577))
  3032. wait(1)
  3033. autofarm(tostring(toolname), "Winter Warrior", nil, "SnowMountainQuest", 2)
  3034. end)
  3035.  
  3036. Autofarm:AddButton("Lab Subordinate", function()
  3037. teleport(CFrame.new(-5814.375, 15.9517574, -4429.76172, 0.364512295, -5.59861562e-08, 0.931198597, 2.32149766e-08, 1, 5.10353146e-08, -0.931198597, 3.01475378e-09, 0.364512295))
  3038. wait(1)
  3039. autofarm(tostring(toolname), "Lab Subordinate", nil, "IceSideQuest", 1)
  3040. end)
  3041.  
  3042. Autofarm:AddButton("Horned Warrior", function()
  3043. teleport(CFrame.new(-6361.49268, 26.559988, -5887.49414, -0.934038699, -1.2254131e-08, -0.357171863, 7.46332418e-09, 1, -5.38260885e-08, 0.357171863, -5.29413384e-08, -0.934038699))
  3044. wait(1)
  3045. autofarm(tostring(toolname), "Horned Warrior", nil, "IceSideQuest", 2)
  3046. end)
  3047.  
  3048. Autofarm:AddButton("Smoke Admiral", function()
  3049. teleport(CFrame.new(-5101.09131, 23.7314548, -5341.89941, 0.330702484, 9.46945411e-10, -0.943735063, 6.24650165e-10, 1, 1.22229094e-09, 0.943735063, -9.93718885e-10, 0.330702484))
  3050. wait(1)
  3051. autofarm(tostring(toolname), "Smoke Admiral", nil, "IceSideQuest", 3)
  3052. end)
  3053.  
  3054. Autofarm:AddButton("Magma Ninja", function()
  3055. teleport(CFrame.new(-5186.00635, 15.9518795, -6115.89355, -0.164513826, -4.62587586e-08, 0.986374795, 4.05046237e-08, 1, 5.36533662e-08, -0.986374795, 4.87794587e-08, -0.164513826))
  3056. wait(1)
  3057. autofarm(tostring(toolname), "Magma Ninja", nil, "FireSideQuest", 1)
  3058. end)
  3059.  
  3060. Autofarm:AddButton("Lava Pirate", function()
  3061. teleport(CFrame.new(-5133.50098, 16.1205902, -4837.5752, -0.196734294, 1.91304856e-08, -0.980456829, -1.89785787e-08, 1, 2.33199682e-08, 0.980456829, 2.31955148e-08, -0.196734294))
  3062. wait(1)
  3063. autofarm(tostring(toolname), "Lava Pirate", nil, "FireSideQuest", 2)
  3064. end)
  3065.  
  3066. Autofarm:AddButton("Swan Pirate (Barlito)", function()
  3067. teleport(CFrame.new(893.166565, 73.0697327, 1147.42651, -0.999840379, -5.55143664e-08, -0.0178658348, -5.55763684e-08, 1, 2.97384384e-09, 0.0178658348, 3.9662873e-09, -0.999840379))
  3068. wait(1)
  3069. autofarm(tostring(toolname), "Swan Pirate", nil, "BartiloQuest", 1)
  3070. end)
  3071.  
  3072. ESP:AddButton("Flower ESP", function()
  3073. for _,v in pairs (workspace:GetChildren()) do
  3074. if v.Name:match('Flower') then
  3075. local BillboardGui = Instance.new("BillboardGui")
  3076. local TextLabel = Instance.new("TextLabel")
  3077. BillboardGui.Parent = v
  3078. BillboardGui.AlwaysOnTop = true
  3079. BillboardGui.LightInfluence = 1
  3080. BillboardGui.Size = UDim2.new(0, 25, 0, 25)
  3081. BillboardGui.StudsOffset = Vector3.new(0, 2, 0)
  3082. TextLabel.Parent = BillboardGui
  3083. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  3084. TextLabel.BackgroundTransparency = 1
  3085. TextLabel.Size = UDim2.new(2, 0, 2, 0)
  3086. TextLabel.Text = v.Name
  3087. TextLabel.TextScaled = true
  3088. TextLabel.Font = "SourceSans"
  3089. TextLabel.TextColor3 = Color3.fromRGB(255, 171, 254)
  3090. end
  3091. end
  3092.  
  3093. workspace.ChildAdded:connect(function(x)
  3094. if x.Name:match("Flower") then
  3095. local BillboardGui = Instance.new("BillboardGui")
  3096. local TextLabel = Instance.new("TextLabel")
  3097. BillboardGui.Parent = x
  3098. BillboardGui.AlwaysOnTop = true
  3099. BillboardGui.LightInfluence = 1
  3100. BillboardGui.Size = UDim2.new(0, 25, 0, 25)
  3101. BillboardGui.StudsOffset = Vector3.new(0, 2, 0)
  3102. TextLabel.Parent = BillboardGui
  3103. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  3104. TextLabel.BackgroundTransparency = 1
  3105. TextLabel.Size = UDim2.new(2, 0, 2, 0)
  3106. TextLabel.Text = x.Name
  3107. TextLabel.TextColor3 = Color3.fromRGB(255, 171, 254)
  3108. TextLabel.TextScaled = true
  3109. TextLabel.Font = "SourceSans"
  3110. end
  3111. end)
  3112. end)
  3113.  
  3114. ESPmenu:AddSwitch("Flower Esp", function(bool)
  3115. _G.flowerespactive = bool
  3116. end)
  3117.  
  3118. end
  3119.  
  3120. ESPmenu:AddSwitch("Chest Esp", function(bool)
  3121. _G.chestespactive = bool
  3122. end)
  3123.  
  3124. ESPmenu:AddSwitch("DF Esp", function(bool)
  3125. _G.dfespactive = bool
  3126. end)
  3127.  
  3128. --[[
  3129. ESP:AddButton("DF ESP", function()
  3130. for _,v in pairs (workspace:GetChildren()) do
  3131. if v.Name:match('Fruit') and not v:IsA('Folder') and (v:IsA("Model") or v:IsA("Part")) then
  3132. local BillboardGui = Instance.new("BillboardGui")
  3133. local TextLabel = Instance.new("TextLabel")
  3134. BillboardGui.Parent = v
  3135. BillboardGui.AlwaysOnTop = true
  3136. BillboardGui.LightInfluence = 1
  3137. BillboardGui.Size = UDim2.new(0, 25, 0, 25)
  3138. BillboardGui.StudsOffset = Vector3.new(0, 2, 0)
  3139. TextLabel.Parent = BillboardGui
  3140. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  3141. TextLabel.BackgroundTransparency = 1
  3142. TextLabel.Size = UDim2.new(2, 0, 2, 0)
  3143. TextLabel.Text = v.Name
  3144. TextLabel.TextColor3 = Color3.new(105, 0, 171)
  3145. TextLabel.TextScaled = true
  3146. TextLabel.Font = "SourceSans"
  3147. local sound = Instance.new("Sound")
  3148. sound.SoundId = "rbxassetid://170765130"
  3149. sound.Parent = game.Lighting
  3150. sound.Volume = 9000
  3151. sound:Play()
  3152. game:GetService("StarterGui"):SetCore("SendNotification", {
  3153. Title = "Fruit Spawned";
  3154. Text = "Fruit Located \n Name : "..v.Name;
  3155. Duration = 2e9;
  3156. Button1 = "Dismiss"
  3157. })
  3158. end
  3159. end
  3160. workspace.ChildAdded:connect(function(x)
  3161. if x.Name:match("Fruit") and x:FindFirstChild('Fruit') then
  3162. local BillboardGui = Instance.new("BillboardGui")
  3163. local TextLabel = Instance.new("TextLabel")
  3164. BillboardGui.Parent = x
  3165. BillboardGui.AlwaysOnTop = true
  3166. BillboardGui.LightInfluence = 1
  3167. BillboardGui.Size = UDim2.new(0, 25, 0, 25)
  3168. BillboardGui.StudsOffset = Vector3.new(0, 2, 0)
  3169. TextLabel.Parent = BillboardGui
  3170. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  3171. TextLabel.BackgroundTransparency = 1
  3172. TextLabel.Size = UDim2.new(2, 0, 2, 0)
  3173. TextLabel.Text = x.Name
  3174. TextLabel.TextColor3 = Color3.new(105, 0, 171)
  3175. TextLabel.TextScaled = true
  3176. TextLabel.Font = "SourceSans"
  3177. local sound = Instance.new("Sound")
  3178. sound.SoundId = "rbxassetid://170765130"
  3179. sound.Parent = game.Lighting
  3180. sound.Volume = 9000
  3181. sound:Play()
  3182. game:GetService("StarterGui"):SetCore("SendNotification", {
  3183. Title = "Fruit Spawned";
  3184. Text = "Fruit Located \n Name : Fruit \n Position = "..tostring(x:FindFirstChild("Fruit").Position);
  3185. Duration = 2e9;
  3186. Button1 = "Dismiss"
  3187. })
  3188. end
  3189. end)
  3190. end)
  3191.  
  3192. ESP:AddButton("Chest ESP", function()
  3193. for _,v in pairs (workspace:GetChildren()) do
  3194. if v.Name:match('Chest') then
  3195. local BillboardGui = Instance.new("BillboardGui")
  3196. local TextLabel = Instance.new("TextLabel")
  3197. BillboardGui.Parent = v
  3198. BillboardGui.AlwaysOnTop = true
  3199. BillboardGui.LightInfluence = 1
  3200. BillboardGui.Size = UDim2.new(0, 25, 0, 25)
  3201. BillboardGui.StudsOffset = Vector3.new(0, 2, 0)
  3202. TextLabel.Parent = BillboardGui
  3203. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  3204. TextLabel.BackgroundTransparency = 1
  3205. TextLabel.Size = UDim2.new(2, 0, 2, 0)
  3206. TextLabel.Text = v.Name
  3207. TextLabel.TextScaled = true
  3208. TextLabel.Font = "SourceSans"
  3209. TextLabel.TextColor3 = Color3.fromRGB(255, 127, 80)
  3210. end
  3211. end
  3212.  
  3213. workspace.ChildAdded:connect(function(x)
  3214. if x.Name:match("Chest") then
  3215. local BillboardGui = Instance.new("BillboardGui")
  3216. local TextLabel = Instance.new("TextLabel")
  3217. BillboardGui.Parent = x
  3218. BillboardGui.AlwaysOnTop = true
  3219. BillboardGui.LightInfluence = 1
  3220. BillboardGui.Size = UDim2.new(0, 25, 0, 25)
  3221. BillboardGui.StudsOffset = Vector3.new(0, 2, 0)
  3222. TextLabel.Parent = BillboardGui
  3223. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  3224. TextLabel.BackgroundTransparency = 1
  3225. TextLabel.Size = UDim2.new(2, 0, 2, 0)
  3226. TextLabel.Text = x.Name
  3227. TextLabel.TextColor3 = Color3.fromRGB(255, 127, 80)
  3228. TextLabel.TextScaled = true
  3229. TextLabel.Font = "SourceSans"
  3230. end
  3231. end)
  3232. end)
  3233. --]]
  3234. AutoStat:AddSwitch("Melee", function(bool)
  3235. _G.automelee = bool
  3236. print("Auto Melee is set to ".. tostring(_G.automelee))
  3237. end)
  3238.  
  3239. AutoStat:AddSwitch("Defense", function(bool)
  3240. _G.autodefense = bool
  3241. print("Auto Defense is set to ".. tostring(_G.autodefense))
  3242. end)
  3243.  
  3244. AutoStat:AddSwitch("Sword", function(bool)
  3245. _G.autosword = bool
  3246. print("Auto Sword is set to ".. tostring(_G.autosword))
  3247. end)
  3248.  
  3249. AutoStat:AddSwitch("Gun", function(bool)
  3250. _G.autogun = bool
  3251. print("Auto Gun is set to ".. tostring(_G.autogun))
  3252. end)
  3253.  
  3254. AutoStat:AddSwitch("Devil Fruit", function(bool)
  3255. _G.autodf = bool
  3256. print("Auto DF is set to ".. tostring(_G.autodf))
  3257. end)
  3258. game:GetService("RunService").Heartbeat:connect(function()
  3259. if _G.automelee then
  3260. wait(0.3)
  3261. game:GetService("ReplicatedStorage").Remotes["CommF_"]:InvokeServer("AddPoint", "Melee", 1)
  3262. end
  3263. if _G.autodefense then
  3264. wait(0.3)
  3265. game:GetService("ReplicatedStorage").Remotes["CommF_"]:InvokeServer("AddPoint", "Defense", 1)
  3266. end
  3267. if _G.autosword then
  3268. wait(0.3)
  3269. game:GetService("ReplicatedStorage").Remotes["CommF_"]:InvokeServer("AddPoint", "Sword", 1)
  3270. end
  3271. if _G.autogun then
  3272. wait(0.3)
  3273. game:GetService("ReplicatedStorage").Remotes["CommF_"]:InvokeServer("AddPoint", "Gun", 1)
  3274. end
  3275. if _G.autodf then
  3276. wait(0.3)
  3277. game:GetService("ReplicatedStorage").Remotes["CommF_"]:InvokeServer("AddPoint", "Demon Fruit", 1)
  3278. end
  3279. if _G.noclip then
  3280. LocalPlayer.Character.Humanoid:ChangeState(11)
  3281. end
  3282. ESP()
  3283. end)
  3284. end
  3285.  
  3286. Misc:Show()
Add Comment
Please, Sign In to add comment