Roblox UtilitiesDevlHub Roblox Documentation

Class

ReplicatedFirst

NotCreatableService
Inherits
Instance › Object
Memory category
Instances

A container whose contents are replicated to all clients (but not back to the server) first before anything else.

ReplicatedFirst is a container whose contents are replicated to all clients (but not back to the server) before anything else. It's most commonly used to store LocalScripts and other elements that are essential for the experience's start such as loading screens.

For objects that do not need to be replicated before anything else, use the ReplicatedStorage container instead.

There are some key considerations for running LocalScripts in ReplicatedFirst:

  • Since its contents replicate before anything else in the experience, LocalScripts running in ReplicatedFirst will need to wait for any objects they require to replicate using Instance:WaitForChild()
  • Any objects that are to be used by a LocalScript in ReplicatedFirst should also be parented to ReplicatedFirst. Otherwise, they may replicate to the client late, yielding the script and negating the benefit of initial replication.

Methods 1#

RemoveDefaultLoadingScreenImmediately removes the default Roblox loading screen.

RemoveDefaultLoadingScreen(): ()#

Immediately removes the default Roblox loading screen. Note that if any object has been placed in ReplicatedFirst, the default loading screen will be removed after a few seconds regardless if this method has been called or not.

You should not remove the default loading screen unless you want to display your own. If you remove the default screen without a replacement, players will be able to see geometry loading in the background.

Returns
  • ()

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed