As of right now, I am thinking of adding a currency system to my game. Just your basic coins currency where you make a leaderstat folder and parent it to the character when the player joins the game.
Main Idea
While thinking about making a currency system like this I came across an idea, which I’m pretty sure probably exists somewhere that I just can’t seem to find, where instead of parenting the leaderstat folder under the character I could, instead, make a leaderstat folder inside of ServerStorage to make the currency system completely, or majorly server-side to avoid exploits.
Overall Question
Is this a bad or good idea? Also, is the normal way to create a leaderstat secure enough to where my idea isn’t really necessary?
you can parent any stats to your player ( like Instance.new )
hackers can change values locally, but cannot change Server-side
what i mean:
Server-side Coins is different from Local-side Coins
you don’t even need to put on server storage, ( this could be usefull while making
Datastores )
the only thing hackers can do is learn your type of currency or any values
( if you put them inside the player or somewhere )
the hacker can modify their values, but in the Server, it will be the same thing
( because the player must fire a remote event or action
saying that he updated their coins
( like, the player collected a coin, and each coins the player collect will award them 1 coin )
and when making some Shop system, do not use Client-side to prevent exploits
you can do, but atleast in the server-side create another
because normal players cannot bypass the Verification (local-sided) if they do not meet
some requeriments
Hackers will bypass, but the server has a verification too, so if the player bypassed
local, probaly he is an exploiter ( that’s how you kill exploiters ( most of them ) if
they don’t know what they are doing and only know how to modify values