Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
- # Name: Mak
- # Desc: Potions
- # Version: 1.1
- # Updated: 12 Feb 2014
- # Authors: © 2014 Makhart
- #——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
- on right click:
- if player is holding 373:
- if name of player's tool is "&fLeczenie I":
- remove 1 of tool from tool
- wait 1 tick
- heal player by 2 hearts
- apply regeneration to player for 1 seconds
- on right click:
- if player is holding 373:
- if name of player's tool is "&fLeczenie II":
- remove 1 of tool from tool
- apply regeneration to player for 1 seconds
- wait 1 tick
- heal player by 4 hearts
- command /potions:
- trigger:
- if player is op:
- execute console command "give %player% healingpotion 50 name:&fLeczenie_II"
- execute console command "give %player% healingpotion 50 name:&fLeczenie_I"
- stop
Advertisement
Add Comment
Please, Sign In to add comment