Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #BY PAWLICZK0 V3.0
- options:
- power: 2
- power2: 4
- on damage:
- if victim is player:
- if attacker is zombie:
- if victim's helmet is zombie head:
- cancel event
- on quit:
- set player's helmet to air
- remove Strength from player
- remove slowness from player
- remove resistance from player
- set {%player%.zombie} to false
- on rightclick:
- player is holding rotten flesh named "&cDziwny Rotten Flesh"
- remove 1 rotten flesh named "&cDziwny Rotten Flesh" from player
- wait 25 tick
- send "&cZjadles calego rotten flesh`a za jednym zamachem..." to the player
- wait 25 tick
- apply nausea {@power} to the player for 5 second
- send "&cKreci ci sie w glowie..." to the player
- wait 80 tick
- send "&cZamieniles sie w zombie..."
- apply Strength {@power2} to the player for 5000 second
- apply slowness {@power} to the player for 5000 second
- apply resistance {@power} to the player for 5000 second
- equip player with zombie head
- set {%player%.zombie} to true
- every 1 seconds:
- loop all players:
- if loop-player's helmet is zombie head:
- exit
- else:
- if {%loop-player%.zombie} is true:
- equip loop-player with zombie head
Advertisement
Add Comment
Please, Sign In to add comment