When i click to buy Game Pass MY game crashes

local plr = game.Players.LocalPlayer
local button = script.Parent
local MarketplaceService = game:GetService("MarketplaceService")

script.Parent.MouseButton1Click:Connect(function()
	MarketplaceService:PromptProductPurchase(plr, 5647766)
end)

4 comments

0

u have bigger problems than this script

0

Why?

0

bc that shouldnt make your game crash. there's no problem there

0

Can you help So It Doesn't crash?