Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

what does replicatedfirst does?

Asked by
gloveshun 119
5 years ago
Edited 5 years ago

idk what it does, i guess not importtant but i want to know it

0
Check out this answer I posted, it might clarify some stuff. https://scriptinghelpers.org/questions/55070/whats-the-best-place-to-store-local-scripts#53918 iDarkGames 483 — 5y
0
umm gloveshun 119 — 5y

1 answer

Log in to vote
3
Answered by 5 years ago
Edited 5 years ago

It IS important that you know what it does. ReplicatedStorage is called so because descendants of it not only exists on the server, but "replicate" to every client that joins the game. On the other hand, everything in ServerStorage exists on the server, but doesn't replicate to the client. Also note that descendants of ReplicatedStorage and ServerStorage will essentially be in a state of stasis, unlike if they were in Workspace.

EDIT: ReplicatedFirst is essentially the same thing as ReplicatedStorage, in that its descendants replicate to both the server and the client, except that it takes priority between the two, and as the name implies, its descendants are loaded before those of ReplicatedStorage, making it ideal for holding things that concern the client, such as LocalScripts.

https://developer.roblox.com/en-us/api-reference/class/ReplicatedStorage https://developer.roblox.com/en-us/api-reference/class/ReplicatedFirst

0
i mean replicatedFirst gloveshun 119 — 5y
Ad

Answer this question