Delete Timer Brofist.io

No Timer For Brofist.io 2PL Another Code $("#startTime").remove();

< Feedback on Delete Timer Brofist.io

Question/comment

§
Posted: 2018-09-01

I need help with some code

Okay, so I have a script that I'm SURE has to do with Tampermonkey, but I can't get it and I can't use it in console because it doesn't work. I'm hoping you can maybe make fix it for Tampermonkey users and make another version for console users. Thanks for helping me the best you can and reading this! Now here's the code.

// ==UserScript== // @name Brofist.io Hacks // @namespace Brofist.io Hacks // @include http://brofist.io/modes/twoPlayer/c/index.html // @version 1 // @description Enjoy! (You may need Tampermonkey for this. Try and see if it works in console. If not, download Tampermonkey. It's free.) // @grant none // ==/UserScript==

var isCheat = false; document.getElementsByTagName('body')[0].onkeypress = function(e){ var which = e.which; if(which == 51){ isCheat = !isCheat; if (isCheat){ console.log('cheat on'); } else{ console.log('cheat off'); } } }; document.getElementsByTagName('body')[0].onkeydown = function(e) {

var keyCode = e.keyCode;
if(!isCheat){
    return true;
}
if(keyCode == 81){
    plyer.shapes[0].body.position[0] -= 1;
    console.log('position horizontal: -1');
}
if(keyCode == 87){
    plyer.shapes[0].body.position[0] += 1;
    console.log('position horizontal: +1');
}
if(keyCode == 69){
    plyer.shapes[0].body.position[1] -= 1;
    console.log('position vertical: -1');
}
if(keyCode == 82){
    plyer.shapes[0].body.position[1] += 1;
    console.log('position vertical: +1');
}
if(keyCode == 65){
    plyer.velocityValue += 50;
    console.log('speed: +50');
}
if(keyCode == 83){
    plyer.velocityValue -= 50;
    console.log('speed: -50');
}
if(keyCode == 90){
    plyer.world.gravity[1] = 9.779999732971191;
    console.log('has up gravity');
}
if(keyCode == 67){
    plyer.world.gravity[1] = 0;
    console.log('has not gravity');
}
if(keyCode == 88){
    plyer.world.gravity[1] = -9.779999732971191;
    console.log('has down gravity');
}
if(keyCode == 49){
    plyer.jumpValue = 1600;
    console.log('high jump');
}
if(keyCode == 50){
    plyer.jumpValue =800;
    console.log('short jump');
}
if(keyCode == 68){
    plyer.shapes[0].collisionResponse = false;
    console.log('has not collision');
}
if(keyCode == 70){
    plyer.shapes[0].collisionResponse = true;
    console.log('has collision');
}
console.log(keyCode);

};

§
Posted: 2018-10-09

I remember now that when u told me that this was the older hacks, I now realize that my script isn't gonna work.

Post reply

Sign in to post a reply.