When i click to buy Game Pass MY game crashes
1 | local plr = game.Players.LocalPlayer |
2 | local button = script.Parent |
3 | local MarketplaceService = game:GetService( "MarketplaceService" ) |
4 |
5 | script.Parent.MouseButton 1 Click:Connect( function () |
6 | MarketplaceService:PromptProductPurchase(plr, 5647766 ) |
7 | end ) |