CREAMPAN0408

Untitled

Jan 29th, 2019
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. on rightclick holding wood sword:
  2. player's tool is enchanted with Unbreaking 100
  3. if level of player is more than 30:
  4. set {_cooldown} to difference between {Fire.%player%.lastused} and now
  5. if {_cooldown} is less than 30 seconds:
  6. play "entity_ghast_shoot" to players at volume 10
  7. create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  8. message "<pink>%difference between 1 seconds and {_cooldown}% <white>後に使用可能"
  9. wait 20 tick
  10. stop effect "Failed"
  11. stop
  12. set {effect.phrea.%player%} to "SmallExplosion"
  13. play "entity_ghast_shoot" to players at volume 5
  14. reduce level progress of player by 30
  15. shoot a small fire ball at speed 5
  16. ignite the shot projectiles
  17. set {Fire.%player%.lastused} to now
  18. execute console command "/effect %player% 25 3 0 0"
  19. create a circle effect at player with id "Fire1" with particles flame with radius 1
  20. wait 20 ticks
  21. create a circle effect at player with id "Fire2" with particles flame with radius 2
  22. wait 20 ticks
  23. create a circle effect at player with id "Fire3" with particles flame with radius 3
  24. wait 20 ticks
  25. stop effect "Fire1"
  26. stop effect "Fire2"
  27. stop effect "Fire3"
  28. wait 20 ticks
  29. else:
  30. play "entity_ghast_shoot" to player at volume 10
  31. create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  32. message "<pink>このスキルには30Lv以上のXPが必要です!"
  33. wait 20 tick
  34. stop effect "Failed"
Add Comment
Please, Sign In to add comment