rayanfrfr

Build A Boat For Treasure OP AutoFarm

Feb 12th, 2022
1,484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.34 KB | None | 0 0
  1. -- by rayanfrfr#9999
  2.  
  3. -- Instances:
  4.  
  5. local ScreenGui = Instance.new("ScreenGui")
  6. local Main = Instance.new("Frame")
  7. local AutoFarm = Instance.new("TextButton")
  8. local Title = Instance.new("TextLabel")
  9. local Credit = Instance.new("TextLabel")
  10.  
  11. --Properties:
  12.  
  13. ScreenGui.Parent = game.CoreGui
  14. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  15.  
  16. Main.Name = "Main"
  17. Main.Parent = ScreenGui
  18. Main.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
  19. Main.Position = UDim2.new(0.660461664, 0, 0.37005347, 0)
  20. Main.Size = UDim2.new(0, 234, 0, 243)
  21. Main.Active = true
  22. Main.Draggable = true
  23.  
  24. AutoFarm.Name = "AutoFarm"
  25. AutoFarm.Parent = Main
  26. AutoFarm.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  27. AutoFarm.BorderColor3 = Color3.fromRGB(61, 61, 61)
  28. AutoFarm.Position = UDim2.new(0.0726495758, 0, 0.423868299, 0)
  29. AutoFarm.Size = UDim2.new(0, 200, 0, 50)
  30. AutoFarm.Font = Enum.Font.SourceSans
  31. AutoFarm.Text = "AutoFarm"
  32. AutoFarm.TextColor3 = Color3.fromRGB(0, 0, 0)
  33. AutoFarm.TextSize = 36.000
  34. AutoFarm.MouseButton1Click:connect(function()
  35.     _G.farm = true
  36.     local times = 0
  37.     while _G.farm == true do
  38.         local T = game.Players.LocalPlayer.Character.HumanoidRootPart
  39.         local BV = Instance.new('BodyVelocity', T)
  40.         BV.Velocity = Vector3.new('0,-0.1,0')
  41.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-49.705349, 50, -496.427887)
  42.         print('Initiating ' .. times)
  43.         while T.CFrame.Z < 9513.75293 do
  44.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  45.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  46.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  47.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  48.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  49.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  50.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  51.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  52.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  53.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  54.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  55.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  56.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  57.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  58.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  59.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  60.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  61.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  62.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  63.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  64.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  65.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  66.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  67.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  68.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  69.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  70.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  71.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  72.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  73.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  74.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  75.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  76.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  77.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  78.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  79.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  80.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  81.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  82.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  83.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  84.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  85.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  86.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  87.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  88.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  89.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  90.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  91.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  92.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  93.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  94.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  95.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  96.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  97.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  98.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  99.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  100.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  101.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  102.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  103.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  104.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  105.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  106.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  107.             T.CFrame = T.CFrame + Vector3.new(0,0,0.1)
  108.             wait()
  109.         end
  110.         T.BodyVelocity:Destroy()
  111.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-61, -351, 9524)
  112.         wait (0.5)
  113.         print('completed ' .. times)
  114.         times = tonumber(times + 1)
  115.         wait(5)
  116.         print('wait end')
  117.     end
  118. end)
  119.  
  120. Title.Name = "Title"
  121. Title.Parent = Main
  122. Title.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  123. Title.BorderColor3 = Color3.fromRGB(61, 61, 61)
  124. Title.Size = UDim2.new(0, 234, 0, 50)
  125. Title.Font = Enum.Font.SourceSans
  126. Title.Text = "Build A Boat For Treasure"
  127. Title.TextColor3 = Color3.fromRGB(0, 0, 0)
  128. Title.TextSize = 25.000
  129.  
  130. Credit.Name = "Credit"
  131. Credit.Parent = Main
  132. Credit.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
  133. Credit.BorderColor3 = Color3.fromRGB(47, 47, 47)
  134. Credit.Position = UDim2.new(0.337606847, 0, 0.827160478, 0)
  135. Credit.Size = UDim2.new(0, 155, 0, 42)
  136. Credit.Font = Enum.Font.SourceSans
  137. Credit.LineHeight = 0.000
  138. Credit.Text = "Created by rayanfrfr#9999"
  139. Credit.TextColor3 = Color3.fromRGB(0, 0, 0)
  140. Credit.TextSize = 17.000
Advertisement
Add Comment
Please, Sign In to add comment