Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Variables:
- {%player%.nether} = 0
- {%player%.cooldown} = 0
- On swap item:
- if player has 1 nether quartz:
- if {%player%.cooldown} is not less than 1:
- message "please wait %{%player%.cooldown}% seconds "
- if {%player%.cooldown} is less than 1:
- if player's tool's name is "HEAL":
- execute console command "effect %player% instant_health 1 3"
- set {%player%.cooldown} to 120
- if player's tool's name is "PLUSHEART":
- execute console command "effect %player% health_boost 60 6"
- set {%player%.cooldown} to 120
- if player's tool's name is "SPEED":
- execute console command "effect %player% speed 60 3"
- set {%player%.cooldown} to 120
- if player's tool's name is "JUMP":
- execute console command "effect %player% jump_boost 60 10"
- set {%player%.cooldown} to 120
- if player's tool's name is "INVISIBLE":
- execute console command "effect %player% invisible 10 3"
- set {%player%.cooldown} to 120
- if player's tool's name is "PLUSDAMAGE":
- execute console command "effect %player% strength 30 5"
- set {%player%.cooldown} to 120
- if player's tool's name is "RESIST":
- execute console command "effect %player% resistance 30 3"
- set {%player%.cooldown} to 120
- if player's tool's name is "DAMAGE":
- execute console command "execute %player% ~ ~ ~ effect @a[r=20,name=!%player%} instant_damage 1 4"
- set {%player%.cooldown} to 120
- if player's tool's name is "BLINDNESS":
- execute console command "execute %player% ~ ~ ~ effect @a[r=20,name=!%player%} blindness 6 1"
- set {%player%.cooldown} to 120
- if player's tool's name is "SLOW":
- execute console command "execute %player% ~ ~ ~ effect @a[r=20,name=!%player%} slowness 10 40"
- set {%player%.cooldown} to 120
- if player's tool's name is "GLOWING":
- execute console command "execute %player% ~ ~ ~ effect @a[r=40,name=!%player%} glowing 10 1"
- set {%player%.cooldown} to 120
- cancel event
- every seconds:
- loop all players:
- if {%loop-player%.cooldown} is more than 0:
- set {%loop-player%.cooldown} to {%loop-player%.cooldown} -1
- On death:
- set {%victim%.cooldown} to 0
Add Comment
Please, Sign In to add comment