Best brofist.io hacks 2018 (Hide and Seek)

Enjoy! (currently not working I will fix it as soon as possible)

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/39927/261198/Best%20brofistio%20hacks%202018%20%28Hide%20and%20Seek%29.js

// ==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     3
// @description Enjoy! (currently not working I will  fix it as soon as possible)
// @grant       none
// ==/UserScript==
document.onkeydown = function(event) {
 if (event.keyCode == 38) { 
  mode.player.gpData.p.force=[0, 1000];
 }
if (event.keyCode == 40) { 
  mode.player.gpData.p.force=[0, -1000];
 }
if (event.keyCode == 49){
mode.spd=3.9;
}
if (event.keyCode == 50){
mode.spd=3;
}
 if (event.keyCode == 51) {
mode.player.gpData.p.invMass = 0
}
if (event.keyCode == 52) {
mode.player.gpData.p.invMass = 1
}
if (event.keyCode == 53) {
mode.player.gpData.p.angle = 3.14159
mode.player.gpData.p.gravityScale = -1
}
if (event.keyCode == 54) {
mode.player.gpData.p.angle = 0
mode.player.gpData.p.gravityScale = 1
}
if (event.keyCode == 55){
mode.player.gpData.p.gravityScale=0; 
mode.player.gpData.p.collisionResponse=0;
}
if (event.keyCode == 56){
mode.player.gpData.p.gravityScale=1; 
mode.player.gpData.p.collisionResponse=1;
}
if (event.keyCode == 57){
mode.player.gpData.p.position[1]=1.719006061553955
}
if (event.keyCode == 48){
mode.player.gpData.p.position[1]=-122.38400268554688
}
};