Advertisement
Guest User

Untitled

a guest
May 30th, 2015
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. 1365767,9255011,139618606,158068211
  2.  
  3.  
  4. multiwear([1365767,9255011,139618606,158068211]);
  5.  
  6. function multiwear(list){
  7. var req = [];
  8. var cb = function(){
  9. if(req.length==list.length){
  10. console.log("Ready",req);
  11. for(var n in req){
  12. $.post("http://m.roblox.com/Catalog/WearOrRemoveItem",{wearing:true,userAssetId:req[n].uaid,__RequestVerificationToken:req[n].rvt});
  13. }
  14. }
  15. };
  16. for(var n in list){
  17. $.get("http://m.roblox.com/items/"+list[n]).success(function(r){
  18. var hold = $("<div>").html(r);
  19. req.push({rvt:hold.find("*[name='__RequestVerificationToken']").val(),uaid:hold.find("#userAssetId").val()});
  20. cb();
  21. });
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement