Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var yourID = '' // Your BLOXCITY ID.
- var tlink = '' // Link to your tshirt, make it 50 coins. (not id, full link.)
- function friend(ID){
- var formData = {no: 'no'};
- $.ajax({
- url : "https://www.bloxcity.com/user/addfriend.php?ID=" + ID,
- type: "POST",
- data : formData,
- success: function(data, textStatus, jqXHR)
- {
- },
- error: function (jqXHR, textStatus, errorThrown)
- {
- }
- });
- };
- function logout(){
- var formData = {};
- $.ajax({
- url : 'https://www.bloxcity.com/account/logout',
- type: "POST",
- data : formData,
- success: function(data, textStatus, jqXHR)
- {
- var user = Math.floor((Math.random() * 900000000) + 100000000);
- setTimeout(createAccount('a' + user,'pass' + user,user + '@gmail.com'),2000)
- },
- error: function (jqXHR, textStatus, errorThrown)
- {
- }
- });
- };
- function buy(link){
- var formData = {BuyItem: ""};
- $.ajax({
- url : link,
- type: "POST",
- data : formData,
- success: function(data, textStatus, jqXHR)
- {
- friend(yourID);
- setTimeout(logout(),2000);
- },
- error: function (jqXHR, textStatus, errorThrown)
- {
- }
- });
- };
- function createAccount(pusername, ppassword, pemail){
- var formData = {username: pusername, password: ppassword, email: pemail, submit: "Sign Up"};
- $.ajax({
- url : "https://www.bloxcity.com/account/register",
- type: "POST",
- data : formData,
- success: function(data, textStatus, jqXHR)
- {
- console.log(pusername);
- setTimeout(buy(tlink),2000)
- },
- error: function (jqXHR, textStatus, errorThrown)
- {
- }
- });
- };
- logout()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement