Best Brofist.io Hacks 2018 (Hide and Seek)

FINALLY WORKS ! :D But the script is tiny. Don't laugh at it because it took a while for me to get it working. Enjoy and thanks for installing my script! Tampermonkey, Greasemonkey, and Violentmonkey are not required.

当前为 2018-09-29 提交的版本,查看 最新版本

作者
Kaden Baker
评分
0 0 0
版本
1.4
创建于
2018-08-29
更新于
2018-09-29
大小
636 字节
许可证
暂无
适用于

This is now a working script, but it is a tiny one. Only one piece of code will work in it. If you appear tagged, then IDK what to say, then. As long as you aren't being chased by seekers, I think.
1 - Teleport back to hider's spawn. (This doesn't make you teleport to seekers. IF it does, they can't tag you.)

If you want to try and change it, here is the copied version so you have easy access to it.



// ==UserScript==
// @name Best Brofist.io Hacks 2018 (Hide and Seek)
// @namespace Best Brofist.io Hacks 2018 (Hide and Seek)
// @include http://brofist.io/modes/hideAndSeek/c/index.html
// @version 1.3
// @description Don't install this script! It doesn't work. I'm trying to get it fixed and working.
// @grant none
// ==/UserScript==
var oldName = client.name;
var oldSkin = client.skin;
document.onkeydown = function(event) {
if (event.keyCode == 38) {
client.force=[0, 700];
}
if (event.keyCode == 40) {
client.force=[0, -700];
}
if (keyCode = 49){
client.spd=3.5;
}
if (keyCode = 50){
client.spd=3;
}
if (event.keyCode == 51) {
client.invMass = 0
}
if (event.keyCode == 52) {
client.invMass = 1
}
if (event.keyCode == 53) {
client.angle = 3.14159
client.gravityScale = -1
}
if (event.keyCode == 54) {
client.angle = 0
client.gravityScale = 1
}
if (event.keyCode == 55){
client.gravityScale=0;
client.collisionResponse=0;
}
if (event.keyCode == 56){
client.gravityScale=1;
client.collisionResponse=1;
}
if (event.keyCode == 57){
client.position[1]=1.719006061553955
}
if (event.keyCode == 48){
client.position[0]=-122.38400268554688
}
};