So the script is supposed to Prompt the player to buy my gamepass, but it just comes with a free model with out my gamepass. (https://www.roblox.com/game-pass/4916610/Double-Jump)
local productId = 4916610
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function() --
Game:GetService("MarketplaceService"):PromptPurchase(player, productId)
end)

6 comments
Are you sure that the problem is because of the script. . . because it looks fine :l
Maybe remaking this gamepass helps, *Good luck!
have you tried print debugging?
You're using the wrong service, roblox recently changed gamepass ids. Use the GamePassService
So it would be this?
Once I changed it to GamePassService, nothing appears to pop up for buying.