Help With Studio Selection/Plugin Suggestion

So I have a big map and would like to turn most of the bigger pieces into meshes to reduce lag. Is there a plugin out there that can select all of one type of part because I have a lot of parts? Or one that selects similar parts?

rip no one help me :sob: don’t mind me, just boosting this so that I can get help

You could type in the classname of the parts you want to select into the explorer, and select all of the parts like that.
Screen Shot 2021-06-12 at 9.21.46 PM

I’m guessing that’s what you wanted.

no, everything is named “pat” :frowning: so yea, that won’t work

What kind of part are you trying to select? What other types of parts are in the model?

Ok, so imagine you have a giant build, and you want to select all of a type of part, like I want to select only the ones that have the sand texture, or a specific color… thats what I was thinking.

There are no plugins that I know of that can allow you to select parts with a certain property. However, there is a way to fix your issue:

First, make sure your entire model is grouped. Next, insert a folder into the workspace.

For organization, name the folder to whatever type of part you want to be inside of it. If you want, add more folders for other different part types.
Screen Shot 2021-06-13 at 5.02.21 PM

Then, insert a script into ServerScriptService and put this in it:

local model=workspace.Model:GetChildren() -- Reference the model's children
local sandparts=workspace.SandParts -- Reference the folder
--Reference another folder if you have any

for i,v in pairs(model)do
	if v.Material==Enum.Material.Sand then 
		print("hi")
		v.Parent=sandparts -- If the material of the part is Sand, then it will go under the folder sandparts
	end
end

-- Add another pairs loop for another type of part

Next, run the game, and open the folder. All of the parts inside of the folder have the material sand. Now rename all of them to the type of part that they are:

Move all of the parts from the folder to the model, and copy the model.

Next, stop the game, delete your original model, and paste in the model that you had just copied.

With the Parts renamed and put back into the model, you can search up parts with the material sand by going to the explorer tab and typing “Sand”.

I hoped this helped :slightly_smiling_face:

2 Likes

sir, thanks, it help when organizing, but someone else actually found a good plugin, ty though :smiley:

Until now.

https://www.roblox.com/library/2666837095/PartPicker

2 Likes

Amazing! I will find this plugin useful as well.

2 Likes