i’m having the issue where some items give an error message instead of a purchase message when clicking the purchase button. it’s completely random too sometimes a hat does it sometimes it doesn’t!
local ITEM_ID = 6377083048
local button = script.Parent
local player = game.Players.LocalPlayer
button.MouseButton1Click:Connect(function()
game:GetService("MarketplaceService"):PromptPurchase(player,ITEM_ID)
end)
local Asset = game:GetService("MarketplaceService"):GetProductInfo(ITEM_ID)
button.Image = "rbxthumb://type=Asset&id=6377083048&w=150&h=150"
this is for a hair combo game, so there is a manniquin with hats, and then in starter gui there is a screengui for each head, with buttons and stuff, and in each button is the script above. then there is also a script for each in starterplayer for the gui tweening.
i literally have no idea what to do. note: these are 3rd party items but i do have 3rd party sales on. i havent gotten much help and im really concerned.