Any way to select part children quicker?

Hello. I have been having trouble with lag recently, finding out it was a free model virus. Which is basically this… (good thing it doesnt work lol)
image
Any way to select them quicker? It’s tiring to select them individually.
(sorry if wrong topic idk what to post this in)

Click the first virus object in the explorer, hold shift and click the last one.

For script:
Navigate to the Command Bar in studio, paste and run this code:

for _, v in pairs(workspace:GetDescendants()) do
	if v.Name == "Spread" and v.Parent.Name == "Fire" and v.Parent.Parent:IsA("BasePart") then
		v.Parent.Parent:Destroy()
	end
end

How to open Command Bar?
Open the view tab, and click command bar…
image

Open Command Bar and run this command:

for _, Part in pairs(workspace:GetDescendants()) do
    if Part:FindFirstChild("Fire") and Part.Fire:FindFirstChild("Spread") then
        Part:Destroy()
    end
end
1 Like