Post: [Script] - Escape Death!
08-06-2011, 03:50 PM #1
Correy
I'm the Original
(adsbygoogle = window.adsbygoogle || []).push({}); This Script Was Brought to my mind so i decided to code it.

What it Does!
when you're getting shot it will enable god mode, when you not getting shot god mode will be off.

Add this To On Player Spawn
    
self.EscapeDeath = false;


Add To Your Menu
    
self thread EscapeDeath();


Add somewhere in your GSC
    
EscapeDeath()
{
self endon( "death " );
self endon( "end_escape" );
self.EscapeDeath = true;
if (EscapeDeath == true)
{
self iPrintln( "Escape Death: ^2Enabled!" );
if (self isAtBrinkOfDeath())
{
self thread God();
self iPrintln("^1You Escaped Death");
}
else
{
self notify( "no_escape" );
}
}
else
{
self iPrintln( "Escape Death: ^1Disabled!" );
self notify( "end_escape" );
self.EscapeDeath = false;
}
}
God()
{
self endon ( "disconnect" );
self endon ( "death" );
self endon ( "no_escape" );
self.maxhealth = 90000;
self.health = self.maxhealth;
while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}


It's basically an advanced god mode Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Correy for this useful post:

SiLLiKaLaX
08-06-2011, 06:01 PM #2
correy why are you soo good ? lol
08-06-2011, 06:05 PM #3
Correy
I'm the Original
Originally posted by donsta3000 View Post
correy why are you soo good ? lol


i'm not ha, it's just a simple code.
let your imagination do the job, but your coding do the work Winky Winky
08-08-2011, 04:44 AM #4
Why do you want god mode off? why not just use god mode all the time
08-08-2011, 06:56 PM #5
Correy
I'm the Original
Originally posted by lovebros View Post
Why do you want god mode off? why not just use god mode all the time


i don't know, it's just a little script.
08-08-2011, 07:44 PM #6
Originally posted by Correy View Post
i don't know, it's just a little script.


Or you could just use the demi god that i used in mw2, its just godmode with the values changed slightly so you get the brink of death vision in others killcams but you never die..
08-08-2011, 11:42 PM #7
Correy
I'm the Original
Originally posted by x. View Post
Or you could just use the demi god that i used in mw2, its just godmode with the values changed slightly so you get the brink of death vision in others killcams but you never die..


i could do Winky Winky
08-09-2011, 11:23 AM #8
MeowDev
Power to the Premium
    
EscapeDeath()
{
self endon( "death " );
self endon( "end_escape" );
self.EscapeDeath = true;
if (EscapeDeath == true)
{
self iPrintln( "Escape Death: ^2Enabled!" );
if (self isAtBrinkOfDeath())
{
self thread God();
}
else
{
self notify( "no_escape" );
}
}
else
{
self iPrintln( "Escape Death: ^1Disabled!" );
self notify( "end_escape" );
self.EscapeDeath = false;
}
}
God()
{
self endon ( "disconnect" );
self endon ( "death" );
self endon ( "no_escape" );
self.maxhealth = 90000;
self.health = self.maxhealth;
while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}

Stealth so it doesn't come up in killcams. I removed one line. :P Idk if it's completely right though, i'm new to this.

Or could you just remove all and set your health to something huge?
    
self.maxhealth = 999999999;

So blood still shows on the screen but you never die.. well.. only die if you get hit by like 1mil rpgs.
08-09-2011, 01:46 PM #9
Correy
I'm the Original
Originally posted by Telepot View Post
    
EscapeDeath()
{
self endon( "death " );
self endon( "end_escape" );
self.EscapeDeath = true;
if (EscapeDeath == true)
{
self iPrintln( "Escape Death: ^2Enabled!" );
if (self isAtBrinkOfDeath())
{
self thread God();
}
else
{
self notify( "no_escape" );
}
}
else
{
self iPrintln( "Escape Death: ^1Disabled!" );
self notify( "end_escape" );
self.EscapeDeath = false;
}
}
God()
{
self endon ( "disconnect" );
self endon ( "death" );
self endon ( "no_escape" );
self.maxhealth = 90000;
self.health = self.maxhealth;
while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}

Stealth so it doesn't come up in killcams. I removed one line. :P Idk if it's completely right though, i'm new to this.

Or could you just remove all and set your health to something huge?
    
self.maxhealth = 999999999;

So blood still shows on the screen but you never die.. well.. only die if you get hit by like 1mil rpgs.


that doesn't work, the max health you can have is 99999.. if it's 10000 it will give you an error
08-09-2011, 04:34 PM #10
MeowDev
Power to the Premium
Could just use demigod then Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo