Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I save data in a datastore securely?

I'm working on a game where I need to save choices from the player, e.g. custom characters, magic, level, stats etc. which are managed from the client. I'm currently working on the magic choosing system, which involves selecting a magic and clicking a button. This is all happening locally, but I want to store the data in a datastore. How can I do this without making it changeable from the client?

Edit: The button is a TextButton, just so you know.

7 comments

0

u simply can't

0

exploiters can easily access datastores and screw them up and there is no way to stop them

0

i dont think the client can access DataStores

0

yeah that too xd

0

i cant verify that as dont have access to the wiki atm Xd

0

I mean like, with remoteevents

0

no. the client can not have any access to datastores. you are largely misinformed.remote events do not supply them with access to datastores.

1 answer

Resolved, not the best way but:

game.ReplicatedStorage.changeStats:FireServer(time() * elapsedTime() * number here)

That kind of works.

1 comment

0

that still isn't secure, exploiters can still access it (you can't protect the data from exploiters)

This discussion is preserved as it was. New answers, comments, and votes are closed.