I have a GUI shop, and currently I'm making the equip remote event for when they click equip and unequip the starter item. I then started thinking exploiters could abuse this by firing the remote to equip any item in the shop even if they don't own it. How would I check if someone owns an item in a shop through a remote event? Or in general how to make the player own an item in a shop after buying it?
COMMUNITY QUESTION
How do I check if someone owns an item in a shop?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
You can simply have a boolean value for every weapon and change it to true if the player buys it. Then you just check whether the player's boolean value is true or false.
Would an exploiter not be able to change this value? I want it to be as secure as possible
Try putting the value inside of serverstorage then, exploiters can't access that. You'll have to use remote events then to access the value I think.
If the values are in server storage how would I make each value for a different player?