[Support] last cooldown wont work
-
i cant get last calldown to work i call it in on player connect
self endon( "disconnect" ); self endon( "cooldownSet" ); self.lastCooldown = true; for(;;) { if( self.lastCooldown && ((level.scorelimit - self.pers["kills"]) == 1) ) { self.lastCooldown = false; self freezeControls( true ); self enableInvulnerability(); self iPrintlnBold("^4YOU'RE ON LAST!"); wait 1.25; self freezeControls( false ); self disableInvulnerability(); self notify( "cooldownSet" ); } wait 0.25; }``` my code
-
Why call it on connect? Also try pasting your code again.
-
Call this on spawn, not connect