Buy item only in game

how can I make sure that 1 of my things can be bought only in my mode and not on the site can it be done at all?
I’ve seen in the modes that it’s possible but I don’t know how

You can use Developer Products, instead of Gamepasses, which is a common way of doing this, as Developer Products do not display on the front page like with Gamepasses, and can be purchased more than once maing them very convenient.
However if you want to prevent them from purchasing the product again, save the data in a DataStore and refer to it later when validating purchases.

can you give an example with saving the data please and confirmations

Do you want to do a giftbox system or what?

yes, i want to do this for my freind, i want help him but i better in scripting then he and i need a help with functions fo this can you help??

if you got a datastore script/module, create a new BoolValue called: “Giftbox1” or so (set the initial value to false) and when the player bought the devproduct, change it to true and then you can handle it with other scripts