
Key RequiredUniversal

local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
local function blockPrompts()
MarketplaceService.PromptGamePassPurchaseFinished:Connect(function(player, gamePassId, wasPurchased)
if not wasPurchased then
print("Purchase attempt blocked for game pass ID:", gamePassId)
else
print("Game pass purchased:", gamePassId)
end
end)
MarketplaceService.PromptProductPurchaseFinished:Connect(function(userId, productId, wasPurchased)
local player = Players:GetPlayerByUserId(userId)
if not wasPurchased then
print("Purchase attempt blocked for developer product ID:", productId)
else
print("Developer product purchased:", productId)
end
end)
end
blockPrompts()
print("Handling game pass and developer product prompts.")



Mid
@Gordyiscool3 idc bro i made this for people who wanna use it not for you Gorday
all games?
@Nahidwin1 yeah
and pls tutorial idk how to do this
just execute it
why prints
to see if it works
Bro which executive we have to use