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

Is it possible to store data in replicated storage or replicated first?

Asked by 6 years ago

By store data, I do not mean saving it I just mean temporarily storing it for later use. I've been wondering this for a long time, and is it possible to do this? (I mean storing it without it being an object such as a value that has a parent and stuff)

0
Uhm, I think it is obvious.... greatneil80 2647 — 6y

2 answers

Log in to vote
0
Answered by
Nonaz_jr 439 Moderation Voter
6 years ago

I'm a little confused as to the purpose of what you want to do, but you can put a modulescript there and then store info in the instance of that modulescript that is created the first time you call the modulescript using 'require'.

From the wiki however: "If you would prefer a secure storage place, which the client cannot see or interact with, see ServerStorage." Also keep in mind replicated first is local. I never actually tried storing anything in it.

Of course as you say, a new server will not have access to the data stored there in a previous server.

Ad
Log in to vote
0
Answered by 6 years ago

I don't know what you mean but yes it is possible, if the game is filtering enabled then you should use remote events in order to access the storage you are using.

Answer this question