Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how do i make clicking a part bring up a gamepass prompt?

i want to use that for a shop in my game but i cant figur out how to do that. can someone help?

1 answer

If you are using a click detector then

ClickDetector.MouseClick:Connect(function(player)
	game:GetService("MarketplaceService"):PromptGamePassPurchase(player, ID)
end)

1 comment

0

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?)

This discussion is preserved as it was. New answers, comments, and votes are closed.