Here is the scrip that I used

local productId = 1008824264 local player = game.Players.LocalPlayer

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

1 comment

0

Marked as non-descriptive and not constructive because in the question name, the OP asks for a script, the OP's wording makes it seem like he uses free modles ("Here is THE script that I used") and the OP doesn't specify the problem witht he current code