game:GetService("MarketplaceService").PromptPurchaseFinished:connect(function(Player,ID,purchased)
if Purchased then
print(Player.Name .. " bought an item with AssetID: " .. ID)
else
print(Player.Name .. " didn't buy an item with AssetID: " .. ID)
end
end)
But it doesn't print "X bought an item with AssetID: 12345".

2 comments
https://www.youtube.com/watch?v=tsvu4OmPPqk
i already watched the video but i know to know if the player purchased it or no