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?

4 comments

0

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. 

0

Would an exploiter not be able to change this value? I want it to be as secure as possible

0

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.

0

If the values are in server storage how would I make each value for a different player?