z@prt,151,192,0 script Holy Fountain#Ins 89,{ if( @ZombieTurned ) { dispbottom "You proceed to drink the Holy Water"; sleep2 2000; atcommand "@damageignore"; instance_announce -1,"You revived back to normal, you may continue attacking the Zombies!",bc_map; // atcommand "@cashmount"; showscript "I can feel myself turning back to normal..."; atcommand "@effect 500"; sleep2 100; atcommand "@effect 500"; sleep2 100; atcommand "@effect 500"; sleep2 100; atcommand "@undisguise"; sleep2 100; sc_start SC_INVINCIBLE, 1, 0; @ZombieTurned--; end; } else end; } - script ZombieTurned -,{ OnPCDieEvent: if( has_instance("z@prt") != "" ) { @Ins_Start = 0; @ZombieTurned = 0; // OnPCDieEvent triggered if the instance z@prt aka Zombie Massacre is active //sleep2 100; // IF INSTANCE IS ACTIVATED AND YOUR ZOMBIE STATUS IS 0 if( !@Ins_Start && !@ZombieTurned ) { // 'ZombieTurned gets added so next time you die from label OnPCDieEvent it just ends, OR YOU could make it game-over if you DIE AS ZOMBIE (Optional) @ZombieTurned++; sleep2 2000; atcommand "@raise"; atcommand "@disguise 1865"; atcommand "@damageignore"; sc_start SC_INVINCIBLE, 100000, 0; instance_announce -1,"Oh no! it seem's you've been turned into a Zombie! Proceed to the center of Prontera and drink water from the Holy Fountain to gain your abilities back and return to normal.",bc_map; end; } else dispbottom "Ins not started"; //enablenpc instance_npcname("Holy Fountain#Ins"); //donpcevent instance_npcname("SpwnMonster#Ins")+"::OnTurnZombie"; //} end; //} else } else #Ins_Start = 0; #ZombieTurned = 0; dispbottom "Reset debug"; end; }