Glorpia Docs
Instances / ValueBase

StringValue

Stores text.

Inheritance

StringValue is a ValueBase class and inherits the shared hierarchy API from Instance.

Members

NameTypeDescription
ValuestringThe value stored by this instance.
ChangedsignalFires when Value changes and passes the new value.

Example

Luau
local value = Instance.new("StringValue")
value.Name = "ExampleValue"
value.Value = "Hello Glorpia"
value.Parent = workspace

value.Changed:Connect(function(newValue)
    print(newValue)
end)

Related