Service · inherits Instance
ReplicatedFirst
A container whose contents are replicated to all clients (but not back to the server) first before anything else.
About ReplicatedFirst
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,
LocalScriptsrunning inReplicatedFirstwill need to wait for any objects they require to replicate usingInstance.WaitForChild - Any objects that are to be used by a
LocalScriptinReplicatedFirstshould also be parented toReplicatedFirst. Otherwise, they may replicate to the client late, yielding the script and negating the benefit of initial replication.
Methods 1
RemoveDefaultLoadingScreen
() → ()Immediately removes the default Roblox loading screen.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.
ReplicatedFirst also has every member of Instance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.