GoCoderzHack

im too lazy i hope it works

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         GoCoderzHack
// @version      2
// @description  im too lazy i hope it works
// @author       You
// @match        https://play.gocoderz.com/dashboard/*
// @grant        none
// @run-at       document-start
// @namespace https://google.com
// ==/UserScript==

function makecomplete(id){
fetch("https://play.gocoderz.com/coderz-api/updateAttempts",{method:"POST",body:JSON.stringify({id: id, completed: "1", score: 100}), headers:{"content-type": "application/json;charset=UTF-8"}})
}

function addattempt(id, t){
    for(var b=0;b<t;b++){
        fetch("https://play.gocoderz.com/coderz-api/updateAttempts",{method:"POST",body:JSON.stringify({id: id, completed: "0", score: 0}), headers:{"content-type": "application/json;charset=UTF-8"}})
    }
}

function addcompletetime(id,s){
fetch("https://play.gocoderz.com/coderz-api/updateDuration",{method:"POST",body:JSON.stringify({id: id, completed: "0", duration: s}), headers:{"content-type": "application/json;charset=UTF-8"}})
}

function legitcomplete(id){
let c = 3+Math.floor(Math.random()*5);
let t = c*40+(Math.floor(Math.random()*21)-10)
addattempt(id, c);
addcompletetime(id, c*40);
makecomplete(id);

document.write("Succesfully added "+c+" attempts, "+t+" seconds, and completed the mission of id: "+window.location.toString().match(/[0-9]{7}/)[0]+".</br>You can go back now and refresh and it will show :)");
}
if(window.location.toString().match(/[0-9]{7}/)[0].length>0){
   legitcomplete(window.location.toString().match(/[0-9]{7}/)[0]);
   }