Changing every part in a model properties

heyy! I’m currently wondering how I can change every part in a model’s property.

4 Likes

Loop through the children (or descendants, depending on how deep you need the change to go) and change the property you want to its new value.

2 Likes
local model = workspace.Model

for _, child in ipairs(model:GetChildren()) do
	if child:IsA("BasePart") then
		child.Transparency = 1
	end
end

Sample.

4 Likes