Missing API Documentation
This API Class does not have any or complete API documentation. Please add API documentation if possible.
The ObjectValue class inherits from Instance. An ObjectValue instance is capable of storing a reference to an object within its Value property, but does NOT store the actual object as a descendant. Attempting to pass a client-side object to the server using this class will result in failure due to the fact that the object doesn't exist on the server itself.
This code sample creates an ObjectValue in the Workspace which holds a reference to an Instance in the workspace named “Baseplate”.
local objectValue = Instance.new("ObjectValue")
objectValue.Name = "MyBaseplateReference"
objectValue.Value = workspace:FindFirstChild("Baseplate")
objectValue.Parent = workspace