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
Can u accept my answer if this works?
local Players = game:GetService("Players") local MarketplaceService = game:GetService("MarketplaceService") local plr = Players.LocalPlayer local productId = 5118935 script.Parent.MouseButton1Click:Connect(function() MarketplaceService:PromptProductPurchase(plr.UserId ,productId) end)