----Button local btn = script.Parent local MPS = game:GetService("MarketplaceService") local pld = 679264154 local player = game:GetService("Players").LocalPlayer btn:MouseButton1Down:Connect(function() MPS:PromptProductPurchase(player, pld) end) ----SeverScriptService local MPS = game:GetService("MarketplaceService") MPS.ProcessReceipt = function(receiptInfo) if receiptInfo == 679264154 then local player = game.Players:GetPlayersByUserId(receiptInfo.PlayerId) player:LoadCharacter() return Enum.ProductPurchaseDecision.PurchaseGranted end end ------------------------------------------------------------------------------------------------------------------------My Button Scrpt Doesn't Work I Want To Make Respawn Product
----My Product Number 679264154
When you do btn:MouseButton1Down:Connect()
mousebutton1down is an event, not a function so it should be btn.MouseButton1Down:Connect()
This is on line 5