+100 gems
local MarketplaceService = game:GetService("MarketplaceService") local plrs = game:GetService("Players") local gem500 = 985556504 local function processReceipt2(recieptInfo) local plr = plrs:GetPlayerByUserId(recieptInfo.PlayerId) if not plr then return Enum.ProductPurchaseDecision.NotProcessedYet end if plr then plr.Gems.Value = plr.Gems.Value + 500 end return Enum.ProductPurchaseDecision.PurchaseGranted end MarketplaceService.ProcessReceipt = processReceipt2
+500 gems
local MarketplaceService = game:GetService("MarketplaceService") local plrs = game:GetService("Players") local gem500 = 985556504 local function processReceipt2(recieptInfo) local plr = plrs:GetPlayerByUserId(recieptInfo.PlayerId) if not plr then return Enum.ProductPurchaseDecision.NotProcessedYet end if plr then plr.Gems.Value = plr.Gems.Value + 500 end return Enum.ProductPurchaseDecision.PurchaseGranted end MarketplaceService.ProcessReceipt = processReceipt2
everything else works just fine, the buttons promt the right item but idk why it only gives 500
this was supposed to be the first one sorry
local MarketplaceService = game:GetService("MarketplaceService") local plrs = game:GetService("Players") local id = 985264450 local function processReceipt(recieptInfo) local plr = plrs:GetPlayerByUserId(recieptInfo.PlayerId) if not plr then return Enum.ProductPurchaseDecision.NotProcessedYet end if plr then plr.Gems.Value = plr.Gems.Value + 100 end return Enum.ProductPurchaseDecision.PurchaseGranted end MarketplaceService.ProcessReceipt = processReceipt