i don’t know what to do.
i deleted the studio and reinstall it and it still don’t work
also tried your suggestion
There may be something wrong with your MouseButton1Click
Take the Product function outside of it and add a wait(3)
local marketplaceServie = game:GetService("MarketplaceService")
wait(3)
marketplaceServie:PromptProductPurchase(player,1319870523)
try this instead
local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local productId = 0000000 -- Change this to your developer product ID
-- Function to prompt purchase of the developer product
local function promptPurchase()
MarketplaceService:PromptProductPurchase(player, productId)
end
i tried it and still not working. nothing prints inside studio after reinstall and in the actual game
Just to REALLY make sure.
Can you do CTRL + SHIFT + F
, then search for .ProcessReceipt
.
then show us a screenshot of what shows up?
this still now work, nothing prints inside studio after reinstall and in the actual game
Huh what you’re experiencing is extremely weird.
Are there only two scripts in the game or is there others??
there is other but as you said the .ProcessReceipt isn’t in other places only in that script
try searching for marketplaceservice instead.