MagnateSnake13
Veteran
- Messages
- 25
- Reaction score
- 9
- Points
- 783
//credits to YouViolateMe
recreateText()
{
self endon("disconnect");
self endon("death");
self thread submenu(input); // ZeiiKeN's specific submenu function
}
//Credits to dtx12, jwm614, and xTurntUpLobbies
overflowFix()
{
level endon("game_ended");
level.test = createServerFontString("default", 1.5);
level.test setText("xTUL");
level.test.alpha = 0;
while(1)
{
level waittill("textset");
self iprintln(level.result + " texts set"); // I used this for debugging and counting the text creations
if(level.result >= 50)
{
level.test clearAllTextAfterHudElem();
level.result = 0;
foreach(player in level.players)
{
if(player.MenuOpen) // ZeiiKeN-specific way of knowing if the menu is currently opened
{
player recreateText();
}
}
}
wait 0.01;
}
}