Greetings, I need help selecting all of one item that’s in a group. Like, If something is named “Hello” You could select every single “Hello” Without selecting the entire model.
1 Like
The only thing that can really do that is the filter workspace bar at the top of the explorer view, and that will filter through the workspace and models to find the things that are named what you put. You’d still have to select it manually, but anything that is not named that will not show up.
I don’t think there’s a way to do this. You can write a quick script and use the console to select the parts you want if you know how to script though.
local Selection = game:GetService("Selection")
function validate(instance)
local isValidDescendant = false
for _, v in next, Selection:Get() do
if instance:IsDescendantOf(v) then
isValidDescendant = true
break
end
end
if isValidDescendant and instance.Name == "Hello" then
return true
end
end
local newSelection = {}
for _, v in next, workspace:GetDescendants() do
if validate(v) then
newSelection[#newSelection+1] = v
end
end
Selection:Set(newSelection)
3 Likes