One time purchase

I have an issue with the one time purchase
gamepass everytime i run the game in studio or in the roblox engine
and i click the button the prompt shows up
and i click buy but then after i click buy i can just rebuy it each time
and im not using a developer product im just using one time purchase so like a gamepass
unless im really dumb and dont notice that im using the wrong script or its on roblox’s end at the bottom i have the script and the picture of my studio

local Market = game:GetService("MarketplaceService")
local Id = 10411054
script.Parent.MouseButton1Click:Connect(function(player)
	Market:PromptGamePassPurchase(player, Id)
end)
Market.PromptGamePassPurchaseFinished:Connect(function(player, id, purchased)
end)

obviously the other buttons are working with a get children but that doesnt connect to this it just connects to the others that have the one time purchase but if the others dont connect to this then i shouldnt have an issue before it was working fine but when roblox studio updated like yesterday for me it just broke and i could just keep rebuying it



video above shows you that i can legit buy it over n over again anyways please someone reply to this post i need help figuring out this issue

This is most likely just something from ROBLOX studio this wouldn’t happen in the actual game!

1 Like

Basically in studio you can test gamepasses and developer products without having to actually buy anything. Thats all this is.

1 Like

no like in the game it self it doesnt work like i buy the product i buy in the game it self it doesnt work like i can just rebuy it even if its a gamepass