function Tix(Player) game:GetService("MarketplaceService"):PromptPurchase(Player, 286613096,"Tix") end
I keep trying to get this to send a prompt purchase but the console says that it cant find the player. By the way, I do have the other bits but this is a long script and pasting it all would be a nuisance.
03:35:53.037 - MarketplaceService:PromptPurchase() player should be of type Player, but is of type nil
03:35:53.037 - Script 'Players.Player.PlayerGui.ScreenGui.Shop.Script', Line 177
03:35:53.038 - Stack End
This appears in the output window when I click the button itself. If anyone can help me, I would much appreciate it. Thanks