fddddAV045

hack build a boat # tata hacker

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