Changed (Event)/value

Warning: This page is no longer maintained and may be outdated. Please use the new documentation which can be found through this page.
Event Icon.png Changed ( type Value )
Description Fired after the Value property is changed
Member of: BoolValue, BrickColorValue, CFrameValue, Color3Value, IntValue, NumberValue, ObjectValue, StringValue, Vector3Value, RayValue

The code shown below would print the new value of the 'StringValue', when the 'Value' property of the object is changed. This example assumes that there's a value object within Workspace named 'StringValue'. Workspace.StringValue.Changed:connect(function(Val) print(Val) end)