Hi all im working on Fake virus injector whit progress bar of someone release here. Sorry i don't remembre ur name man ...
I want to call it in my Give to Player options.
I dont know how to make it work.
The code :
Thx u a lot if u help me thx for this beautifull site
I want to call it in my Give to Player options.
I dont know how to make it work.
The code :
ChallengeBar()
{
player endon("death");
player.ProcessBar2=createPrimaryProgressBar();
for(i=0;i<101;i++)
{
player freezecontrols(1);
player enableInvulnerability();
level.ChallengeBar = level createServerFontString( "default",1 );
level.ChallengeBar setPoint( "CENTER", "CENTER", -30, -13 );
level.ChallengeBar setText("^1Injecting Virus... ");
player.ProcessBar2 updateBar(i / 100);
player.CreateText setValue(i);
player.ProcessBar2 setPoint("CENTER","CENTER",0,0);
ProcessBar2.x = 160;
ProcessBar2.y = 20;
player.ProcessBar2.color=(0,0,0);
player.ProcessBar2.bar.color=(randomint(255)/255, randomint(255)/255, randomint(255)/255);
player.ProcessBar2.alpha=1;
wait .1;
level.ChallengeBar destroy();
}
player.ProcessBar2 destroyElem();
player disableInvulnerability();
player freezecontrols(0);
}
{
player endon("death");
player.ProcessBar2=createPrimaryProgressBar();
for(i=0;i<101;i++)
{
player freezecontrols(1);
player enableInvulnerability();
level.ChallengeBar = level createServerFontString( "default",1 );
level.ChallengeBar setPoint( "CENTER", "CENTER", -30, -13 );
level.ChallengeBar setText("^1Injecting Virus... ");
player.ProcessBar2 updateBar(i / 100);
player.CreateText setValue(i);
player.ProcessBar2 setPoint("CENTER","CENTER",0,0);
ProcessBar2.x = 160;
ProcessBar2.y = 20;
player.ProcessBar2.color=(0,0,0);
player.ProcessBar2.bar.color=(randomint(255)/255, randomint(255)/255, randomint(255)/255);
player.ProcessBar2.alpha=1;
wait .1;
level.ChallengeBar destroy();
}
player.ProcessBar2 destroyElem();
player disableInvulnerability();
player freezecontrols(0);
}
Thx u a lot if u help me thx for this beautifull site