for Name, Property in pairs(Table) do
if type(Property) == "table" then
for InsideName, InsideProperty in pairs(Property) do
-- Edit Values here
end
else
-- Edit First values here (If wavespeed had a set value, ex. ["WaveSpeed"] = 3)
end
end
Although this would be the solution. I don’t think I worded it correctly.
The main issue I’m having is that if I want to change a property in (let’s say terrain Waterspeed) to a new value (1) THEN, I have a random part in workspace, and I change the parts transparency to 0.5, how would I do that? If I try to make any value of the table the thing (like workspace.Terrain.WaterWaveSpeed) it will turn into a number and you can’t change the actual property, just the number.
for Object, Properties in pairs(Table) do
for PropertyName, PropertyValue in pairs(Properties) do
if type(PropertyValue) == "table" then
-- Edit Values Here
else
Object[PropertyName] = PropertyValue
end
end
end