Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do you make a developer product buyable once?

Asked by 10 years ago

For example: A skin/item. I want the player to be able to buy the product, then they have it forever, when they click on the product GUI. I want them to get the item, instead of them having the GUI pop up.

For the skin, when the bought it, and rejoined, when they click on the buy product GUI it gives them the skin, and they don't have to buy the product again.

1 answer

Log in to vote
1
Answered by
TofuBytes 500 Moderation Voter
10 years ago

Use DataStore Give the player something (For example a Value) that'll let the script know they bought the item.

For the GUI, it should check for a Value. If the player has the Value, then the button Visible to false.

0
Yea but the limit of gamepasses are 9 per place, I'm going to make like alot of skins for champions, so that's the down side of that. TaleOfScripting 15 — 10y
0
Could you match the devproduct to a data store value? GoldenPhysics 474 — 10y
0
Yeah, I edited it with an explaination. TofuBytes 500 — 10y
0
Ahh good idea, thanks, I'll experiment with saves. TaleOfScripting 15 — 10y
Ad

Answer this question