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

Best place to store values?

Asked by 7 years ago

If I have a folder and I want to place a value(Ex: NumberValue's) into it and have several scripts read from it where is the best place to put that folder, without getting any errors client or server side?

1 answer

Log in to vote
0
Answered by
Vexture 179
7 years ago

Well, the short answer is that it depends.

You have to ask yourself a few questions. Do I want both the server and the client to access these values, or do I only want the server to access these values?

If you only want the server to be able to see your values, store them in ServerStorage.

If you want the server and the client to be able to see your values, store them in ReplicatedStorage. (See ServerStorage and ReplicatedStorage on the Wiki.

Ad

Answer this question