Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I script the new Gamepass Ids?

Asked by 5 years ago

Here's a script of my Gamepass Script, that doesn't work :/

local id = 4655563
local player = game.Players.LocalPlayer

script.Parent.MouseButton1Down:connect(function()
    game:GetService("MarketplaceService"):PromptGamePassPurchase(player, id)
end)

Answer this question