I need help! (Local Script)

local player = game.Players.LocalPlayer
local id = 2286611813 --Id

script.Parent.MouseButton1Click:connect(function()
	wait(1)
	game:GetService("MarketplaceService"):PromptPurchase(player, id)
end)

Nothing pops up ;(