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

why is it not prompting me the Game Pass when I click the image button it knows that I clicked it?

Asked by 3 years ago
Edited 3 years ago
local id = 12618468

script.Parent.MouseButton1Click:Connect(function()
    game:GetService("MarketplaceService"):PromGamePassPurchase(game.Players.LocalPlayer,id)

end)

in output it says 19:07:58.736 - PromtGamePassPurchase is not a valid member of MarketplaceService "MarketplaceService"

1
You're simply missing the t in Prompt, should be PromptGamePassPurchase Xx_FROSTBITExX 116 — 3y
0
yes but its say in output 19:07:58.736 - PromtGamePassPurchase is not a valid member of MarketplaceService "MarketplaceService" kier1664 9 — 3y
1
Now you've missed the p. It should be what I said above :) Xx_FROSTBITExX 116 — 3y
1
Always check the spelling :) BestCreativeBoy 1395 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

it's spelled PromptGamepassPurchase not PromGamePassPurchase

Ad

Answer this question