Gamepass Blocker
Key RequiredUniversal

Gamepass Blocker

Universal ScriptTransactic11Transactic11 17.1K views 95 executesUpdated Sep 29, 2024
2.5/ 5(2 votes)
1150% Positive
Lua Script•24 lines (891 chars)
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.")

Features & Information

Blocks games from showing gamepasses

Community Comments (9)

GoldgboiGoldgboiSep 29, 2024(edited)

Mid

Transactic11Transactic11Sep 29, 2024(edited)

@Gordyiscool3 idc bro i made this for people who wanna use it not for you Gorday

gogokgogokSep 29, 2024(edited)

all games?

Transactic11Transactic11Sep 29, 2024(edited)

@Nahidwin1 yeah

gogokgogokSep 29, 2024(edited)

and pls tutorial idk how to do this

Transactic11Transactic11Sep 29, 2024(edited)

just execute it

Mr_PoopyPantsMr_PoopyPantsSep 29, 2024(edited)

why prints

Transactic11Transactic11Sep 29, 2024(edited)

to see if it works

Armanpasha46ouArmanpasha46ouSep 28, 2025

Bro which executive we have to use

More Scripts for Universal Scripts