Project New World Chest Farm

Script Credit :- Fire#8366
Features

For now just a chest farm, stops working if there are no chests in the server. (will fix later)
Would recommend to keep speed ~400-500

Script
--BROUGHT TO YOU BY RobloxScripter.com!--

_G.chesttoggle = false _G.speed = 500 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/miroeramaa/TurtleLib/main/TurtleUiLib.lua"))() local window = library:Window("Project New World Autofarm") window:Toggle("Chest Farm", false, function(bool) _G.chesttoggle = bool end) window:Slider("Speed",100,1000,500, function(value) _G.speed = value end) window:Toggle2("Fruit Farm", false, function(bool) _G.fruittoggle = bool end) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- local fold = Instance.new("Folder", workspace) fold.Name = "Tracers" function esp(thing) local cham = Instance.new("BoxHandleAdornment", thing) cham.Size = thing.Size cham.Transparency = 0 cham.Color3 = thing.Color cham.AlwaysOnTop = true cham.ZIndex = 1 cham.Adornee = thing local at0 = Instance.new("Attachment") at0.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart local at1 = Instance.new("Attachment") at1.Parent = thing local beam0 = Instance.new("Beam") beam0.Attachment0 = at0 beam0.Attachment1 = at1 beam0.Width0 = 0.25 beam0.Width1 = 0.25 beam0.Color = ColorSequence.new(thing.Color, thing.Color) beam0.Parent = workspace.Tracers end ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- function getdist(part) return(game.Players.LocalPlayer.Character.HumanoidRootPart.Position - part.Position).Magnitude end ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- function tele(part, speed) repeat wait() until game.Players.LocalPlayer.Character.HumanoidRootPart esp(part) dist = getdist(part) Time = math.round(dist / speed) tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(Time, Enum.EasingStyle.Linear) tween = tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(part.Position)}) tween:Play() repeat wait() until getdist(part) <= 2 wait(0.5) end ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- function findclosestchest() partdist=math.huge finalpart=nil repeat wait() until game.Workspace.Chest for i,v in pairs(game.Workspace:GetChildren()) do if v.Name == "Chest" then if v:FindFirstChild("Hitbox") then if getdist(v.Hitbox) < partdist then closepart = getdist(v.Hitbox) finalpart = v.Hitbox end end end end return(finalpart) end ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- while wait() do if _G.chesttoggle then tele(findclosestchest(), _G.speed) end end

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors