I have come across object values and Im wondering what they are and how to change the values of them!
✓ ANSWER ACCEPTED
I need help with ObjectValues and what they are?!
2 answers
✓ Accepted answer
An ObjectValue is an Instance which contains a reference value to another Instance.
local part = Instance.new("Part", workspace)
part.Name = "A Testy Test"
local objValue = Instance.new("ObjectValue", workspace)
objValue.Value = part
print(objValue.Value.Name)
I don't know much about them, but you can look at the wiki here!
http://wiki.roblox.com/index.php?title=API:Class/ObjectValue
Sorry that this isn't a proper answer
This discussion is preserved as it was. New answers, comments, and votes are closed.
