Removing all obstacles
Key Required

Removing all obstacles

[5D]+1 Speed Car EscapeMOGGVOKERMOGGVOKER 583 views 117 executesUpdated Jan 19, 2026
2.5/ 5(6 votes)
3350% Positive
Lua Script•26 lines (563 chars)
local Workspace = game:GetService("Workspace")

local names = {
    Enemy = true,
    enemy = true,
    enemies = true,
    luzhui = true
}

local function hasAnchor(parent)
    return parent and parent:FindFirstChild("Anchor") ~= nil
end

local function checkAndRemove(obj)
    if not (obj:IsA("Model") or obj:IsA("BasePart")) then return end

    if names[obj.Name] or hasAnchor(obj.Parent) then
        obj:Destroy()
    end
end

for _, obj in ipairs(Workspace:GetDescendants()) do
    checkAndRemove(obj)
end

Workspace.DescendantAdded:Connect(checkAndRemove)

Features & Information

I don't know, but deleting all obstacles

Community Comments (0)

No comments yet for this script.

More Scripts for [5D]+1 Speed Car Escape