GamePassService or MarketplaceService - help

Hi! currently i have been reading the official roblox docs and i ran into confusion! two services that do exactly the same thing and I don’t understand which one I should use and why :cold_sweat:

The two services are:

  • GamePassService
  • MarketplaceService

I understand the functions of the marketplace service but what I do not understand is because the gamepass service is there and it does not have any function, I do not understand its practical use.

Someone could give me a hand and help me understand, I would really appreciate it very much.

local gamepass = game:GetService("GamePassService")
local marketplace = game:GetService("MarketplaceService")

GamePassService (roblox.com)

MarketplaceService (roblox.com)

1 Like

MarketplaceService is the one roblox currently encourages I believe, and stretches over dev products and more as well. Compared to GamePassService!

2 Likes

GamePassService is deprecated, meaning it won’t receive any fixes it it breaks, you should use MarketplaceService.

3 Likes

Thank you guys very much for your comments! it was very helpful for me :smiley:

1 Like