In the API for ObjectValue.Changed the Code Sample is as follows:
local function printValue(value)
print(value.Name)
end
Workspace.ObjectValue.Changed:Connect(printName)
Workspace.ObjectValue.Value = Workspace.Part1
The code should actually read:
local function printName(value) -- This line should say printName, not printValue.
print(value.Name)
end
Workspace.ObjectValue.Changed:Connect(printName)
Workspace.ObjectValue.Value = Workspace.Part1