PHP Code:
function onKeyPressed() {
if (keydown(5)) {
if (onwater(player.x+1.5,player.y+2)){
setlevel2("testtourny.nw", 2, 2);
}
}
}
This is the entire script, so it is serverside. Also, didn't change anything to change the order of onwater or keydown. And keydown 5 should be A.