local ReplicatedStorage = game:GetService("ReplicatedStorage")

local CollectIncomeRF = ReplicatedStorage:WaitForChild("Src")
    :WaitForChild("Packages")
    :WaitForChild(".pesde")
    :WaitForChild("[email protected]")
    :WaitForChild("knit")
    :WaitForChild("Services")
    :WaitForChild("KingdomService")
    :WaitForChild("RF")
    :WaitForChild("CollectBuildingIncome")

local function isUUID(str)
    if type(str) ~= "string" then return false end
    return string.match(str, "^%x%x%x%x%x%x%x%x%-%x%x%x%x%-%x%x%x%x%-%x%x%x%x%-%x%x%x%x%x%x%x%x%x%x%x%x$") ~= nil
end

local function CollectInstantly()
    local foundUUIDs = {}

    -- Ignore BaseParts to optimize performance, checking only Models and Folders
    for _, obj in ipairs(workspace:GetDescendants()) do
        if obj:IsA("Model") or obj:IsA("Folder") then
            local uuid = nil
            
            if isUUID(obj.Name) then
                uuid = obj.Name
            else
                local attr = obj:GetAttribute("UUID") or obj:GetAttribute("Id") or obj:GetAttribute("BuildingId")
                if isUUID(attr) then
                    uuid = attr
                end
            end
            
            if uuid and not foundUUIDs[uuid] then
                foundUUIDs[uuid] = true
            end
        end
    end

    -- Send all requests simultaneously
    for uuid in pairs(foundUUIDs) do
        task.spawn(function()
            pcall(function()
                CollectIncomeRF:InvokeServer(uuid)
            end)
        end)
    end
end

CollectInstantly()
[BETA] Be the King πŸ‘‘ PulseX - Collect All Income
2,961 views
4 months ago

PulseX - Collect All Income

WORKING
Free

Description

Working on Paid Executors (Synapse Z, Potassium, etc...)

Free Script to Collect all Income (Gold Coins)

Related Scripts