ReplicatedStorage

Show Deprecated
Not Creatable
Service

ReplicatedStorage is a general container service for objects that are available to both the server and connected game clients. It is ideal for ModuleScript, RemoteFunction, RemoteEvent and other objects which are useful to both server-side Scripts and client-side LocalScripts. Script and LocalScript objects will not run if they are parented to this service even if they are not Disabled.

If a ModuleScript within this service is required by any other script, it will run as normal. Such modules will typically house code that is shared by the server and client. Server-side Script that should run on their own should be parented to ServerScriptService instead. Client-side LocalScript have various other locations where they will eventually be run on a Player client: StarterPlayerScripts, StarterCharacterScripts or StarterGui.

This service behaves similarly to ServerStorage except that its contents are replicated. If you are storing assets which should not be visible on the client or have no use to the client at all, you should use that service instead.

Objects parented to this service are fully replicated to clients, and normal replication rules apply: any changes that are made on the client persist but won't be replicated to the server. Client changes may be overwritten if the server does something that overwrites those changes. For instance, a Part parented to ReplicatedStorage by the server may have a blue BrickColor. A client could change this property to red locally, but this change remains only client. Should the server change the color to green, this change would be replicated to the client.

Summary

Properties

Events

Methods

Properties

Events

Methods