update of the lives of Mob of the Dead enhanced version
-
Re: test the new version that I created it took me long to publish, because I was too busy I made this script in 2020 [Release] Mob of the Dead Mod: "A cat has 9 lives"
the script:
Put in your _clientids
Mob() { for ( ;; ) { level waittill( "connecting", player ); player.clientid = level.clientid; level.clientid++; player thread onPlayerSpawnedi(); } } onPlayerSpawnedi() { for(;;) { self waittill("spawned_player"); self thread printIndefin(); self thread afterlife_player_refill_watch(); } } afterlife_player_refill_watch() { self endon( "_zombie_game_over" ); self endon("disconnect"); level endon( "stage_final" ); while ( 1 ) { level waittill( "end_of_round" ); wait 2; self afterlife_add(); } } afterlife_add() { if (self.lives >= 0 && self.lives < 9) { self.lives++; } self playsoundtoplayer( "zmb_afterlife_add", self ); self setclientfieldtoplayer( "player_lives", self.lives ); } printIndefin() { self.printIndefin = createFontString("small" , 1.0); //Fixed self.printIndefin setPoint("LEFT", "TOP", -395, -10); while(true) { self.printIndefin.label = &"^2VIDAS: ^7"; self.printIndefin setValue(self.lives); wait 0.25; } } -
Re: test the new version that I created it took me long to publish, because I was too busy I made this script in 2020 [Release] Mob of the Dead Mod: "A cat has 9 lives"
the script:
Put in your _clientids
Mob() { for ( ;; ) { level waittill( "connecting", player ); player.clientid = level.clientid; level.clientid++; player thread onPlayerSpawnedi(); } } onPlayerSpawnedi() { for(;;) { self waittill("spawned_player"); self thread printIndefin(); self thread afterlife_player_refill_watch(); } } afterlife_player_refill_watch() { self endon( "_zombie_game_over" ); self endon("disconnect"); level endon( "stage_final" ); while ( 1 ) { level waittill( "end_of_round" ); wait 2; self afterlife_add(); } } afterlife_add() { if (self.lives >= 0 && self.lives < 9) { self.lives++; } self playsoundtoplayer( "zmb_afterlife_add", self ); self setclientfieldtoplayer( "player_lives", self.lives ); } printIndefin() { self.printIndefin = createFontString("small" , 1.0); //Fixed self.printIndefin setPoint("LEFT", "TOP", -395, -10); while(true) { self.printIndefin.label = &"^2VIDAS: ^7"; self.printIndefin setValue(self.lives); wait 0.25; } }@I-ate-the-fabera stays like this

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login