auto farm open source keyless
Key Required

auto farm open source keyless

Noob Army Tycoon ⚔️(New noobs)Lipi_Lipi_ 3.1K views 1.9K executesUpdated Apr 14, 2026
5.0/ 5(2 votes)
20100% Positive
Lua Script•111 lines (4442 chars)
-- made by @kylosilly on discord [dm/add me if any issues]
-- [Upgraded with Rayfield UI & Stop/Resume Feature by Agent]

local character = game:GetService("Players").LocalPlayer.Character
local map = game:GetService("Workspace").Map
local treasures = map.Treasures
local obby_land = map.ObbyLand

getgenv().settings = {
    -- main setting
    auto_farm = false, -- Default aku matikan agar tidak langsung jalan sebelum UI dipencet
    -- misc setting
    farm_treasures = true 
}

function get_time()
    return os.date("%X")
end

-- =======================================================
-- 📱 MOD MENU (UI RAYFIELD)
-- =======================================================
local success, Rayfield = pcall(function()
    return loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
end)

if success then
    local Window = Rayfield:CreateWindow({
       Name = "🏆 Auto Farm Hub",
       LoadingTitle = "Memuat Script Upgrade...",
       LoadingSubtitle = "by Agent & kylosilly",
       ConfigurationSaving = { Enabled = false },
       KeySystem = false
    })

    local Tab = Window:CreateTab("Main Farm", 4483362458)

    Tab:CreateToggle({
       Name = "🚀 Aktifkan Auto Farm (Lanjut/Berhenti)",
       CurrentValue = false,
       Flag = "AutoFarmToggle",
       Callback = function(Value)
           getgenv().settings.auto_farm = Value
       end,
    })

    Tab:CreateToggle({
       Name = "💎 Auto Collect Treasures",
       CurrentValue = true,
       Flag = "TreasureToggle",
       Callback = function(Value)
           getgenv().settings.farm_treasures = Value
       end,
    })
end

-- =======================================================
-- ⚙️ BASE SCRIPT (Dipertahankan, hanya diubah sistem loop-nya)
-- =======================================================
task.spawn(function()
    while true do
        task.wait(0.5) -- Jeda aman agar game tidak freeze saat toggle dimatikan
        
        if getgenv().settings.auto_farm then
            local teleporters = obby_land.Teleporters
            local finish = obby_land.Finish
            
            if (#teleporters:GetChildren() == 0) or (#finish:GetChildren() == 0) then
                pcall(function() rconsoleprint("[Auto Farm] Teleporter or finish folder is empty. Attempting to fix. "..get_time().."\n") end)
                character:SetPrimaryPartCFrame(CFrame.new(obby_land.Model:GetPivot().Position))
                pcall(function() rconsoleprint("[Auto Farm] Empty folders fixed. "..get_time().."\n") end)
                task.wait(2)
            end
            
            local final_obby_teleporter = teleporters:FindFirstChild("11")
            local final_obby_finish = finish:FindFirstChild("11")
            
            if final_obby_teleporter and final_obby_finish then
                character:SetPrimaryPartCFrame(CFrame.new(final_obby_teleporter.Position))
                pcall(function() rconsoleprint("[Auto Farm] Starting last obby. "..get_time().."\n") end)
                task.wait(.5)
                fireproximityprompt(final_obby_teleporter.ProximityPrompt)
                task.wait(5)
                
                character:SetPrimaryPartCFrame(CFrame.new(final_obby_finish.Position))
                pcall(function() rconsoleprint("[Auto Farm] Teleported to the end. "..get_time().."\n") end)
                task.wait(.5)
                fireproximityprompt(final_obby_finish.ProximityPrompt)
                pcall(function() rconsoleprint("[Auto Farm] Claimed 20k. "..get_time().."\n") end)
                task.wait(.5)
            end
            
            -- Perbaikan: Menambahkan pengecekan toggle farm_treasures yang lupa dimasukkan author asli
            if getgenv().settings.farm_treasures then
                if (#treasures:GetChildren() < 3) then
                    continue
                end
                pcall(function() rconsoleprint("[Auto Farm] Collecting treasures. "..get_time().."\n") end)
                for _, v in pairs(treasures:GetChildren()) do
                    local prompt = v:FindFirstChildWhichIsA("ProximityPrompt")
                    if (not prompt) then
                        continue
                    end
                    character:SetPrimaryPartCFrame(CFrame.new(v.Position + Vector3.new(0, 20, 0)))
                    task.wait(.5)
                    fireproximityprompt(prompt)
                end
            end
        end
    end
end)

Features & Information

auto farm I just added a stop button
#free

Community Comments (7)

bcwoprobcwoproApr 15, 2026

ts looks ai

Replying to @bcwopro
Lipi_Lipi_Apr 17, 2026

@bcwopro yeah i did use ai to fix it but it worked perfectly don't worry

S3rialNUMB4rrrS3rialNUMB4rrrMay 23, 2026

basic chest or whatever it does fr, Collects chest n stuff

PoDsPoDsJul 7, 2026

is this still working?

Replying to @PoDs
MysticallMysticallOct 1, 2026

@PoDs yes

MysticallMysticallOct 1, 2026(edited)

Script breaks after dying, just re-execute

JuanchoXDJuanchoXDOct 6, 2026

W

More Scripts for Noob Army Tycoon ⚔️(New noobs)