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

How do I save data in a datastore securely?

Asked by 5 years ago
Edited 5 years ago

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.

0
u simply can't DeceptiveCaster 3761 — 5y
0
exploiters can easily access datastores and screw them up and there is no way to stop them DeceptiveCaster 3761 — 5y
0
i dont think the client can access DataStores theking48989987 2147 — 5y
0
yeah that too xd DeceptiveCaster 3761 — 5y
View all comments (3 more)
0
i cant verify that as dont have access to the wiki atm Xd theking48989987 2147 — 5y
0
I mean like, with remoteevents VirtualButReal 0 — 5y
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. ffejyos 10 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

Resolved, not the best way but:

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

That kind of works.

0
that still isn't secure, exploiters can still access it (you can't protect the data from exploiters) DeceptiveCaster 3761 — 5y
Ad

Answer this question