-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local MarketplaceService = game:GetService("MarketplaceService") local Players = game:GetService("Players") local GAMEPASS_ID = 12345678 -- Replace with actual Gamepass ID local function onPlayerAdded(player) local success, ownsGamepass = pcall(function() return MarketplaceService:UserOwnsGamePassAsync(player.UserId, GAMEPASS_ID) end) if success and ownsGamepass then print(player.Name .. " legitimately owns the gamepass.") -- Reward the player with the gamepass feature safely on the server else print(player.Name .. " does not own the gamepass or an error occurred.") end end Players.PlayerAdded:Connect(onPlayerAdded)