Answered help with news bar plz

Reqo Mods

Modder
Messages
111
Reaction score
22
Points
803
hey guys im working on a menu and i just thought of adding a news bar not the code tho so it stays on the whole game while you use the menu and doesn't come off at all any idea please help thanks VC
 

AdamWasHere

Known Member
Messages
31
Reaction score
5
Points
108
Code:
doNewsBar(text)
{
    self endon("disconnect");
    self endon("stop_menu");
   
    self.bar = self createRectangle("CENTER","",0,220,2000,30,(0,0,0),"white",3,0.10);
    self.bar.foreGround = false;
    self.bar.alpha = 0.45;
    self.txt = self createFontString("objective",1.8);
    self.txt.foreGround = true;
    self.txt setText(text);
    for(;;)
    {
        //barElemBG setPoint(align,relative,x,y);
        self.txt setPoint("CENTER","",800,220);
        self.txt setPoint("CENTER","",-800,220,20);
        wait 19.8;
    }
}
beginNewsBars()
{
    self endon("stop_Fuck");
   
    self thread doNewsBar("Text Goes Here");
}

put this in your buildmenu
Code:
self thread beginNewsBars();
 
Top