How can i make parts in a folder transparent

How can i set all parts in one folder to transparency = 1

i want to achieve that i can set all Parts in one single folder to transparency = 1
i tried so far something like this

local general = workspace:WaitForChild("General")
local parts = general:GetChildren()
	
      general.parts.Transparency = 1

but maybe you can tell this doesn’t really worked and it gave me this error:
parts is not a valid member of Folder “Workspace.General”

if anyone have a solution for the i would be very happy to hear it. and sorry if i did anything rong in this post.

and don’t get confused because of “General” this is my folder name.

local general = workspace:WaitForChild("General")
local parts = general:GetChildren()

for i, v in pairs(parts) do
	if v:IsA("BasePart") then
		v.Transparency = 1
	end
end

I think it would be better to do research on how to deal with groups of children

Explanation is :GetChildren() basically gives you a table (List of items. In your case it’s a list of parts.).

You can’t just do table.parts because it doesn’t know what "parts" is.
You have to iterate over the items inside the table and change them individually just like this person did.

You can search the keywords in google (like: “roblox tables” or “roblox loops”) and it will most likely show documentation for what you’re looking for.