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

Should in game points intvalue go into the player or replicated storage?

I heard from my friend that if I put a points in game currency like cash in the player for example game.players.playeradded:Connect(function(plr) instance.new('Intvalue',plr) it won't be as safe as putting it inside the replicated storage and people can easily hack it what should i do? is there any way more safer? what are the pros and cons of putting int value in replicated storage

1 comment

0

It is not any safer. The easiest way to ensure security is not allowing the client to change that value via your remote events. As long as FE is on, your int value is safe unless you write code that causes it not to be.

1 answer

Storing player stats in ReplicatedStorage instead of inside the player isn't anymore secure than saving the stats inside the player. The best way to make sure your point system is secure is to have the server validate with it's own checks each time a player gains a point.

1 comment

0

^ Yes, and possibly through DataStore as well.

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