Advertisement
TEKITOU-123

ヒール

Apr 28th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. on rightclick holding a enchanted book:
  2. if name of player's tool is "&e&lヒール&r&6&l/&e&lフードヒール":
  3. {%player%::c} is not set
  4. player's level progress is larger than 0.15
  5. heal the player by 1.5
  6. show 20 heart particles at player offset by 0.8, 0.8, 0.8 with speed 0.5
  7. play sound "entity.player.levelup" with volume 10 and pitch 1 at player for players in radius 10 of player
  8. reduce the player's level progress by 0.15
  9. on leftclick holding a enchanted book:
  10. if name of player's tool is "&e&lヒール&r&6&l/&e&lフードヒール":
  11. {%player%::c} is not set
  12. player's level progress is larger than 0.03
  13. add 1 to player's food level
  14. show 13 note particles at player offset by 0.8, 0.8, 0.8 with speed 1
  15. play sound "entity.player.burp" with volume 10 and pitch 1 at player for players in radius 10 of player
  16. reduce the player's level progress by 0.03
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement