Hi,
I am building a GUI shop for players to buy items but having issues deciding on the best place to store the items to make them secure from hacking.
I was thinking of replicated storage?
Thanks
Hi,
I am building a GUI shop for players to buy items but having issues deciding on the best place to store the items to make them secure from hacking.
I was thinking of replicated storage?
Thanks
Maybe in ServerStorage and, to take it, it would be with a RemoteEvent, but it is still insecure.
As long as the clients wouldn’t need to see the tool objects themselves (or whatever you are storing) the ideal system would be like this:
Replicated storage is the best to store remote event and if u want ur event to be secured, then
when using the RemoteEvent.OnServerEvent:connect(function(plr, ---whaterver u put here)
script u actually remove the coins here and add the tool to the player inventory. which mean if exploiter fires the RemoteEvent then they are actually buying it and they cant even edit the script.
It is the safest if you combine it with the answer from @Crystalflxme.
yea but what is safe is doing everything in the script when the remote is fired. the other like store tool, module script are optional
The module would be so that the customer knows what is in the store, so it could avoid “(object): not found”.