CREAMPAN0408

Untitled

Feb 21st, 2019
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. 耐久2 CT25 金の鍬 💛5個分体力回復 CT共有
  2. on rightclick holding golden hoe:
  3. player's tool is enchanted with unbreaking 2
  4. if level of player is more than 0:
  5. set {_cooldown} to difference between {Heal.%player%.lastused} and now
  6. if {_cooldown} is less than 25 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 10 to loop-player's health
  16. reduce level progress of player by 0
  17. create a circle effect for loop-player with id "HEAL" with particles HEART with radius 1
  18. set {Heal.%player%.lastused2} to now
  19. wait 60 tick
  20. stop effect "HEAL"
  21. else:
  22. play "entity_ghast_shoot" to player at volume 10
  23. create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  24. message "<pink>このスキルには25Lv以上のXPが必要です!"
  25. wait 20 tick
  26. stop effect "Failed"
Add Comment
Please, Sign In to add comment