local killFolder = workspace:FindFirstChild("KillObjects") if not killFolder then warn("Папка KillObjects не найдена в workspace.") return end for _, part in ipairs(killFolder:GetChildren()) do if part:IsA("BasePart") then -- Проверяем наличие объекта TouchInterest среди дочерних элементов local hasTouchInterest = false for _, child in ipairs(part:GetChildren()) do if child.Name == "TouchInterest" then hasTouchInterest = true break end end -- Если есть TouchInterest, удаляем часть if hasTouchInterest then part:Destroy() end end end