Advertisement
Guest User

IIIIIIIII

a guest
Jul 17th, 2017
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. var yourID = '' // Your BLOXCITY ID.
  2. var tlink = '' // Link to your tshirt, make it 50 coins. (not id, full link.)
  3.  
  4. function friend(ID){
  5. var formData = {no: 'no'};
  6. $.ajax({
  7. url : "https://www.bloxcity.com/user/addfriend.php?ID=" + ID,
  8. type: "POST",
  9. data : formData,
  10. success: function(data, textStatus, jqXHR)
  11. {
  12.  
  13. },
  14. error: function (jqXHR, textStatus, errorThrown)
  15. {
  16.  
  17. }
  18. });
  19. };
  20.  
  21. function logout(){
  22. var formData = {};
  23. $.ajax({
  24. url : 'https://www.bloxcity.com/account/logout',
  25. type: "POST",
  26. data : formData,
  27. success: function(data, textStatus, jqXHR)
  28. {
  29. var user = Math.floor((Math.random() * 900000000) + 100000000);
  30. setTimeout(createAccount('a' + user,'pass' + user,user + '@gmail.com'),2000)
  31. },
  32. error: function (jqXHR, textStatus, errorThrown)
  33. {
  34.  
  35. }
  36. });
  37. };
  38.  
  39. function buy(link){
  40. var formData = {BuyItem: ""};
  41. $.ajax({
  42. url : link,
  43. type: "POST",
  44. data : formData,
  45. success: function(data, textStatus, jqXHR)
  46. {
  47. friend(yourID);
  48. setTimeout(logout(),2000);
  49. },
  50. error: function (jqXHR, textStatus, errorThrown)
  51. {
  52.  
  53. }
  54. });
  55. };
  56.  
  57.  
  58. function createAccount(pusername, ppassword, pemail){
  59. var formData = {username: pusername, password: ppassword, email: pemail, submit: "Sign Up"};
  60. $.ajax({
  61. url : "https://www.bloxcity.com/account/register",
  62. type: "POST",
  63. data : formData,
  64. success: function(data, textStatus, jqXHR)
  65. {
  66. console.log(pusername);
  67. setTimeout(buy(tlink),2000)
  68. },
  69. error: function (jqXHR, textStatus, errorThrown)
  70. {
  71.  
  72. }
  73. });
  74. };
  75.  
  76. logout()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement