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.
Resolved, not the best way but:
game.ReplicatedStorage.changeStats:FireServer(time() * elapsedTime() * number here)
That kind of works.