Post: Make menu instructions Stealth With StonedYoda Base
08-23-2016, 09:54 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello Winky Winky
I need help to make menu instructions stealth with StonedYoda base
Here is the code

menuinstructions()
{
self createRectangle( "CENTER", "center", -350, 0, "white", 205, 75, (1, 0, 1), 0.6, 3 );
self createRectangle( "CENTER", "center", -350, 0, "white", 200, 70, (0, 0, 0), 0.95, 3 );
self.instructTEXT = self createFontString("default",1.5);
self.instructTEXT setPoint("center","center",-339,-17);
self.instructTEXT.sort = 3;
self.instructTEXT.alpha = 1;
for(;Winky Winky
{
if(!self.menu.open)
{
self.instructTEXT FadeOverTime(0.1);
self.instructTEXT setText("Welcome: ^3"+self.name+"\n^7Press [{+actionslot 1}] to Open\nAccess Level: "+self.status);
wait 0.1;
}
else
{
self.instructTEXT FadeOverTime(0.1);
self.instructTEXT setText("Press [{+actionslot 1}]/[{+actionslot 2}] to Scroll\nPress [{+activate}] to Validate\nPress [{+melee}] to Close");
wait 0.1;
}
}
}

createRectangle( align, relative, x, y, shader, width, height, color, alpha, sort ) // Erbils Function
{
barElemBG = newClientHudElem( self );
barElemBG.elemType = "bar";
if ( !level.splitScreen )// by StonedYoda
{
barElemBG.x = -2;
barElemBG.y = -2;
}
barElemBG.width = width;
barElemBG.height = height;
barElemBG.align = align;
barElemBG.relative = relative;
barElemBG.xOffset = 0;
barElemBG.yOffset = 0;
barElemBG.children = [];
barElemBG.sort = sort;
barElemBG.color = color;
barElemBG.alpha = alpha;
barElemBG setParent( level.uiParent );// by StonedYoda
barElemBG setShader( shader, width , height );
barElemBG.hidden = false;
barElemBG setPoint(align,relative,x,y);
return barElemBG;
}
(adsbygoogle = window.adsbygoogle || []).push({});

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo