Skip to content

StringValue

Supported Class Values

A container object for a single string.

Description

Stores a single Luau string. The length of the string can't be more than 200,000 characters; anything longer causes a String too long error.

If the string is too long to be displayed in the Value field within the Properties window, it shows partial string contents and an ellipsis (...).

Like all ValueBase objects, this single value is stored in the Value property. The Changed event fires with the new value being stored in the object, instead of a string representing the property being changed.

Inheritance

Object → Instance → ValueBase → StringValue

Nova inheritance: Instance → StringValue

Properties

Value Supported Property The stored string.
Value: string

The stored string.

The stored string.

Roblox documentation

Events

Changed Supported Event Fires whenever StringValue.Value is changed.
Changed(string value)

Fires whenever StringValue.Value is changed.

Fires whenever the IntValue.Value changes. It runs with the new value being stored in the argument object, instead of a string representing the property being changed.

Listening for the Changed signal can be useful in games that use StringValues to track values like NPC names or item descriptions.

Roblox reference signature
Changed(value: string)

Roblox documentation

changed Supported Event Deprecated
changed(string value)

No description available.

Roblox reference signature
changed(value: string)
Nova behaviour: Nova keeps this legacy member for compatibility. Roblox's modern deprecation wording may describe later Roblox behaviour; verify it against Nova before relying on the copied text.

Roblox documentation

Inherited members

Inherited from Instance: 8 properties, 36 methods, 7 events. They are documented on the base class page.

Roblox reference: StringValue

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.