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
script.Parent.MouseButton1Click:Connect(function() game: GetService(“MarketPlaceService”):PromptGamePassPurchase(game.Players.LocalPlayer, 000000000)
script.Parent.MouseButton1Click:Connect(function() local MPS = game:GetService("MarketPlaceService") MPS:PromptGamePassPurchase(game.Players.LocalPlayer, 7324827634) end