rscripts.co

  • Home
  • Scripts
  • Executors
  • Externals
  • Game Codes
  • Discord
  • Upload
Login/Sign Up

Blox Fruits
4 months ago

Kopsu
Kopsu

·

February 12, 2025

·

Post Views: 92
– Collects Chests at fastest rate possible
– NO LAG
– Variable Speed (Lower it if you get kicked probably wont tho)
– Open Source (skid as much as you like) GIVE CREDIT optionally.
– No UI / No overhead
Recommend ANTI-AFK: https://github.com/luca5432/Roblox-ANTI-AFK-SCRIPT/blob/main/Script

Script Content:

local MaxSpeed = 300 -- Studs per second 380 no flag but kick

local LocalPlayer = game:GetService("Players").LocalPlayer
local Locations = workspace._WorldOrigin.Locations

local function getCharacter()
    if not LocalPlayer.Character then
        LocalPlayer.CharacterAdded:Wait()
    end
    LocalPlayer.Character:WaitForChild("HumanoidRootPart")
    return LocalPlayer.Character
end

local function DistanceFromPlrSort(ObjectList: table)
    local RootPart = getCharacter().LowerTorso
    table.sort(ObjectList, function(ChestA, ChestB)
        local RootPos = RootPart.Position
        local DistanceA = (RootPos - ChestA.Position).Magnitude
        local DistanceB = (RootPos - ChestB.Position).Magnitude
        return DistanceA < DistanceB
    end)
end

local UncheckedChests = {}
local FirstRun = true

local function getChestsSorted()
    if FirstRun then
        FirstRun = false
        local Objects = game:GetDescendants()
        for i, Object in pairs(Objects) do
            if Object.Name:find("Chest") and Object.ClassName == "Part" then
                table.insert(UncheckedChests, Object)
            end
        end
    end
    local Chests = {}
    for i, Chest in pairs(UncheckedChests) do
        if Chest:FindFirstChild("TouchInterest") then
            table.insert(Chests, Chest)
        end
    end
    DistanceFromPlrSort(Chests)
    return Chests
end

local function toggleNoclip(Toggle: boolean)
    for i,v in pairs(getCharacter():GetChildren()) do
        if v.ClassName == "Part" then
            v.CanCollide = not Toggle
        end
    end
end

local function Teleport(Goal: CFrame, Speed)
    if not Speed then
        Speed = MaxSpeed
    end
    toggleNoclip(true)
    local RootPart = getCharacter().HumanoidRootPart
    local Magnitude = (RootPart.Position - Goal.Position).Magnitude

    RootPart.CFrame = RootPart.CFrame
    
    while not (Magnitude < 1) do
        local Direction = (Goal.Position - RootPart.Position).unit
        RootPart.CFrame = RootPart.CFrame + Direction * (Speed * wait())
        Magnitude = (RootPart.Position - Goal.Position).Magnitude
    end
    toggleNoclip(false)
end

local function main()
    while wait() do
        local Chests = getChestsSorted()
        if #Chests > 0 then
            Teleport(Chests[1].CFrame)
        else
            -- You can put serverhop here
        end
    end
end

wait = task.wait
main()
Play the game
  • Facebook
  • Instagram
  • Twitter
  • YouTube
  • GitHub
Fastapi Icon

rscripts.co

We understand the evolving needs of modern businesses and the challenges they face in today’s competitive landscape.

  • Facebook
  • Instagram
  • Twitter
  • YouTube
  • GitHub

Home

Features

Pricing

About Us

Contact

© Copyright – -. All rights reserved. Designed in WordPress

Terms of Service

Privacy Policy

Return to Top