I changed the running physics to mirror the game. If it lags a little, I suggest you have less places that affect the SpeedX variable.