local bloxyColaId = 372051683 -- Put the "ID" of you're "Item" that you want to sell. local player = game.Players.LocalPlayer function onClick() Game:GetService("MarketplaceService"):PromptPurchase(player, bloxyColaId) end script.Parent.MouseButton1Click:connect(onClick)
Is their something wrong with this script that is making it stay on the screen?
Sorry, but I have to make a bunch of assumptions about this: First, YOU are the person trying to buy the item. Secondly, you are trying to test this with only one account. Finally, you did not remove the item from your inventory before testing. If all these are correct, you can do a much better test by following the following steps:
1. On the ROBLOX website click the menu button at the top left (If this isn't there, skip this step)
2. Click the "Inventory" button on the left sidebar
3. Find the object you want to sell (Either a gamepass or an actual gear from your description)
4. Click the item to be brought to its page
5. Click the gear icon in the top-right and then click "remove from inventory"