What's new

TheRoflRocket

Enthusiast
Messages
164
Reaction score
64
Code:
unfix_hax()
{
self endon("disconnect");
self endon("death");

check = 15;
check1 = 10;
TeleCost = 100;
help_nuke = 2000;

while(1)
{
wait(.5);
if( distance2d(self.origin,( -186.454, 594.996, 148.241)) < check )
{
if( self.score >= TeleCost )
{
self minus_to_player_score( TeleCost ); 
self setorigin ( (-168, -606, 1.125) );
}
else if( self.score < TeleCost )
{
self iPrintlnBold( "^6You've Teleported" );
}
}
else if( distance2d(self.origin,(-18.9912, 608.042, 1.02286)) < check)
{
if( self.score >= TeleCost )
{
self minus_to_player_score( TeleCost ); 
self setorigin( (132, 495, 143.125) );
}
else if( self.score < TeleCost )
{
self iPrintlnBold( "^4You've Teleported" );
}
}
else if( distance2d(self.origin,(1000.39, 677.384, 150.085)) < check)
{
if( self.score >= TeleCost )
{
self minus_to_player_score( TeleCost ); 
self setorigin( (1012 ,830, 1.125) );
}
else if( self.score < TeleCost )
{
self iPrintlnBold( "^5You've Teleported" );
}
}
else if( distance2d(self.origin,(311.385, 1098.87, 144.125)) < check)
{
if( self.score >= TeleCost )
{
self minus_to_player_score( TeleCost ); 
self setorigin( (-153 ,-362, 1.125) );
}
else if( self.score < TeleCost )
{
self iPrintlnBold( "^2You've Teleported" );
}
}
else if( distance2d(self.origin,(-128.565 ,-483.923, 3.125 )) < check)
{
if( self.score >= TeleCost )
{
self minus_to_player_score( TeleCost ); 
self setorigin( (-248.575 ,302.889, 2.125) );
}
else if( self.score < TeleCost )
{
self iPrintlnBold( "^3You've Teleported" );
}
}
else if( distance2d(self.origin,(785.156 ,991.994, 1.125 )) < check)
{
if( self.score >= help_nuke )
{
self minus_to_player_score( help_nuke ); 
}
else if( self.score < help_nuke )
{
self iPrintlnBold("^1You bought a NUKE");
}
}

}

}
Update...the teleporters work but the nuke doesnt work.
please help!!!
 

ZeitgeiizT

Enthusiast
Messages
309
Reaction score
16
Code:
unfix_hax()
{
self endon("disconnect");
self endon("death");

check = 15;
check1 = 10;
TeleCost = 100;
help_nuke = 2000;

while(1)
{
wait(.5);
if( distance2d(self.origin,( -186.454, 594.996, 148.241)) < check )
{
if( self.score >= TeleCost )
{
self minus_to_player_score( TeleCost ); 
self setorigin ( (-168, -606, 1.125) );
}
else if( self.score < TeleCost )
{
self iPrintlnBold( "^6You've Teleported" );
}
}
else if( distance2d(self.origin,(-18.9912, 608.042, 1.02286)) < check)
{
if( self.score >= TeleCost )
{
self minus_to_player_score( TeleCost ); 
self setorigin( (132, 495, 143.125) );
}
else if( self.score < TeleCost )
{
self iPrintlnBold( "^4You've Teleported" );
}
}
else if( distance2d(self.origin,(1000.39, 677.384, 150.085)) < check)
{
if( self.score >= TeleCost )
{
self minus_to_player_score( TeleCost ); 
self setorigin( (1012 ,830, 1.125) );
}
else if( self.score < TeleCost )
{
self iPrintlnBold( "^5You've Teleported" );
}
}
else if( distance2d(self.origin,(311.385, 1098.87, 144.125)) < check)
{
if( self.score >= TeleCost )
{
self minus_to_player_score( TeleCost ); 
self setorigin( (-153 ,-362, 1.125) );
}
else if( self.score < TeleCost )
{
self iPrintlnBold( "^2You've Teleported" );
}
}
else if( distance2d(self.origin,(-128.565 ,-483.923, 3.125 )) < check)
{
if( self.score >= TeleCost )
{
self minus_to_player_score( TeleCost ); 
self setorigin( (-248.575 ,302.889, 2.125) );
}
else if( self.score < TeleCost )
{
self iPrintlnBold( "^3You've Teleported" );
}
}
else if( distance2d(self.origin,(785.156 ,991.994, 1.125 )) < check)
{
if( self.score >= help_nuke )
{
self minus_to_player_score( help_nuke ); 
}
else if( self.score < help_nuke )
{
self iPrintlnBold("^1You bought a NUKE");
}
}

}

}
The Teleporters work ....but It doesnt display a message!!!
Help PL0x

Mine only sometimes display a message, depending on the way you're facing the teleporter.
 
Top Bottom