I am currently working on a custom explorer for my experience. But I have ran into a problem. If objects have the same name, then I call to change an object, it causes a crossover effect. (Basically, if I change 1 object with “Frame” all(?) the other objects named “Frame” under the same parent changes too)
To get said object, I use GetFullName(). I thought that would work because I am referencing the object directly. But, nope.
So am looking for ideas on how to get the object without having it “Crossover” to other objects with the same name.
Said that you are trying to make your own explorer, why not assign unique IDs to each object in the explorer.
That way you could easily get whatever you are trying to get.
To put it into example, say you wanted to reach your desired “Frame” object with an ID “Frame1”.
Now, assuming that the said ID is a string value that is parented to the Frame object, you could make a script that gets all the Frame objects, and then make an if statement to find the specific ID.
Roblox doesn’t care what things are named if you are using a for loop or similar idea.
But if you want to “know” specifically what part you are interacting with then, you need a way to identify each part uniquely. The only way I know would be do to as ssuggested (adding a StringValue to each instance) or add an Attribute to each instance.