Guest User

Untitled

a guest
Feb 15th, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
  2. # Name: Mak
  3. # Desc: Potions
  4. # Version: 1.1
  5. # Updated: 12 Feb 2014
  6. # Authors: © 2014 Makhart
  7. #——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
  8. on right click:
  9.     if player is holding 373:
  10.         if name of player's tool is "&fLeczenie I":
  11.            remove 1 of tool from tool
  12.            wait 1 tick
  13.            heal player by 2 hearts
  14.            apply regeneration to player for 1 seconds
  15. on right click:
  16.    if player is holding 373:
  17.        if name of player's tool is "&fLeczenie II":
  18.             remove 1 of tool from tool
  19.             apply regeneration to player for 1 seconds
  20.             wait 1 tick
  21.             heal player by 4 hearts
  22. command /potions:
  23.     trigger:
  24.         if player is op:
  25.             execute console command "give %player% healingpotion 50 name:&fLeczenie_II"
  26.             execute console command "give %player% healingpotion 50 name:&fLeczenie_I"
  27.             stop
Advertisement
Add Comment
Please, Sign In to add comment