if their velocity is at an angle at 5 units, they won't go as far as if they were moving sideways at 5 units
maybe try
%vec = vectorNormalize(%player.getVelocity());
%vec = getWords(%vec, 0, 1);
%vec = vectorScale(%vec, 30);
%player.addVelocity(%vec);
i'm not sure what you were trying to do with the %vec2 = getWords(%vec1, 2, 3);