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

Is it possible to call :SaveString() without the data being tied to a player?

Asked by 10 years ago

I ask this because I have a billboard in a game place that cycles through things that players can put on it. The billboard holds things like game suggestions and ideas. I want that board to save to the server so that when all players leave a server instance, it will appear with everything that was previously added in the new server instance. I was thinking on using SaveString and saving the text data in the SurfaceGUI, but realized that it can be tied to players and just them, making certain messages appear when a certain player connects. Is there a way to do what I want?

3 answers

Log in to vote
1
Answered by
coo1o 227 Moderation Voter
10 years ago

No because data persistence methods ONLY work on Player objects.

This is why ROBLOX made DataStore. DataStore is not saved on players, but on the DatastoreService. You can basically say that data saved with DataStore is saved on the game instead of a player.

~coo1o

0
@coo1o -- Okay, I did read about that awhile back but forgot. Time to do some wiki reading! Thanks everybody. XanthicDragon 38 — 10y
0
No problem, glad to help! :D coo1o 227 — 10y
Ad
Log in to vote
3
Answered by 10 years ago

No, it isn't possible.

This is the reason DataStore was made.

Log in to vote
-3
Answered by 10 years ago

No!!!

Answer this question