Diving Legends
5.9k Views
569 Executions

auto collect rings

Diving Legends
_OpenSource_
_OpenSource_Published 25
7 months ago
Please login to perform these actions:

auto collect rings is a Diving Legends script for Roblox, uploaded to ScriptBlox on Mar 22, 2026.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

fast tp to all rings

View Raw
--// SERVICES
local Players = game:GetService("Players")
local player = Players.LocalPlayer

--// VARIABLES
local running = false
local folder = workspace:WaitForChild("_LocalCollectableObjects")

--// GET ROOT
local function getRoot()
    local char = player.Character or player.CharacterAdded:Wait()
    return char:WaitForChild("HumanoidRootPart")
end

--// SORT CLOSE → FAR
local function getSortedObjects()
    local root = getRoot()
    local objs = {}

    for _, v in pairs(folder:GetChildren()) do
        if v:IsA("BasePart") then
            table.insert(objs, v)
        elseif v:FindFirstChildWhichIsA("BasePart") then
            table.insert(objs, v:FindFirstChildWhichIsA("BasePart"))
        end
    end

    table.sort(objs, function(a, b)
        return (a.Position - root.Position).Magnitude < (b.Position - root.Position).Magnitude
    end)

    return objs
end

--// TP LOOP
task.spawn(function()
    while true do
        if running then
            local root = getRoot()
            local sorted = getSortedObjects()


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!