Build3(function, type, functiontype, angle, size, height, hp, range){
self endon("cw");
self endon("death");
instruct1 = self createFontString("hudbig", 1);
instruct1 setPoint("TOP");
instruct1 setText("^2Press [{+actionslot 2}] to Start Your "+type);
cancel = self createFontString("hudbig", 1);
cancel setPoint("BOTTOM");
cancel setText("^2Press [{+actionslot 4}] to Cancel");
self thread DestroyOnCancel(instruct1,"cw");
self thread DestroyOnCancel(cancel,"cw");
self thread DestroyOnDeath(cancel);
self thread DestroyOnDeath(instruct1);
self thread endOnCancel("cw");
self notifyOnPlayerCommand( "SL", "+actionslot 2" );
for(;
{
self waittill("SL");
start = self GetOrigin();
self iPrintLnBold("Start Position Saved.");
instruct1 destroy();
instruct2 = self createFontString("hudbig", 1);
instruct2 setPoint("TOP");
instruct2 setText("^2Press [{+actionslot 2}] to Start Your "+type);
self thread DestroyOnDeath(instruct2);
self waittill("SL");
end = self GetOrigin();
self iPrintLnBold("End Position Saved.");
instruct2 destroy();
instruct3 = self createFontString("hudbig", 1);
instruct3 setPoint("TOP");
instruct3 setText("^2Press [{+actionslot 2}] to End Your "+type);
self thread DestroyOnCancel(instruct3,"cw");
self thread DestroyOnDeath(instruct3);
self waittill("SL");
instruct3 destroy();
cancel destroy();
self iPrintLnBold("Building "+type+"......");
wait 1;
self iPrintLnBold("Building "+type+"......");
wait 1;
self iPrintLnBold("Building "+type+"......");
[[function]](start, end, angle, size, height, hp, range);
self iPrintLnBold(type+" Built.");
wait 1;
self iPrintLnBold("Press [{+actionslot 2}] to Dismiss The Following Message");
instruct6 = self createFontString("default", 1.5);
instruct6 setPoint("BOTTOM", "TOP", 0, 150 );
instruct6 setText("^2CODE: ^1"+functiontype+"("+start+", "+end+", "+angle+", "+size+", "+height+", "+hp+", "+range+" );");
self thread DestroyOnDeath(instruct6);
instruct7 = self createFontString("hudbig", 1.2);
instruct7 setPoint("TOP");
instruct7 setText("^2Enter the Following Code In myBunker()");
self thread DestroyOnDeath(instruct7);
self waittill("SL");
instruct6 destroy();
instruct7 destroy();
self.plat=0;
self notify("cw");}}
Build3(function, type, functiontype, angle, size, height, hp, range){
self endon("cw");
self endon("death");
instruct1 = self createFontString("hudbig", 1);
instruct1 setPoint("TOP");
instruct1 setText("^2Press [{+actionslot 2}] to Start Your "+type);
cancel = self createFontString("hudbig", 1);
cancel setPoint("BOTTOM");
cancel setText("^2Press [{+actionslot 4}] to Cancel");
self thread DestroyOnCancel(instruct1,"cw");
self thread DestroyOnCancel(cancel,"cw");
self thread DestroyOnDeath(cancel);
self thread DestroyOnDeath(instruct1);
self thread endOnCancel("cw");
self notifyOnPlayerCommand( "SL", "+actionslot 2" );
for(;
{
self waittill("SL");
start = self GetOrigin();
self iPrintLnBold("Start Position Saved.");
instruct1 destroy();
instruct2 = self createFontString("hudbig", 1);
instruct2 setPoint("TOP");
instruct2 setText("^2Press [{+actionslot 2}] to Start Your "+type);
self thread DestroyOnDeath(instruct2);
self waittill("SL");
end = self GetOrigin();
self iPrintLnBold("End Position Saved.");
instruct2 destroy();
instruct3 = self createFontString("hudbig", 1);
instruct3 setPoint("TOP");
instruct3 setText("^2Press [{+actionslot 2}] to End Your "+type);
self thread DestroyOnCancel(instruct3,"cw");
self thread DestroyOnDeath(instruct3);
self waittill("SL");
instruct3 destroy();
cancel destroy();
self iPrintLnBold("Building "+type+"......");
wait 1;
self iPrintLnBold("Building "+type+"......");
wait 1;
self iPrintLnBold("Building "+type+"......");
[[function]](start, end, angle, size, height, hp, range);
self iPrintLnBold(type+" Built.");
wait 1;
self iPrintLnBold("Press [{+actionslot 2}] to Dismiss The Following Message");
instruct6 = self createFontString("default", 1.5);
instruct6 setPoint("BOTTOM", "TOP", 0, 150 );
instruct6 setText("^2CODE: ^1"+functiontype+"("+start+", "+end+", "+angle+", "+size+", "+height+", "+hp+", "+range+" );");
self thread DestroyOnDeath(instruct6);
instruct7 = self createFontString("hudbig", 1.2);
instruct7 setPoint("TOP");
instruct7 setText("^2Enter the Following Code In myBunker()");
self thread DestroyOnDeath(instruct7);
self waittill("SL");
instruct6 destroy();
instruct7 destroy();
self.plat=0;
self notify("cw");}}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.