takuyahd

One Piece Open Seas AutoFarm GUI - Level AutoFarm and Chest

Nov 3rd, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.38 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local OPOS = Instance.new("ScreenGui")
  5. local Main = Instance.new("Frame")
  6. local title = Instance.new("TextLabel")
  7. local Farm = Instance.new("TextLabel")
  8. local black = Instance.new("TextLabel")
  9. local check = Instance.new("TextButton")
  10. local white = Instance.new("TextLabel")
  11. local check_2 = Instance.new("TextButton")
  12. local func = Instance.new("TextLabel")
  13. local noname = Instance.new("TextLabel")
  14. local check_3 = Instance.new("TextButton")
  15. local chestfarm = Instance.new("TextLabel")
  16. local check_4 = Instance.new("TextButton")
  17. local made = Instance.new("TextLabel")
  18. --Properties:
  19. OPOS.Name = "OPOS"
  20. OPOS.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  21.  
  22. Main.Name = "Main"
  23. Main.Parent = OPOS
  24. Main.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  25. Main.BorderSizePixel = 0
  26. Main.Position = UDim2.new(0.181000009, 0, 0.261859566, 0)
  27. Main.Size = UDim2.new(0, 404, 0, 297)
  28.  
  29. title.Name = "title"
  30. title.Parent = Main
  31. title.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  32. title.Size = UDim2.new(0, 404, 0, 18)
  33. title.Font = Enum.Font.SciFi
  34. title.Text = "OPOS Gui"
  35. title.TextColor3 = Color3.new(1, 1, 1)
  36. title.TextSize = 14
  37.  
  38. Farm.Name = "Farm"
  39. Farm.Parent = Main
  40. Farm.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  41. Farm.Position = UDim2.new(0, 0, 0.0808080807, 0)
  42. Farm.Size = UDim2.new(0, 162, 0, 21)
  43. Farm.Font = Enum.Font.SciFi
  44. Farm.Text = "Farm"
  45. Farm.TextColor3 = Color3.new(1, 1, 1)
  46. Farm.TextSize = 14
  47.  
  48. black.Name = "black"
  49. black.Parent = Main
  50. black.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  51. black.Position = UDim2.new(0, 0, 0.175084174, 0)
  52. black.Size = UDim2.new(0, 134, 0, 21)
  53. black.Font = Enum.Font.SciFi
  54. black.Text = "Blackbeard"
  55. black.TextColor3 = Color3.new(1, 1, 1)
  56. black.TextSize = 14
  57.  
  58. check.Name = "check"
  59. check.Parent = black
  60. check.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  61. check.BorderColor3 = Color3.new(0, 0, 0)
  62. check.Position = UDim2.new(1.04056454, 0, -0.0153920203, 0)
  63. check.Size = UDim2.new(0, 22, 0, 21)
  64. check.Font = Enum.Font.SciFi
  65. check.Text = ""
  66. check.TextColor3 = Color3.new(1, 1, 1)
  67. check.TextSize = 14
  68.  
  69. white.Name = "white"
  70. white.Parent = Main
  71. white.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  72. white.Position = UDim2.new(0, 0, 0.269360274, 0)
  73. white.Size = UDim2.new(0, 134, 0, 21)
  74. white.Font = Enum.Font.SciFi
  75. white.Text = "Whitebeard"
  76. white.TextColor3 = Color3.new(1, 1, 1)
  77. white.TextSize = 14
  78.  
  79. check_2.Name = "check"
  80. check_2.Parent = white
  81. check_2.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  82. check_2.BorderColor3 = Color3.new(0, 0, 0)
  83. check_2.Position = UDim2.new(1.04056454, 0, -0.0153920203, 0)
  84. check_2.Size = UDim2.new(0, 22, 0, 21)
  85. check_2.Font = Enum.Font.SciFi
  86. check_2.Text = ""
  87. check_2.TextColor3 = Color3.new(1, 1, 1)
  88. check_2.TextSize = 14
  89.  
  90. func.Name = "func"
  91. func.Parent = Main
  92. func.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  93. func.Position = UDim2.new(-0.00247526169, 0, 0.464646459, 0)
  94. func.Size = UDim2.new(0, 162, 0, 21)
  95. func.Font = Enum.Font.SciFi
  96. func.Text = "Functions"
  97. func.TextColor3 = Color3.new(1, 1, 1)
  98. func.TextSize = 14
  99.  
  100. noname.Name = "noname"
  101. noname.Parent = Main
  102. noname.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  103. noname.Position = UDim2.new(-0.00247526169, 0, 0.558922529, 0)
  104. noname.Size = UDim2.new(0, 134, 0, 21)
  105. noname.Font = Enum.Font.SciFi
  106. noname.Text = "Remove Name"
  107. noname.TextColor3 = Color3.new(1, 1, 1)
  108. noname.TextSize = 14
  109.  
  110. check_3.Name = "check"
  111. check_3.Parent = noname
  112. check_3.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  113. check_3.BorderColor3 = Color3.new(0, 0, 0)
  114. check_3.Position = UDim2.new(1.04056454, 0, -0.0153920203, 0)
  115. check_3.Size = UDim2.new(0, 22, 0, 21)
  116. check_3.Font = Enum.Font.SciFi
  117. check_3.Text = ""
  118. check_3.TextColor3 = Color3.new(1, 1, 1)
  119. check_3.TextSize = 14
  120.  
  121. chestfarm.Name = "chestfarm"
  122. chestfarm.Parent = Main
  123. chestfarm.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  124. chestfarm.Position = UDim2.new(0, 0, 0.367003322, 0)
  125. chestfarm.Size = UDim2.new(0, 134, 0, 21)
  126. chestfarm.Font = Enum.Font.SciFi
  127. chestfarm.Text = "Chest"
  128. chestfarm.TextColor3 = Color3.new(1, 1, 1)
  129. chestfarm.TextSize = 14
  130.  
  131. check_4.Name = "check"
  132. check_4.Parent = chestfarm
  133. check_4.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  134. check_4.BorderColor3 = Color3.new(0, 0, 0)
  135. check_4.Position = UDim2.new(1.04056454, 0, -0.0153920203, 0)
  136. check_4.Size = UDim2.new(0, 22, 0, 21)
  137. check_4.Font = Enum.Font.SciFi
  138. check_4.Text = ""
  139. check_4.TextColor3 = Color3.new(1, 1, 1)
  140. check_4.TextSize = 14
  141.  
  142. made.Name = "made"
  143. made.Parent = Main
  144. made.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  145. made.BackgroundTransparency = 1
  146. made.BorderSizePixel = 0
  147. made.Position = UDim2.new(0.824257374, 0, 0.929292917, 0)
  148. made.Size = UDim2.new(0, 82, 0, 21)
  149. made.Font = Enum.Font.SciFi
  150. made.Text = "By Avakir"
  151. made.TextColor3 = Color3.new(1, 1, 1)
  152. made.TextSize = 12
  153. -- Scripts:
  154. function SCRIPT_JWSB65_FAKESCRIPT() -- check.LocalScript
  155. local script = Instance.new('LocalScript')
  156. script.Parent = check
  157. local check = script.Parent.Parent.check
  158. local button = script.Parent
  159. local darcheck = false
  160.  
  161. button.MouseButton1Click:Connect(function()
  162.  
  163. if darcheck == false then
  164. darcheck = true
  165.  
  166. check.BorderColor3 = Color3.fromRGB(255,255,255)
  167.  
  168. _G.Enabled = true
  169. local player = game.Players.LocalPlayer
  170.  
  171. player.Character.HumanoidRootPart.CFrame = game.Workspace.BlackbeardQuest.CFrame + Vector3.new(-5,0,0)
  172.  
  173. while _G.Enabled do
  174. for i,v in pairs(game.Workspace:GetChildren()) do
  175. if v.Name == "Blackbeard" then
  176. local toolName = "Combat"
  177. local me = game:service'Players'.LocalPlayer
  178. me.Character.Humanoid:EquipTool(me.Backpack:FindFirstChild(toolName))
  179. v.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame
  180. game.workspace[game.Players.LocalPlayer.Name].Combat.ActionEvent:FireServer()
  181. wait(0.5)
  182. v.Humanoid.Health = 0
  183. local oh1 = "finishblackbeardquest"
  184. game:GetService("ReplicatedStorage").DialogEvent:FireServer(oh1)
  185. end
  186. end
  187. wait(1)
  188. end
  189.  
  190. else
  191.  
  192. if darcheck == true then
  193. darcheck = false
  194.  
  195. check.BorderColor3 = Color3.fromRGB(0,0,0)
  196.  
  197. _G.Enabled = false
  198. local player = game.Players.LocalPlayer
  199.  
  200. player.Character.HumanoidRootPart.CFrame = game.Workspace.BlackbeardQuest.CFrame + Vector3.new(-5,0,0)
  201.  
  202. while _G.Enabled do
  203. for i,v in pairs(game.Workspace:GetChildren()) do
  204. if v.Name == "Blackbeard" then
  205. local toolName = "Combat"
  206. local me = game:service'Players'.LocalPlayer
  207. me.Character.Humanoid:EquipTool(me.Backpack:FindFirstChild(toolName))
  208. v.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame
  209. game.workspace[game.Players.LocalPlayer.Name].Combat.ActionEvent:FireServer()
  210. wait(0.5)
  211. v.Humanoid.Health = 0
  212. local oh1 = "finishblackbeardquest"
  213. game:GetService("ReplicatedStorage").DialogEvent:FireServer(oh1)
  214. end
  215. end
  216. wait(1)
  217. end
  218.  
  219. end
  220.  
  221. end
  222.  
  223.  
  224. end)
  225.  
  226. end
  227. coroutine.resume(coroutine.create(SCRIPT_JWSB65_FAKESCRIPT))
  228. function SCRIPT_BBSQ87_FAKESCRIPT() -- Main.LocalScript
  229. local script = Instance.new('LocalScript')
  230. script.Parent = Main
  231. local UserInputService = game:GetService("UserInputService")
  232.  
  233. local gui = script.Parent.Parent.Main
  234.  
  235. local dragging
  236. local dragInput
  237. local dragStart
  238. local startPos
  239.  
  240. local function update(input)
  241. local delta = input.Position - dragStart
  242. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  243. end
  244.  
  245. gui.InputBegan:Connect(function(input)
  246. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  247. dragging = true
  248. dragStart = input.Position
  249. startPos = gui.Position
  250.  
  251. input.Changed:Connect(function()
  252. if input.UserInputState == Enum.UserInputState.End then
  253. dragging = false
  254. end
  255. end)
  256. end
  257. end)
  258.  
  259. gui.InputChanged:Connect(function(input)
  260. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  261. dragInput = input
  262. end
  263. end)
  264.  
  265. UserInputService.InputChanged:Connect(function(input)
  266. if input == dragInput and dragging then
  267. update(input)
  268. end
  269. end)
  270.  
  271. end
  272. coroutine.resume(coroutine.create(SCRIPT_BBSQ87_FAKESCRIPT))
  273. function SCRIPT_LJIS84_FAKESCRIPT() -- check_2.LocalScript
  274. local script = Instance.new('LocalScript')
  275. script.Parent = check_2
  276. local check = script.Parent.Parent.check
  277. local button = script.Parent
  278. local darcheck = false
  279.  
  280. button.MouseButton1Click:Connect(function()
  281.  
  282. if darcheck == false then
  283. darcheck = true
  284.  
  285. check.BorderColor3 = Color3.fromRGB(255,255,255)
  286.  
  287. _G.Enabled = true
  288. local player = game.Players.LocalPlayer
  289.  
  290. player.Character.HumanoidRootPart.CFrame = game.Workspace.WhitebeardQuest.CFrame + Vector3.new(-5,0,0)
  291.  
  292. while _G.Enabled do
  293. for i,v in pairs(game.Workspace:GetChildren()) do
  294. if v.Name == "Whitebeard" then
  295. local toolName = "Combat"
  296. local me = game:service'Players'.LocalPlayer
  297. me.Character.Humanoid:EquipTool(me.Backpack:FindFirstChild(toolName))
  298. v.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame
  299. game.workspace[game.Players.LocalPlayer.Name].Combat.ActionEvent:FireServer()
  300. wait(0.5)
  301. v.Humanoid.Health = 0
  302. local oh1 = "finishblackbeardquest"
  303. game:GetService("ReplicatedStorage").DialogEvent:FireServer(oh1)
  304. end
  305. end
  306. wait(1)
  307. end
  308.  
  309. else
  310.  
  311. if darcheck == true then
  312. darcheck = false
  313.  
  314. check.BorderColor3 = Color3.fromRGB(0,0,0)
  315.  
  316. _G.Enabled = true
  317. local player = game.Players.LocalPlayer
  318.  
  319. player.Character.HumanoidRootPart.CFrame = game.Workspace.WhitebeardQuest.CFrame + Vector3.new(-5,0,0)
  320.  
  321. while _G.Enabled do
  322. for i,v in pairs(game.Workspace:GetChildren()) do
  323. if v.Name == "Whitebeard" then
  324. local toolName = "Combat"
  325. local me = game:service'Players'.LocalPlayer
  326. me.Character.Humanoid:EquipTool(me.Backpack:FindFirstChild(toolName))
  327. v.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame
  328. game.workspace[game.Players.LocalPlayer.Name].Combat.ActionEvent:FireServer()
  329. wait(0.5)
  330. v.Humanoid.Health = 0
  331. local oh1 = "finishblackbeardquest"
  332. game:GetService("ReplicatedStorage").DialogEvent:FireServer(oh1)
  333. end
  334. end
  335. wait(1)
  336. end
  337.  
  338.  
  339.  
  340. end
  341.  
  342. end
  343.  
  344.  
  345. end)
  346.  
  347. end
  348. coroutine.resume(coroutine.create(SCRIPT_LJIS84_FAKESCRIPT))
  349. function SCRIPT_HDFN78_FAKESCRIPT() -- check_3.LocalScript
  350. local script = Instance.new('LocalScript')
  351. script.Parent = check_3
  352. local check = script.Parent.Parent.check
  353. local button = script.Parent
  354. local darcheck = false
  355.  
  356. button.MouseButton1Click:Connect(function()
  357.  
  358. if darcheck == false then
  359. darcheck = true
  360.  
  361. check.BorderColor3 = Color3.fromRGB(255,255,255)
  362. local player = game.Players.LocalPlayer
  363. player.Character.Head.Overhead:Remove()
  364.  
  365. else
  366.  
  367. if darcheck == true then
  368. darcheck = false
  369.  
  370. check.BorderColor3 = Color3.fromRGB(0,0,0)
  371.  
  372.  
  373.  
  374. end
  375. end
  376.  
  377. end)
  378.  
  379. end
  380. coroutine.resume(coroutine.create(SCRIPT_HDFN78_FAKESCRIPT))
  381. function SCRIPT_WISN86_FAKESCRIPT() -- check_4.LocalScript
  382. local script = Instance.new('LocalScript')
  383. script.Parent = check_4
  384. local check = script.Parent.Parent.check
  385. local button = script.Parent
  386. local darcheck = false
  387.  
  388. button.MouseButton1Click:Connect(function()
  389.  
  390. if darcheck == false then
  391. darcheck = true
  392.  
  393. check.BorderColor3 = Color3.fromRGB(255,255,255)
  394.  
  395. local player = game.Players.LocalPlayer
  396. _G.Enabled = true
  397.  
  398. while _G.Enabled do
  399. for i,v in pairs(game:GetDescendants()) do
  400. if v.Name == "Chest" then
  401. player.Character.HumanoidRootPart.CFrame = v.CFrame
  402. wait(0.5)
  403. end
  404. if v:IsA("ClickDetector") then fireclickdetector(v)
  405. end
  406. end
  407.  
  408. for i,v in pairs(game:GetDescendants()) do
  409. if v.Name == "Silver Chest" then
  410. player.Character.HumanoidRootPart.CFrame = v.CFrame
  411. wait(0.5)
  412. end
  413. if v:IsA("ClickDetector") then fireclickdetector(v)
  414. end
  415. end
  416.  
  417. for i,v in pairs(game:GetDescendants()) do
  418. if v.Name == "Gold Chest" then
  419. player.Character.HumanoidRootPart.CFrame = v.CFrame
  420. wait(0.5)
  421. end
  422. if v:IsA("ClickDetector") then fireclickdetector(v)
  423. end
  424. end
  425. wait()
  426. end
  427.  
  428. else
  429.  
  430. if darcheck == true then
  431. darcheck = false
  432.  
  433. check.BorderColor3 = Color3.fromRGB(0,0,0)
  434.  
  435. local player = game.Players.LocalPlayer
  436.  
  437. _G.Enabled = false
  438.  
  439. while _G.Enabled do
  440. for i,v in pairs(game:GetDescendants()) do
  441. if v.Name == "Chest" then
  442. player.Character.HumanoidRootPart.CFrame = v.CFrame
  443. wait(0.5)
  444. end
  445. if v:IsA("ClickDetector") then fireclickdetector(v)
  446. end
  447. end
  448.  
  449. for i,v in pairs(game:GetDescendants()) do
  450. if v.Name == "Silver Chest" then
  451. player.Character.HumanoidRootPart.CFrame = v.CFrame
  452. wait(0.5)
  453. end
  454. if v:IsA("ClickDetector") then fireclickdetector(v)
  455. end
  456. end
  457.  
  458. for i,v in pairs(game:GetDescendants()) do
  459. if v.Name == "Gold Chest" then
  460. player.Character.HumanoidRootPart.CFrame = v.CFrame
  461. wait(0.5)
  462. end
  463. if v:IsA("ClickDetector") then fireclickdetector(v)
  464. end
  465. end
  466. wait()
  467. end
  468.  
  469.  
  470.  
  471.  
  472.  
  473. end
  474. end
  475.  
  476. end)
  477.  
  478. end
  479. coroutine.resume(coroutine.create(SCRIPT_WISN86_FAKESCRIPT))
Add Comment
Please, Sign In to add comment