kunihiko_sato

Untitled

Sep 19th, 2018
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.15 KB | None | 0 0
  1. options:
  2. prefix: &5&l-<Skills>-
  3.  
  4. on right click holding a gunpowder:
  5. name of held item contains "§a§lSkill §4§l[Bom]"
  6. lore of held item contains "§7Cooldown: §a5s"
  7. set {_cooldown} to difference between {skill.%player%.lastused} and now
  8. if {_cooldown} is less than 5 seconds:
  9. message "{@prefix} &cあなたは &a5秒間 &c待たなければいけない"
  10. execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
  11. stop
  12. else:
  13. execute console command "/effect %player% 11 1 255 true"
  14. create safe explosion of force 2 at player
  15. execute console command "/title %player% times 10 30 10"
  16. execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
  17. set {skill.%player%.lastused} to now
  18.  
  19. on right click holding a feather:
  20. name of held item contains "§a§lSkill §f§l[Levitation]"
  21. lore of held item contains "§7Cooldown: §a10s"
  22. set {_cooldown} to difference between {skill.%player%.lastused} and now
  23. if {_cooldown} is less than 10 seconds:
  24. message "{@prefix} &cあなたは &a10秒間 &c待たなければいけない"
  25. execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
  26. stop
  27. else:
  28. execute console command "/execute %player% ~ ~ ~ /effect @e[name=!%player%,r=4] 25 3 5 true"
  29. execute console command "/title %player% times 10 30 10"
  30. execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
  31. set {skill.%player%.lastused} to now
  32.  
  33. on right click holding a iron_sword:
  34. name of held item contains "§a§lSkill §c§l[Kill]"
  35. lore of held item contains "§7Cooldown: §a50s"
  36. set {_cooldown} to difference between {skill.%player%.lastused} and now
  37. if {_cooldown} is less than 50 seconds:
  38. message "{@prefix} &cあなたは &a50秒間 &c待たなければいけない"
  39. execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
  40. stop
  41. else:
  42. execute console command "/execute %player% ~ ~ ~ /kill @e[name=!%player%,r=4]"
  43. execute console command "/title %player% times 10 30 10"
  44. execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
  45. set {skill.%player%.lastused} to now
  46.  
  47. on right click holding a fire_charge:
  48. name of held item contains "§a§lSkill §6§l[Fireball]"
  49. lore of held item contains "§7Cooldown: §a3s"
  50. cancel event
  51. set {_cooldown} to difference between {skill.%player%.lastused} and now
  52. if {_cooldown} is less than 3 seconds:
  53. message "{@prefix} &cあなたは &a3秒間 &c待たなければいけない"
  54. execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
  55. stop
  56. else:
  57. shoot an fireball at speed 2
  58. execute console command "/title %player% times 10 30 10"
  59. execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
  60. set {skill.%player%.lastused} to now
  61.  
  62. on right click holding a fishing_rod:
  63. name of held item contains "§a§lSkill §3§l[Jump]"
  64. lore of held item contains "§7Cooldown: §a15s"
  65. cancel event
  66. set {_cooldown} to difference between {skill.%player%.lastused} and now
  67. if {_cooldown} is less than 15 seconds:
  68. message "{@prefix} &cあなたは &a15秒間 &c待たなければいけない"
  69. execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
  70. stop
  71. else:
  72. execute console command "execute %player% ~ ~ ~ /effect @e[name=!%player%,r=4] 25 10 120 true"
  73. execute console command "execute %player% ~ ~ ~ /scoreboard players set @e[name=!%player%,r=4] jump 1"
  74. execute console command "/title %player% times 10 30 10"
  75. execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
  76. set {skill.%player%.lastused} to now
  77. wait 1 ticks
  78. execute console command "execute %player% ~ ~ ~ /effect @e[score_jump_min=1] 25 0"
  79. execute console command "execute %player% ~ ~ ~ /scoreboard players set @e[name=!%player%,r=4] jump 0"
  80.  
  81. on right click holding a diamond:
  82. name of held item contains "§a§lSkill §e§l[Heal]"
  83. lore of held item contains "§7Cooldown: §a12s"
  84. cancel event
  85. set {_cooldown} to difference between {skill.%player%.lastused} and now
  86. if {_cooldown} is less than 12 seconds:
  87. message "{@prefix} &cあなたは &a12秒間 &c待たなければいけない"
  88. execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
  89. stop
  90. else:
  91. execute console command "effect %player% 6 1 0 true"
  92. execute console command "execute %player% ~ ~ ~ /particle totem ~ ~0.5 ~ 0 0 0 0.2 20"
  93. execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.player.levelup master @a ~ ~ ~ 1 2.0"
  94. execute console command "/title %player% times 10 30 10"
  95. execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
  96. set {skill.%player%.lastused} to now
Add Comment
Please, Sign In to add comment