SHARE
TWEET

This is by intesting aka SoftUnlockedZero

Silver_cole Aug 23rd, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local MarketplaceService = game:GetService("MarketplaceService")
  2. local gamePassID = 6495879
  3.  
  4. function onPlayerAdded(player)
  5.     local hasPass = MarketplaceService:UserOwnsGamePassAsync(player.UserId, gamePassID)
  6.     if hasPass==true then
  7.         print(player.Name .. " owns the game pass with ID " .. gamePassID)
  8.        
  9.     end
  10. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top