Learn
Engine Class
ObjectValue

Summary
Properties
Inherited Members
Code Samples
ObjectValue Example
local objectValue = Instance.new("ObjectValue")
objectValue.Name = "MyBaseplateReference"
objectValue.Value = workspace:FindFirstChild("Baseplate")
objectValue.Parent = workspace

API Reference
Properties
Value
Read Parallel
Simulation Access
ObjectValue.Value:Instance

Events
Changed
ObjectValue.Changed(value:Instance):RBXScriptSignal
Parameters
value:Instance
Code Samples
ObjectValue Changed
local objectValue = script.Parent.ObjectValue
local part = script.Parent.Part
local function printObject(object)
print(object:GetFullName())
end
objectValue.Changed:Connect(printObject)
objectValue.Value = part

changed
Deprecated

©2026 Roblox Corporation. Roblox, the Roblox logo and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.