Updated lag compensation in BallScript