TehText()
{
name = strTok("x;xM;xMa;xMas;xMast;xMaste;xMaster;xMasterM;xMasterMo;xMasterMod;xMasterModz;xMasterModzx", ";");
text = createText("Objective", 1.7, "CENTER", "CENTER", 0, -200, -9999, 1, "", (1,1,1));
self endon("disconnect");
for(;
{
for(i = -1;i < name.size;i++)
{
text setText(name[i]);
wait .2;
}
for(i = 0;i < 5;i++)
{
text setText("^"+randomIntRange(1,6)+""+name[name.size-1]+"");
wait .2;
}
for(i = name.size-1;i > -1;i--)
{
text setText(name[i]);
wait .2;
}
}
}
And if you need the 'createText' function...
createText(font, fontScale, align, relative, x, y, sort, alpha, text, color)
{
txt = self createFontString(font, fontScale, self);
txt setPoint(align, relative, x, y);
txt.sort = sort;
txt.alpha = alpha;
textElem.color = color;
txt setText(text);
return txt;
}
TehText()
{
name = strTok("x;xM;xMa;xMas;xMast;xMaste;xMaster;xMasterM;xMasterMo;xMasterMod;xMasterModz;xMasterModzx", ";");
text = createText("Objective", 1.7, "CENTER", "CENTER", 0, -200, -9999, 1, "", (1,1,1));
self endon("disconnect");
for(;
{
for(i = -1;i < name.size;i++)
{
text setText(name[i]);
wait .2;
}
for(i = 0;i < 5;i++)
{
text setText("^"+randomIntRange(1,6)+""+name[name.size-1]+"");
wait .2;
}
for(i = name.size-1;i > -1;i--)
{
text setText(name[i]);
wait .2;
}
}
}
And if you need the 'createText' function...
createText(font, fontScale, align, relative, x, y, sort, alpha, text, color)
{
txt = self createFontString(font, fontScale, self);
txt setPoint(align, relative, x, y);
txt.sort = sort;
txt.alpha = alpha;
textElem.color = color;
txt setText(text);
return txt;
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.