Skip Stage not working with a donation board

Hello everybody,

I am working on a Difficulty Chart Obby but my skip stage button doesn’t work, the output doesn’t give any errors.
I have a donation board in the game and if i remove that then the SkipStage is working again, but if i put the donation board back it doesn’t work. (its a free model donation board that allot of people use)

Anyone got a answer on this?

This is the skip stage script:

local MarketplaceService = game:GetService(“MarketplaceService”)
local productId = settings.skipStageProductID

MarketplaceService.ProcessReceipt = function(receiptInfo)
local players = game.Players:GetPlayers()
local done = 0

for i=1,#players do
	if players[i].userId == receiptInfo.PlayerId then
		if receiptInfo.ProductId == productId and done == 0 then
			done = 1
			players[i].leaderstats.Stage.Value = players[i].leaderstats.Stage.Value + 1
			players[i].TeleportedStage.Value = players[i].leaderstats.Stage.Value
			players[i].Character:MoveTo(game.Workspace.Stages:FindFirstChild(players[i].TeleportedStage.Value).Position)
			done = 0
		end
	end
end
return Enum.ProductPurchaseDecision.PurchaseGranted	

and this is the donation board: Donation Board - Roblox

-D4rknessDust-

We need more information. There are millions of free models and nobody other than you has access to your script.

I have edited the text, i hope you can help me now.

Hey there! Is this problem still occurring? If so, are you using “Techy’s Obby System”?

If you’re not using that, try this -
Put the donation board in game.Workspace.Terrain and let me know if that works!

This didn’t work. :confused: I’m having the same problem as @sembami32

You can only have one ProcessReceipt callback function.

The donation board has a ProcessReceipt callback function. You will have to uncomment module.AbortCustomPurchases = true in the Products module script to disable it. Then, you will have to modify your ProcessReceipt callback function to increment the donation board.

2 Likes