Protect The House From Monsters
12.2k Views
1.2k Executions

Anti Lag Remove Trees

Protect The House From Monsters
_JAI
_JAIPublished 10
1 year ago
Please login to perform these actions:

Anti Lag Remove Trees is a Protect The House From Monsters script for Roblox, uploaded to ScriptBlox on Sep 1, 2025.

Does it work?

No reports yet

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

Also noticed:

Description

- Remove trees literally - To revert, you must rejoin

View Raw
local trees = {}

local function scan(parent)
    for _, obj in ipairs(parent:GetChildren()) do
        if string.find(obj.Name:lower(), "tree") then
            table.insert(trees, obj)
        else
            local found = false
            for _, child in ipairs(obj:GetChildren()) do
                if string.find(child.Name:lower(), "tree") then
                    found = true
                    break
                end
            end
            if found then
                table.insert(trees, obj)
            else
                scan(obj)
            end
        end
    end
end

scan(workspace)

task.spawn(function()
    for _, obj in ipairs(trees) do
        if obj and obj.Parent then
            obj:Destroy()
        end
        task.wait(0.5)
    end
end)

-- 09 01 25
-- JAI


Comments

2
Log in to join the conversation. Login
Zamasu's profile picture
Zamasu1 year ago

what is even the use of removing trees?

1
scandalroblox's profile picture
scandalroblox1 year ago

nice

1