I’m making a button to buy a gamepass but I can’t seem to get it to work, am I doing something wrong, here’s what I had
1 | script.Parent.MouseButton 1 Click:Connect( function () |
2 | game: GetService(“MarketPlaceService”):PromptGamePassPurchase(game.Players.LocalPlayer, 000000000 ) |
1 | script.Parent.MouseButton 1 Click:Connect( function () |
2 | local MPS = game:GetService( "MarketPlaceService" ) |
3 |
4 | MPS:PromptGamePassPurchase(game.Players.LocalPlayer, 7324827634 ) |
5 | end |