made a working test for the maxspeed of the player

check comment in code!