i want to use that for a shop in my game but i cant figur out how to do that. can someone help?
If you are using a click detector then
1 | ClickDetector.MouseClick:Connect( function (player) |
2 | game:GetService( "MarketplaceService" ):PromptGamePassPurchase(player, ID) |
3 | end ) |