leevooo

Build A Boat OP HACK

Apr 18th, 2020
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.34 KB | None | 0 0
  1. --NOT MINE CREDITS GO TO THE OWNER--
  2.  
  3. local BuildABoatForTreasureFarmGUI = Instance.new("ScreenGui")
  4. local MainFrame = Instance.new("Frame")
  5. local Deco = Instance.new("TextLabel")
  6. local SpeedTextBox = Instance.new("TextBox")
  7. local SpeedDeco = Instance.new("TextLabel")
  8. local OnceButton = Instance.new("TextButton")
  9. local AutofarmButton = Instance.new("TextButton")
  10. local AutofarmDeco = Instance.new("TextLabel")
  11.  
  12. BuildABoatForTreasureFarmGUI.Name = "BuildABoatForTreasureFarmGUI"
  13. BuildABoatForTreasureFarmGUI.Parent = game.CoreGui
  14.  
  15. MainFrame.Name = "MainFrame"
  16. MainFrame.Parent = BuildABoatForTreasureFarmGUI
  17. MainFrame.Active = true
  18. MainFrame.Draggable = true
  19. MainFrame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  20. MainFrame.BorderSizePixel = 0
  21. MainFrame.Position = UDim2.new(0.25, 0, 0.25, 0)
  22. MainFrame.Size = UDim2.new(0.15, 0, 0.15, 0)
  23.  
  24. Deco.Name = "Deco"
  25. Deco.Parent = MainFrame
  26. Deco.BackgroundColor3 = Color3.new(1, 1, 1)
  27. Deco.BackgroundTransparency = 0.9
  28. Deco.BorderSizePixel = 0
  29. Deco.Size = UDim2.new(1, 0, 0.15, 0)
  30. Deco.Font = Enum.Font.SourceSansBold
  31. Deco.Text = "Build A Boat For Treasure Gold GUI"
  32. Deco.TextColor3 = Color3.new(1, 1, 1)
  33. Deco.TextScaled = true
  34. Deco.TextSize = 14
  35. Deco.TextWrapped = true
  36.  
  37. SpeedTextBox.Name = "SpeedTextBox"
  38. SpeedTextBox.Parent = MainFrame
  39. SpeedTextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  40. SpeedTextBox.BackgroundTransparency = 0.9
  41. SpeedTextBox.Position = UDim2.new(0.55, 0, 0.25, 0)
  42. SpeedTextBox.Size = UDim2.new(0.35, 0, 0.15, 0)
  43. SpeedTextBox.Font = Enum.Font.SourceSansBold
  44. SpeedTextBox.Text = "45"
  45. SpeedTextBox.TextColor3 = Color3.new(1, 1, 1)
  46. SpeedTextBox.TextScaled = true
  47. SpeedTextBox.TextSize = 14
  48. SpeedTextBox.TextWrapped = true
  49.  
  50. SpeedDeco.Name = "SpeedDeco"
  51. SpeedDeco.Parent = MainFrame
  52. SpeedDeco.BackgroundColor3 = Color3.new(1, 1, 1)
  53. SpeedDeco.BackgroundTransparency = 1
  54. SpeedDeco.BorderSizePixel = 0
  55. SpeedDeco.Position = UDim2.new(0.1, 0, 0.25, 0)
  56. SpeedDeco.Size = UDim2.new(0.40, 0, 0.15, 0)
  57. SpeedDeco.Font = Enum.Font.SourceSansBold
  58. SpeedDeco.Text = "Speed"
  59. SpeedDeco.TextColor3 = Color3.new(1, 1, 1)
  60. SpeedDeco.TextScaled = true
  61. SpeedDeco.TextSize = 14
  62. SpeedDeco.TextWrapped = true
  63.  
  64. OnceButton.Name = "OnceButton"
  65. OnceButton.Parent = MainFrame
  66. OnceButton.BackgroundColor3 = Color3.new(0, 0, 0)
  67. OnceButton.BorderSizePixel = 0
  68. OnceButton.Position = UDim2.new(0.1, 0, 0.55, 0)
  69. OnceButton.Size = UDim2.new(0.8, 0, 0.2, 0)
  70. OnceButton.Font = Enum.Font.SourceSans
  71. OnceButton.Text = "Go once"
  72. OnceButton.TextColor3 = Color3.new(1, 0.85098, 0)
  73. OnceButton.TextScaled = true
  74. OnceButton.TextSize = 14
  75. OnceButton.TextWrapped = true
  76.  
  77. AutofarmButton.Name = "AutofarmButton"
  78. AutofarmButton.Parent = MainFrame
  79. AutofarmButton.BackgroundColor3 = Color3.new(0, 0, 0)
  80. AutofarmButton.BorderSizePixel = 0
  81. AutofarmButton.Position = UDim2.new(0.55, 0, 0.8, 0)
  82. AutofarmButton.Size = UDim2.new(0.35, 0, 0.15, 0)
  83. AutofarmButton.Font = Enum.Font.SourceSans
  84. AutofarmButton.Text = "OFF"
  85. AutofarmButton.TextColor3 = Color3.new(1, 0, 0)
  86. AutofarmButton.TextScaled = true
  87. AutofarmButton.TextSize = 14
  88. AutofarmButton.TextWrapped = true
  89.  
  90. AutofarmDeco.Name = "AutofarmDeco"
  91. AutofarmDeco.Parent = MainFrame
  92. AutofarmDeco.BackgroundColor3 = Color3.new(1, 1, 1)
  93. AutofarmDeco.BackgroundTransparency = 1
  94. AutofarmDeco.BorderSizePixel = 0
  95. AutofarmDeco.Position = UDim2.new(0.1, 0, 0.8, 0)
  96. AutofarmDeco.Size = UDim2.new(0.40, 0, 0.15, 0)
  97. AutofarmDeco.Font = Enum.Font.SourceSansBold
  98. AutofarmDeco.Text = "Autofarm"
  99. AutofarmDeco.TextColor3 = Color3.new(1, 1, 1)
  100. AutofarmDeco.TextScaled = true
  101. AutofarmDeco.TextSize = 14
  102. AutofarmDeco.TextWrapped = true
  103.  
  104.  
  105.  
  106. local running = false
  107.  
  108.  
  109. spawn(function()
  110. game:getService("RunService"):BindToRenderStep("", 0,function()
  111. pcall(function()
  112. if not game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid") then return end
  113. if not running == true then return end
  114. game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)
  115. end)
  116. end)
  117. end)
  118.  
  119. function doTheThing()
  120. if running == false then
  121. local checks = workspace.BoatTerrains:getDescendants()
  122. for i=1,#checks do
  123. running = true
  124. if checks[i].Name == "DarknessPart" or checks[i].Name == "GatePart" then
  125. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  126. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = checks[i].CFrame
  127. end
  128. wait(18.9/tonumber(SpeedTextBox.Text)) -- lol dont ask
  129. end
  130. end
  131. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.GoldenChest.Collider.CFrame
  132. repeat
  133. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  134. game.Players.LocalPlayer.Character.Humanoid.Jump = true
  135. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.GoldenChest.Collider.CFrame
  136. end
  137. wait()
  138. until not game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
  139. running = false
  140. end
  141. end
  142.  
  143. OnceButton.MouseButton1Down:connect(function()
  144. doTheThing()
  145. end)
  146.  
  147. local autofarming = false
  148. AutofarmButton.MouseButton1Down:connect(function()
  149. if AutofarmButton.Text == "ON" then
  150. AutofarmButton.Text = "OFF"
  151. AutofarmButton.TextColor3 = Color3.fromRGB(255,0,0)
  152. autofarming = false
  153. running = false
  154. else
  155. AutofarmButton.Text = "ON"
  156. AutofarmButton.TextColor3 = Color3.fromRGB(0,255,0)
  157. autofarming = true
  158. end
  159. end)
  160.  
  161. spawn(function()
  162. while true do
  163. wait(0.1)
  164. if autofarming == true then
  165. doTheThing()
  166. end
  167. end
  168. end)
Add Comment
Please, Sign In to add comment