Automated Dabux Navigation
Key Required

Automated Dabux Navigation

Dark Journey [Alpha]poopysloopydoopypoopysloopydoopy 1.6K views 696 executesUpdated Mar 5, 2026
Unrated
00
Lua Script•60 lines (1907 chars)
local player = game:GetService("Players").LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local root = character:WaitForChild("HumanoidRootPart")

local function getRankedClusters()
    local allDabux = {}
    local clusters = {}
    
    -- 1. Scan the map for Dabux
    for _, obj in pairs(workspace:GetDescendants()) do
        if obj.Name == "Dabux" then
            local part = obj:IsA("BasePart") and obj or obj:FindFirstChildWhichIsA("BasePart")
            if part then 
                table.insert(allDabux, part) 
            end
        end
    end

    -- 2. Group by density (30 stud radius)
    for _, primary in pairs(allDabux) do
        local neighbors = 0
        for _, secondary in pairs(allDabux) do
            if (primary.Position - secondary.Position).Magnitude <= 30 then
                neighbors = neighbors + 1
            end
        end
        table.insert(clusters, {cf = primary.CFrame, count = neighbors})
    end

    -- 3. Rank them
    table.sort(clusters, function(a, b) return a.count > b.count end)
    return clusters
end

-- PHASE 1: THE BIGGEST PILE
local rankedList = getRankedClusters()

if #rankedList >= 1 then
    local first = rankedList[1]
    print("Teleporting to #1 Cluster (" .. first.count .. " Dabux within 30 studs)")
    root.CFrame = first.cf * CFrame.new(0, 3, 0)

    -- PHASE 2: THE 40-SECOND WAIT
    print("Teleported. Staying here for 40 seconds...")
    task.wait(40)

    -- PHASE 3: THE SECOND BIGGEST PILE
    rankedList = getRankedClusters()
    
    if #rankedList >= 2 then
        local second = rankedList[2]
        print("Moving to #2 Cluster (" .. second.count .. " Dabux within 30 studs)")
        root.CFrame = second.cf * CFrame.new(0, 3, 0)
        print("Finished. Enjoy your Dabux.")
    else
        print("No second cluster found.")
    end
else
    print("No Dabux found on the map.")
end

Features & Information

You must collect the dabux manually before 40 seconds of the script being used before the 2nd Teleportation happens so be quick ,Teleportation Logic Targeting: The script automatically detects the two largest clusters. Initial Jump: It will immediately teleport to the first (largest) cluster upon activation. Cooldown: A 40 second delay is required after the initial jump before the script will automatically teleport to the second biggest cluster.

Community Comments (3)

poopysloopydoopypoopysloopydoopyMar 5, 2026

Also feel free to give me advice.

Owen_oweyOwen_oweyMar 25, 2026

Finally! A dark journey script

Replying to @Owen_owey
poopysloopydoopypoopysloopydoopyMar 26, 2026

@Owen_owey yeah I was tired of waiting for one so I just made one wish I knew how to make it auto collect and auto rejoin