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)
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)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
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