Hello, the title may be unclear but i’ll try to explain as clearly as possible.
so i have a value, no matter where it is ( for example inside the player’s Humanoid), and i want to see if it matches one of the values inside a folder in ReplicatedStorage. it seemed pretty complicated and I havent found anything on the dev forum or anywhere else. So im here asking for help!
You can just match the values of the ValueObject. For example, if you have two values, Value1 and Value2, you can just check using the condition Value1.Value == Value2.Value.
I’m a little confused on to what you are asking. Do you mean match the value by name, type, or what the value actually is?
If name you can just use FindFirstChild() to see if there is a value with the same name in your folder. For type you can use typeof()to find the same type of value and for finding the same value of a Value Instance you can use the == operator. Pretty similar to what @DargoA said (except use a for loop).