![Item Spawner - Bypass Gamepass [OPEN-SOURCE]](https://cdn.kocakz.me/images/a4a9dc53d5071a447621497e6649bc08d7868008c85e0c21ce3e70efcff4ed40.webp)
Key Required

-- ServerScriptService/GamepassHandler.lua
local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
local GAMEPASS_ID = 12345678 -- seu Gamepass ID
Players.PlayerAdded:Connect(function(player)
local success, owns = pcall(MarketplaceService.UserOwnsGamePassAsync, MarketplaceService, player.UserId, GAMEPASS_ID)
if success and owns then
-- Dar item ou habilitar feature
print(player.Name .. " possui o gamepass.")
-- exemplo: setar atributo
player:SetAttribute("HasSpecialPass", true)
end
end)No comments yet for this script.
![Item Spawner - Bypass Gamepass [OPEN-SOURCE]](https://cdn.kocakz.me/images/a4a9dc53d5071a447621497e6649bc08d7868008c85e0c21ce3e70efcff4ed40.webp)


