
KeylessUniversal

--[[
Script by MegaXk 👨💻
Corrected version (⚠️Warning: this script may not always work, it has a chance of not working and it doesn't give you Gamepass. This script may work on poorly made games)
]]
local player = game.Players.LocalPlayer
local marketplace = game:GetService("MarketplaceService")
local http = game:GetService("HttpService")
local replicatedStorage = game:GetService("ReplicatedStorage")
local function showRobloxNotification(title, text, duration)
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = title,
Text = text,
Duration = duration or 4
})
end
local function getGameName()
local success, info = pcall(function()
return marketplace:GetProductInfo(game.PlaceId)
end)
return success and info.Name or "Unknown Game"
end
local function getGamepassIds()
local url = "https://games.roblox.com/v1/games/" .. game.PlaceId .. "/game-passes?limit=100"
local success, response = pcall(function()
return http:GetAsync(url)
end)
if not success then return {} end
local data = http:JSONDecode(response)
local ids = {}
for _, v in pairs(data.data or {}) do
table.insert(ids, v.id)
end
return ids
end
local function getProductIds()
local url = "https://games.roblox.com/v1/games/" .. game.PlaceId .. "/developer-products?limit=100"
local success, response = pcall(function()
return http:GetAsync(url)
end)
if not success then return {} end
local data = http:JSONDecode(response)
local ids = {}
for _, v in pairs(data.data or {}) do
table.insert(ids, v.id)
end
return ids
end
local function bypassUserOwns()
local mt = getrawmetatable(game)
if not mt then return end
local oldNamecall = mt.__namecall
setreadonly(mt, false)
mt.__namecall = newcclosure(function(self, ...)
local method = getnamecallmethod()
if self == marketplace and method == "UserOwnsGamePassAsync" then
return true
end
return oldNamecall(self, ...)
end)
setreadonly(mt, true)
end
local function triggerGamepassRewards(ids)
local promptEvent = replicatedStorage:FindFirstChild("PromptGamepassPurchaseFinished")
if not promptEvent then return end
for _, id in pairs(ids) do
pcall(function()
promptEvent:FireServer(player.UserId, id)
end)
end
end
local function triggerProductRewards(ids)
for _, id in pairs(ids) do
pcall(function()
marketplace:SignalPromptProductPurchaseFinished(player.UserId, id, true)
end)
end
end
local function disablePromptHook()
if not marketplace.PromptProductPurchaseFinished then return end
local oldConnect
oldConnect = hookfunction(marketplace.PromptProductPurchaseFinished.Connect, function(self, func)
if self == marketplace.PromptProductPurchaseFinished then
return
end
return oldConnect(self, func)
end)
end
-- Execução principal
local gameName = getGameName()
local passIds = getGamepassIds()
local productIds = getProductIds()
bypassUserOwns()
disablePromptHook()
triggerGamepassRewards(passIds)
triggerProductRewards(productIds)
showRobloxNotification("Name Game: " .. gameName, "Your game is probably eligible for the code to work 💠", 4)
warn("[SYSTEM] Script executed. Simulated rewards successfully applied.")



How tf does this work?
@Kingina will print all the gamep*ess of the game on the console
The rat man is happy
can someone please explain on how to use this? where and what do i have to change for it to work and if it work on seliware
@l3onpollak1 Yes, you have to enter the game ID to get all the game passes; the script doesn't work for some games.
thanks for the reply. I saw you posted a new version and i already commented on that. But i will also ask here, how do i know which games work or not? also thanks for your work
Doesn't working
@MR_ROBOT it doesnt work for all games
im sorry im new but im usually do is copythe script here then execute, do i need to edit this before ti execute in delta? Amd how😭
Im confused, in which areas do i enter the id????
Ok but what if i join a game that has a gamepass ingame, not in the actual game's store?
guys when i try in brookhaven and guts and blackpowder dosent work can someone help me please tell me the whole process i have tried 20 other games
@zohanhermoso15 maybe you're trying on a top game on Roblox, usually top games on Roblox have a marketplace security system
The previous script you were talking about was made to register all GamePass subscriptions on the console (I made that script to prevent GamePass subscriptions), but this new version of the script was made to capture them Gamepass please don't criticize me 🙏 (Sorry for previously putting: Get all Gamepass in the first version of the script) Sorry! The script may not work if the game is very anti-cheat (if it has very strong security). The true intention of the script is: To trick the game into believing that the player has the Gamepass. See the description for more details!
where do you enter the game id?