Hello! So I was just wondering if there is some way to select all of one type of item in the workspace. I have some very helpful command bar scripts that help me delete all of one item or all items with a certain name, but I do not have the knowledge to reengineer them to just select all of one item. There might also be a built in feature to do this but I can’t find it.
I can’t just type in “Sound” into the explorer because I have renamed a lot of them to other names, I am probably dealing with over 70 sounds divided into folders and I am trying to reorganize them, but it is extremely tedious to go folder to folder selecting them all.
The same script you are using to delete everything with a certain name, just change it to delete of a certain class instead. For example, you can use :FindFirstChildWhichIsA(“PutClassHere”)
if v.Name == "yournamehere" then
v:Destroy()
end
end
for _, v in ipairs(workspace:GetDescendants()) do
if v:IsA("Weld") then
v:Destroy()
end
end
However I am not trying to destroy them, I am trying to select them so I can move them all at once. Since they are not all named the same thing, I can’t just filter the workspace to get them all lol
Oh i see what you mean, im sorry, i misunderstood. I don’t know a native way to accomplish this, but I am sure there is a plugin for it. Hope someone else chimes in with one, as i don’t use many plugins myself.
If you type Sound in the Search window at the top of your Explorer window you should get all the sound Instances as well, no matter what their Name is.
It will also show you where each one is located.
local Type = "Sound"
local Selection = game:GetService("Selection")
local Table = {}
for i, v in workspace:GetDescendants() do
if v:IsA(Type) then
table.insert(Table, v)
end
end
Selection:Set(Table)