Is there a way to use the name of a part to index one of its members like so?
game.Workspace._________.member = value -- Replace blank with some 'string'
e.g. If I had something like this:
function returnVariousNames() -- Produces various part names based on circumstances
code
code
code
return PART_NAME_STRING
end
Let's say I want to change the brick color of the part returned by the function.
game.Workspace._________.BrickColor.Color3 = 123
Is there a way to put the PART_NAME_STRING returned by the function into the 'path' to its color?
Sorry for the newbie question, I'm just wondering if there's a way to do it or if I need to find an alternate solution.
