> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/classes/stringvalue.md).

# StringValue

StringValue : `ValueBase`

## Overview

An instance used to store string value. Values set on the server are automatically replicated to the client, enabling script-to-script communication without using RemoteEvent

## Properties

### Value

`string`

You can set a string value to store.

#### Code Samples

```lua
local SomeValue = Instance.new("StringValue")
SomeValue.Name = "SomeValue"
SomeValue.Parent = game.Workspace

SomeValue.Value = "Hello"
```

## Methods

## Events

### Changed

An event is triggered whenever the value changes.

#### Parameters

| `string` value | Changed value. |
| -------------- | -------------- |

#### Code Samples

```lua
local function OnChanged(value)
    print(SomeValue.Name, ": ", value)
end
SomeValue.Changed:Connect(OnChanged)
```

## See also

{% content-ref url="/pages/Li7rHhgWzjrNm5kQGifQ" %}
[Manage Value](/manual/script-manual/value-management.md)
{% endcontent-ref %}
