local MPS = game:GetService("MarketplaceService")
MPS.ProcessReceipt = function(receiptInfo)
if receiptInfo.ProductId == 964670375 then
local parts = workspace.Confetti:GetChildren()
for i,v in pairs(parts) do
for a,b in pairs(v:GetChildren()) do
b.Enabled = true
wait(10)
b.Enabled = false
end
end
return Enum.ProductPurchaseDecision.PurchaseGranted
end
end
It only enables one of the ParticleEmitter, instead of all the ones inside all the parts. I've used GetDescendants, does the same thing.

1 comment
https://devforum.roblox.com/t/avoiding-wait-and-why/244015