kunihiko_sato

Untitled

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