CREAMPAN0408

Untitled

Feb 4th, 2019
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. on rightclick holding golden hoe:
  2. cancel the event
  3. player's tool is enchanted with unbreaking 214
  4. if level of player is more than 60:
  5. set {_cooldown} to difference between {Heal.%player%.lastused} and now
  6. if {_cooldown} is less than 100 seconds:
  7. play "entity_ghast_shoot" to player at volume 10
  8. create a circle effect at player with id "HealFailed" with particles SMOKE NORMAL with radius 1
  9. message "<pink>%difference between 10 seconds and {_cooldown}% <white>後に使用可能"
  10. wait 20 tick
  11. stop effect "HealFailed"
  12. stop
  13. loop players in radius 5 around the player:
  14. play "entity_player_levelup" to loop-player at volume 10
  15. add 20 to loop-player's health
  16. add 20 to loop-player's food
  17. reduce level progress of player by 60
  18. create a circle effect for loop-player with id "HEAL" with particles HEART with radius 1
  19. set {Heal.%player%.lastused} to now
  20. wait 60 tick
  21. stop effect "HEAL"
  22. else:
  23. play "entity_ghast_shoot" to player at volume 10
  24. create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  25. message "<pink>このスキルには60Lv以上のXPが必要です!"
  26. wait 20 tick
  27. stop effect "Failed"
Add Comment
Please, Sign In to add comment