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.