Advertisement
UBPloit

Build A boat for treasure

Mar 7th, 2020
58,586
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.59 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Main = Instance.new("Frame")
  6. local topf = Instance.new("Frame")
  7. local TOP = Instance.new("TextLabel")
  8. local exit = Instance.new("TextButton")
  9. local cREDT = Instance.new("Frame")
  10. local by = Instance.new("TextLabel")
  11. local farmauto = Instance.new("TextButton")
  12. local unlimited = Instance.new("TextButton")
  13. local openf = Instance.new("Frame")
  14. local open = Instance.new("TextButton")
  15. --Properties:
  16. ScreenGui.Parent = game.CoreGui
  17. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18.  
  19. Main.Name = "Main"
  20. Main.Parent = ScreenGui
  21. Main.BackgroundColor3 = Color3.new(1, 0.929412, 0.152941)
  22. Main.Position = UDim2.new(0.384259254, 0, 0.354581654, 0)
  23. Main.Size = UDim2.new(0, 250, 0, 145)
  24. Main.Active = true
  25. Main.Visible = false
  26. Main.Draggable = true
  27.  
  28. topf.Name = "topf"
  29. topf.Parent = Main
  30. topf.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  31. topf.Size = UDim2.new(0, 250, 0, 32)
  32.  
  33. TOP.Name = "TOP"
  34. TOP.Parent = topf
  35. TOP.BackgroundColor3 = Color3.new(1, 1, 1)
  36. TOP.BackgroundTransparency = 1
  37. TOP.Size = UDim2.new(0, 250, 0, 32)
  38. TOP.Font = Enum.Font.GothamBlack
  39. TOP.Text = "BABFT FARMER"
  40. TOP.TextColor3 = Color3.new(1, 1, 1)
  41. TOP.TextSize = 14
  42. TOP.TextWrapped = true
  43.  
  44. exit.Name = "exit"
  45. exit.Parent = topf
  46. exit.BackgroundColor3 = Color3.new(1, 1, 1)
  47. exit.BackgroundTransparency = 1
  48. exit.Position = UDim2.new(0.896000028, 0, 0.09375, 0)
  49. exit.Size = UDim2.new(0, 26, 0, 25)
  50. exit.Font = Enum.Font.GothamBlack
  51. exit.Text = "X"
  52. exit.TextColor3 = Color3.new(0.988235, 0.988235, 0.988235)
  53. exit.TextSize = 14
  54. exit.MouseButton1Down:connect(function()
  55. Main.Visible = false
  56. openf.Visible = true
  57. end)
  58.  
  59. cREDT.Name = "cREDYT"
  60. cREDT.Parent = Main
  61. cREDT.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  62. cREDT.Position = UDim2.new(0, 0, 0.862068832, 0)
  63. cREDT.Size = UDim2.new(0, 250, 0, 20)
  64.  
  65. by.Name = "by"
  66. by.Parent = cREDT
  67. by.BackgroundColor3 = Color3.new(1, 1, 1)
  68. by.BackgroundTransparency = 1
  69. by.Size = UDim2.new(0, 250, 0, 20)
  70. by.Font = Enum.Font.SourceSans
  71. by.Text = "Gui By Sky Hacks"
  72. by.TextColor3 = Color3.new(1, 1, 1)
  73. by.TextSize = 14
  74.  
  75. farmauto.Name = "farmauto"
  76. farmauto.Parent = Main
  77. farmauto.BackgroundColor3 = Color3.new(0.980392, 0.32549, 0)
  78. farmauto.Position = UDim2.new(0.180000007, 0, 0.324137926, 0)
  79. farmauto.Size = UDim2.new(0, 159, 0, 21)
  80. farmauto.Font = Enum.Font.GothamBlack
  81. farmauto.Text = "AutoFarm"
  82. farmauto.TextColor3 = Color3.new(1, 1, 1)
  83. farmauto.TextSize = 14
  84.  
  85. unlimited.Name = "unlimited"
  86. unlimited.Parent = Main
  87. unlimited.BackgroundColor3 = Color3.new(0.980392, 0.32549, 0)
  88. unlimited.Position = UDim2.new(0.180000007, 0, 0.565517247, 0)
  89. unlimited.Size = UDim2.new(0, 159, 0, 21)
  90. unlimited.Font = Enum.Font.GothamBlack
  91. unlimited.Text = "UnlimitedItem"
  92. unlimited.TextColor3 = Color3.new(1, 1, 1)
  93. unlimited.TextSize = 14
  94.  
  95. openf.Name = "openf"
  96. openf.Parent = ScreenGui
  97. openf.BackgroundColor3 = Color3.new(1, 0.972549, 0.160784)
  98. openf.Position = UDim2.new(0, 0, 0.641434252, 0)
  99. openf.Size = UDim2.new(0, 71, 0, 23)
  100.  
  101. open.Name = "open"
  102. open.Parent = openf
  103. open.BackgroundColor3 = Color3.new(1, 1, 1)
  104. open.BackgroundTransparency = 1
  105. open.Size = UDim2.new(0, 71, 0, 23)
  106. open.Font = Enum.Font.GothamBlack
  107. open.Text = "Open"
  108. open.TextColor3 = Color3.new(1, 1, 1)
  109. open.TextSize = 14
  110. open.TextStrokeTransparency = 0
  111. open.MouseButton1Down:connect(function()
  112. openf.Visible = false
  113. Main.Visible = true
  114. end)
  115.  
  116. --scripts:
  117.  
  118. unlimited.MouseButton1Down:connect(function()
  119. local Plr = game:GetService("Players").LocalPlayer
  120. local Mouse = Plr:GetMouse()
  121. local Block = ""
  122. local iBlock = nil
  123. local ED = true
  124. local CON = Color3.new(0.0588235, 0.203922, 0.0509804)
  125. local COFF = Color3.new(0.203922, 0.0588235, 0.0588235)
  126. local BuildABoatForTreasure = Instance.new("ScreenGui")
  127. local BTN = Instance.new("TextButton")
  128.  
  129. local function RV()
  130. local res = ""
  131. for i = 1, 20 do
  132. res = res .. string.char(math.random(97, 122))
  133. end
  134. return res
  135. end
  136.  
  137. BuildABoatForTreasure.Name = RV()
  138. BuildABoatForTreasure.Parent = game.CoreGui
  139. BuildABoatForTreasure.ResetOnSpawn = false
  140.  
  141. BTN.Name = RV()
  142. BTN.Parent = BuildABoatForTreasure
  143. BTN.BackgroundColor3 = CON
  144. BTN.BackgroundTransparency = 0.30000001192093
  145. BTN.BorderColor3 = Color3.new(0.113725, 0.113725, 0.113725)
  146. BTN.BorderSizePixel = 2
  147. BTN.Position = UDim2.new(0, 0, 0.819734335, 0)
  148. BTN.Size = UDim2.new(0, 73, 0, 19)
  149. BTN.Font = Enum.Font.Code
  150. BTN.Text = " ENABLED"
  151. BTN.TextColor3 = Color3.new(1, 1, 1)
  152. BTN.TextSize = 16
  153. BTN.TextXAlignment = Enum.TextXAlignment.Left
  154.  
  155. BTN.MouseButton1Down:Connect(function()
  156. if ED then
  157. ED = false
  158. BTN.BackgroundColor3 = COFF
  159. BTN.Text = " DISABLED"
  160. BTN.Size = UDim2.new(0, 80, 0, 19)
  161. else
  162. ED = true
  163. BTN.BackgroundColor3 = CON
  164. BTN.Text = " ENABLED"
  165. BTN.Size = UDim2.new(0, 73, 0, 19)
  166. end
  167. end)
  168.  
  169. local function refresh()
  170. while wait(2)do
  171. if ED then
  172. for i,v in pairs(game.Workspace:GetChildren())do
  173. if v:FindFirstChild("Tag") then
  174. if v:FindFirstChild("Tag").Value == "" then
  175. iBlock = v
  176. end
  177. end
  178. end
  179. for i,b in pairs(game.Players.LocalPlayer.PlayerGui.BuildGui.ScrollingFrame.BlocksFrame:GetChildren())do
  180. if b.Name == "Selected" or b.Name == "UIGridLayout" or b.Name == "GamePadSelectLocalScript" then else
  181. b.Visible = true
  182. end
  183. end
  184. end
  185. end
  186. end
  187.  
  188. local function GetNum()
  189. return game.Players.LocalPlayer.PlayerGui.BuildGui.ScrollingFrame.BlocksFrame[Block].Amount.Value
  190. end
  191.  
  192. local this = Instance.new("Model", game.Workspace)
  193. this.Name = RV()
  194. local this2 = Instance.new("Part", this)
  195. this2.Name = "PPart"
  196.  
  197. Mouse.Button1Down:connect(function()
  198. if game.Workspace[Plr.Name]:FindFirstChild("BuildingTool")and ED then
  199. Block = game.Players.LocalPlayer.PlayerGui.BuildGui.ScrollingFrame.BlocksFrame.Selected.Value
  200. game.Workspace[Plr.Name]:FindFirstChild("BuildingTool").RF:InvokeServer(unpack({Block, GetNum(), this.PPart, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 3, true, 17, iBlock:GetModelCFrame()}))
  201. end
  202. end)
  203.  
  204. Plr:GetMouse().KeyDown:connect(function(key)
  205. if key == 'q' and ED then
  206. if Mouse.Target then
  207. Plr.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z)
  208. end
  209. end
  210. end)
  211. refresh()
  212. --Scelt got this do you! but not a real owner of it thought.
  213. end)
  214.  
  215.  
  216. farmauto.MouseButton1Down:connect(function()
  217. _G.farm = true
  218. local times = 0
  219. while _G.farm == true do
  220. local T = game.Players.LocalPlayer.Character.HumanoidRootPart
  221. local BV = Instance.new('BodyVelocity', T)
  222. BV.Velocity = Vector3.new('0,-0.1,0')
  223. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-49.705349, 50, -496.427887)
  224. print('Initiating ' .. times)
  225. while T.CFrame.Z < 9513.75293 do
  226. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  227. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  228. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  229. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  230. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  231. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  232. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  233. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  234. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  235. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  236. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  237. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  238. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  239. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  240. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  241. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  242. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  243. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  244. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  245. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  246. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  247. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  248. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  249. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  250. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  251. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  252. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  253. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  254. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  255. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  256. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  257. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  258. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  259. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  260. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  261. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  262. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  263. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  264. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  265. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  266. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  267. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  268. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  269. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  270. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  271. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  272. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  273. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  274. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  275. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  276. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  277. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  278. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  279. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  280. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  281. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  282. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  283. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  284. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  285. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  286. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  287. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  288. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  289. T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  290. wait()
  291. end
  292. T.BodyVelocity:Destroy()
  293. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-61, -351, 9524)
  294. wait (0.5)
  295. print('completed ' .. times)
  296. times = tonumber(times + 1)
  297. wait(5)
  298. print('wait end')
  299. end
  300. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement