pz_neko

Untitled

Feb 2nd, 2018
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. on rightclick with 351:1:
  2. name of held item contains "Heal"
  3. if player's food level > 2:
  4. if {heal.%player%} is not set:
  5. set {heal.%player%} to 0
  6. {heal.%player%} is 0
  7. add 3 to the player's health
  8. remove 3 from player's food level
  9. command "/execute %player% ~ ~ ~ playsound entity.witch.drink master %player% ~ ~ ~ 1 1.2"
  10. command "/execute %player% ~ ~ ~ particle heart ~ ~ ~ 2 2 2 1 50"
  11. message "&a&l[skill発動]&bHeal&6(10)"
  12. set {heal.%player%} to 10
  13. while {heal.%player%} is not 0:
  14. wait 1 second
  15. subtract 1 from {heal.%player%}
  16. message "&a&l[skill再使用可能]&bHeal"
Advertisement
Add Comment
Please, Sign In to add comment