February 1, 2020, 6:30pm
So all of us can agree on one thing, gamepasses give us robux. This is very crucial to any developer trying to get robux but recently doing stuff with gamepasses I noticed one thing:
When trying to purchase a gamepass it says its a product
Gamepass ID is seen as a product
If anyone knows whats happening please help
local id = 8140158
if game:GetService("GamePassService"):PlayerHasPass(plr, id) then
plr.VIP.Value = true
plr.VIP.Value = false
February 1, 2020, 6:34pm
Gamepass service is deprecated and uses the old system of numbering gamepasses (they used to be numbered like assets). Use MarketplaceService for new work.
February 1, 2020, 10:13pm
I also get same with gamepass purchase when I try to buy it it labels it as a product rather than a gamepass
February 1, 2020, 10:37pm
Are you using
PromptGamePassPurchase or the Gamepass service’s function? You shouldn’t be using Gamepass service at all.
February 1, 2020, 10:38pm
local MarketplaceService = game:GetService("MarketplaceService")
local gamePassID = 8140158 -- Change this to your game pass ID
local player = game.Players.LocalPlayer
February 2, 2020, 12:35am
Copy pasting that exact code works fine for me. Are you sure the error is coming from that script?