Advertisement
yWolf_BR

Codigo itens antigos dos eventos

Mar 27th, 2019
1,070
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. Obrigado por assistir abaixo esta o codigo :)
  2.  
  3. Não esta mais funcionando , porem caso você ainda sim queira tentar esta ai ¯\_(ツ)_/¯
  4.  
  5. var productIds = [
  6. "51119013", // Slime Cape
  7. "51119443", // Slime Sunglasses
  8. "45038518", // Festive Winter Shades
  9. "54591332", // Yondu’s Fin
  10. "37990657" // Dog Man Virtual Book
  11. ]
  12.  
  13. productIds.forEach(function(productId) {
  14. $.ajax("https://economy.roblox.com/v1/purchases/products/"+productId, {
  15. method: "POST",
  16. headers: {"X-CSRF-TOKEN": Roblox.XsrfToken.getToken()},
  17. dataType: "json",
  18. data: {
  19. expectedCurrency: 0,
  20. expectedPrice: 0,
  21. expectedSellerId: 1
  22. },
  23. success: function(data) {
  24. if (data.purchased) {
  25. console.log("Bought", data.assetName)
  26. }
  27. }
  28. })
  29. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement