Ad
Log in to vote
0

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

Asked by
Halmuni 94
12 days ago

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

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. Phlegethon5778 171 — 12d

1 answer

Log in to vote
0
Answered by
metryy 108
12 days ago

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.

0
^ Yes, and possibly through DataStore as well. Simulants 27 — 12d
Ad

Answer this question