i want to use that for a shop in my game but i cant figur out how to do that. can someone help?
COMMUNITY QUESTION
how do i make clicking a part bring up a gamepass prompt?
1 answer
If you are using a click detector then
ClickDetector.MouseClick:Connect(function(player)
game:GetService("MarketplaceService"):PromptGamePassPurchase(player, ID)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
i cant get it to wrok (i have 3 things 1. do i put my id where player is 2. where do i put the stuff 3.is there anything other then the click detector needed?)