---
title: "ReplicatedStorage"
description: "A protected hierarchy service for stored instances that are shared with clients when their instance type is supported by replication."
canonical: "https://docs.glorpia.com/services/replicatedstorage"
markdown: "https://docs.glorpia.com/services/replicatedstorage.md"
---
# ReplicatedStorage

A protected hierarchy service for stored instances that are shared with clients when their instance type is supported by replication.

**Category:** Services

## Access

```luau
local ReplicatedStorage = game:GetService("ReplicatedStorage")

print(ReplicatedStorage == game.ReplicatedStorage)
```

## Behaviour

| Name | Type | Description |
| --- | --- | --- |
| `Client replication` | supported descendants | Supported descendants use normal server-to-client hierarchy replication. |
| `World rendering` | not in Workspace | Parts stored here are not rendered as Workspace geometry. |
| `World physics` | not in Workspace | Parts stored here are not included in Workspace physics. |
| `BasicSound playback` | inactive while stored | BasicSound outside Workspace is not played until it is moved into Workspace. |
| `Script execution` | dormant while stored | ServerScripts and LocalScripts stored here do not execute from ReplicatedStorage in the current runtime. |
| `RemoteEvent / RemoteFunction` | replicated | Use remotes here when both ServerScripts and LocalScripts need to resolve the same shared remote instance. |

## Hierarchy API

ReplicatedStorage is a protected service root. The service itself cannot be renamed, destroyed, dragged, or reparented, but supported child instances can be parented into it.

| Name | Type | Description |
| --- | --- | --- |
| `FindFirstChild(name, recursive?)` | method | Finds a child by name and can search descendants when recursive is true. |
| `FindFirstChildOfClass(className)` | method | Finds the first direct child with the exact class name. |
| `GetChildren()` | method | Returns direct children. |
| `GetDescendants()` | method | Returns every descendant. |
| `IsA(className)` | method | Returns true for ReplicatedStorage or Instance as appropriate. |
| `GetFullName()` | method | Returns the hierarchy name for the service. |

## Example: shared stored hierarchy

```luau
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local folder = Instance.new("Folder")
folder.Name = "SharedObjects"
folder.Parent = ReplicatedStorage

local part = Instance.new("Part")
part.Name = "TemplatePart"
part.Parent = folder
```

> **Note:** The Part is stored in the replicated hierarchy, but it does not become world geometry until it is parented under Workspace.

## Related

- [ServerScriptService](https://docs.glorpia.com/services/serverscriptservice.md) — Server-side container where enabled ServerScripts start once when discovered.
- [ServerStorage](https://docs.glorpia.com/services/serverstorage.md) — Server-only stored hierarchy excluded from client replication.
- [RemoteEvent](https://docs.glorpia.com/instances/remoteevent.md) — One-way communication between client and server scripts.
- [RemoteFunction](https://docs.glorpia.com/instances/remotefunction.md) — Request/response communication between client and server scripts.
- [game:GetService()](https://docs.glorpia.com/scripting/functions/get-service.md) — Access registered Glorpia services by name.
