local productId = 5118935 -- Change to the ID of your developer product.
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function()
game:GetService("MarketplaceService"):PromptProductPurchase(player,productId)
end)
5118935 is the id when i test it shows a chicken model please help

4 comments
Probably typed wrong id
i tested it over and over with the right id
Are you sure? (Cuz I’ve never heard of a bug relating to wrong ids showing) Also, :connect is deprecated. Use :Connect instead.
I can tell you didn't make that.