2019 Booga Booga [REBORN] Script | AUTOFARM

Png-29.png

Created by Ninjainfer

Features:

  • AUTOFARM

use god rock
equip tool and then run script

local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TweenService = game:GetService("TweenService")
local ui = loadstring(game:HttpGet("https://raw.githubusercontent.com/Singularity5490/rbimgui-2/main/rbimgui-2.lua"))()
local window = ui.new({text="autofarm"})
local tab = window.new({text = "main"})
local autofarmToggle = tab.new("Switch", {text="autofarm"})

-- wrote this myself :sunglasses:
local function getClosestObject(folder)
   local distance, part = math.huge, nil
   local mainPart
   for i,v in pairs(folder:GetChildren()) do
       local HRPPosition = Players.LocalPlayer.Character.HumanoidRootPart.Position

       for i2,v2 in pairs(v:GetChildren()) do
           if v2:IsA("BasePart") then
               mainPart = v2
               break
           end
       end

       if mainPart and not mainPart.Parent:FindFirstChild("Humanoid") and mainPart.Parent:FindFirstChild("Health") then
           local realDistance = math.abs((HRPPosition - mainPart.Position).Magnitude)

           if realDistance < distance then
               distance = realDistance
               part = mainPart
           end
       end
   end
   return part
end

local function getClosestPickups(folder)
   local pickups = {}
   for i,v in pairs(folder:GetChildren()) do
       if v:FindFirstChild("Pickup") and v:IsA("BasePart") and table.find(pickups,v) == nil then
           if (Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).Magnitude <= 30 then
               table.insert(pickups, v)
           end
       end
   end
   return pickups
end


while wait(0.3) do
   if autofarmToggle.on then
       local part = getClosestObject(workspace)
       local HRPPosition = Players.LocalPlayer.Character.HumanoidRootPart.Position
       local realDistance = math.round(math.abs((HRPPosition - part.Position).Magnitude))
   
       ReplicatedStorage.Events.SwingTool:FireServer(ReplicatedStorage.RelativeTime.Value, {
           [1] = part
       })
       for i,v in pairs(getClosestPickups(workspace)) do
           game:GetService("ReplicatedStorage").Events.Pickup:FireServer(v)
       end
       wait(0.1)
       if part.Position.Y <= 30 then
           TweenService:Create(Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(realDistance/10, Enum.EasingStyle.Linear), {CFrame=part.CFrame+Vector3.new(0,part.Size.Y,0)}):Play()
           task.wait(realDistance/10)
       end
   end
end

ENJOY!

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script!

ENJOY!

 

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script or Get it from Pastebin!

About Us

What is arponag.xyz? arponag.xyz is a website focused on releasing safe exploits, we only release the best and most trusted exploits on our website, guaranteed to satisfy you. Contact us [email protected]

Safety

Is this safe to use? Everything on the website has been scanned and tested by professionals and the community, we only release the best exploits for our users, so we make sure that our exploits won’t harm your devices, everything here is clean.

Copyright © 2018 – 2020 Arpon AG | All rights reserved |
Privacy Policy | Terms of Service