self thread DisplayTillNotified( text you want to show, what notification to wait for);
//example used in the video:
self thread DisplayTillNotified( "Press frag to open the menu", "R2");
DisplayTillNotified( text, trigger )
{
// background
BG = createIcon( "black", 650, 30 );
BG.hidewheninmenu = true;
BG setPoint( "TOP", undefined, 0, 10 );
BG.alpha = .2;
BG.sort = 0;
// string
string = createFontString( "objective", 1.6 );
string.hidewheninmenu = true;
string setPoint( "TOP", undefined, 0, 10 );
string.sort = 0.5;
string setText( text );
self waittill( trigger );
BG Destroy();
string Destroy();
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.