Munnopoly The code in this page is garbage. At the time i was learning code but there is a better way to do this animated text by using the moveovertime and fadeovertime.
This is the generic function i use for all the new mods i develop:
affectElement(type, time, value)
{
if (type == "x" || type == "y")
self moveOverTime(time);
else
self fadeOverTime(time);
if (type == "x")
self.x = value;
if (type == "y")
self.y = value;
if (type == "alpha")
self.alpha = value;
if (type == "color")
self.color = value;
}