Changed (Event)/value

From Legacy Roblox Wiki
Jump to navigationJump to search
Changed ( type Value )
Description Fired after the Value property is changed. This is present but does not work in 2008M, it uses the other version of this event instead.
Member of: BoolValue, BrickColorValue, CFrameValue, Color3Value, IntValue, NumberValue, ObjectValue, StringValue, Vector3Value, RayValue
Example
local function onChanged(value)
	print(value) -- value of the StringValue
end

workspace.StringValue.Changed:connect(onChanged)

See Value (Property) for list of types.