changed the player movement script of ball