
17.1k Views
113 Executions
Gamepass Blocker
Universal Script 📌
Transactic11First script
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Blocks games from showing gamepasses
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.")









Bro which executive we have to use
to see if it works
why prints
just execute it
and pls tutorial idk how to do this
@Nahidwin1 yeah
all games?