The question I want to ask about Replicated Storage is, if I would to use a Server Script saving something into the Replicated Storage WOULD it affect the ONLY 1 Player or all?
Here's what I mean:
Example:
1 | game.ReplicatedStorage.BoolValue.Value = true |
If I would change the value of BoolValue to True would it affect everyone?
The reason I am writing this also is, because I am not sure where to Store Players Shop Items they have purchased.
ReplicatedStorage is basically a storage that server and client can access, The difference is With ServerStorage is a Storage only accessed to the server so the client can't access it.
Here are all the storage services
1 | -- This is a server script |
2 |
3 | -- Replicated storage |
4 | game:GetService( "ReplicatedStorage" ):FindFirstChild( "BoolValue" ).Value = true |
5 |
6 | -- Server storage |
7 | game:GetService( "ServerStorage" ):FindFirstChild( "BoolValue" ).Value = true |