I've always wondered what the replicatedStorage + replicatedFirst services do? The wiki doesn't really give a good explanation, and there aren't any detailed explanations out there on YouTube.
Now I know that replicatedStorage
and replicatedFirst
has to do something with dipslaying an object/Instance on a specific client
or on the server,
right?
So I have two questions for you guys:
What is replicated service (both storage and first) and how would you use it?
What's the difference between a bind - able event/function and replicated?
Basically anything helps! As long as your answer is some what easy to understand and descriptive, I'll accept it! THX!!!
What is replicated service (both storage and first) and how would you use it?
ReplicatedStorage is a storage for the clients. Unlike ServerStorage, LocalScripts are able to access this service and load contents from it to anywhere in the game. However, with FilteringEnabled on, only you would be able to see, use, or hear it.
ReplicatedFirst will replicate instances to all clients when they first enter the game. This makes it useful for making loading GUIs.
What's the difference between a bindable event/function and replicated?
A bindable events and remote events are the same thing except for what they can do. Bindable events are useful for server to server, or client to client (same client) script communication. Remote events will actually allow for you to cross from client to server or server to client.
The same goes for bindable functions and remote functions as well.
Due to the ability of RemoteEvents and RemoteFunctions, this makes them the ideal choice for server to client communication in a FilteringEnabled environment.