So for the game I am working it is come to my attention that a health boost I am selling would be better if people could buy it more then once. It gives you health 25 for every time you buy it but i have no clue how to do it. I search up on goggle but no luck how can i do this?
A developer product is an item that can be purchased multiple times, similar to an in-app purchase. You can prompt these purchases with the PromptProductPurchase method, and you can handle purchases with the ProcessReceipt callback.
Developer Products can be bought multtiple times, in game. This is a feature for NBC and BC (everyone). If you wish, I can provide you a code, that will work for Developer Products, but not for Player or Clan Points.
local buyButton = game.Workspace.Buttons.BuyButton.SurfaceGui.TextButton while true do buyButton.MouseButton1Click:connect(function() local productId = 19251902 --Change to your Developer ID (Create one first) Game:GetService("MarketplaceService"):PromptProductPurchase(game.Players.LocalPlayer, productId) game.Players.LocalPlayer.leaderstats.Diamonds.Value = game.Players.LocalPlayer.leaderstats.Diamonds.Value + 10 end) wait() end --If you need any more assistance, feel free to PM me, and I will help you as soon as I can
By using a developer product. Developer products are gamepasses that can repeat more than once, they give Player points just as what you would see at player point markets. But be aware, the product's ID are separate from the public roblox ID's such as place .etc, the Product's are only gamepasses.etc
What kind of answer is that?
--- but no lucky how can i do this? +++ MODELS IN ROBLOX STUDIO AND I FOUND IT