How to select all textures

i added textures(not material) to a bunch of parts and i want to delete them now
whenever i search texture in the explorer, it shows the part that has the texture too so i have to individually select each texture, any better way to do this?

If all parts have a common Parent you could run a script that deletes all textures within that Parent descendants/children :

for _, child in CommonParent:GetDescendants() do
	if child:IsA("Texture") then
		child:Destroy()
	end
end

thank you. how does it work if i want to do that but exclude certain parts with the same name

If you want to destroy all parts that have the same name and parent/ascendant you could change the if statement on the 2nd line with this :

if child.Name == "Certain_Name" then

In reality this statement could check for whatever condition certain parts have that others don’t (e.g. BrickColor, Anchored, Material…).

If there’s no property to differ the parts you want to destroy from the ones you want to keep i don’t think there’s a way to automatically delete them.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.