kunihiko_sato

Untitled

Sep 15th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 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 "&cあなたは &a5秒間 &c待たなければいけない"
  7. stop
  8. else:
  9. execute console command "/effect %player% 11 1 255 true"
  10. create safe explosion of force 2 at player
  11. execute console command "/title %player% times 10 30 10"
  12. execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
  13. set {skill.%player%.lastused} to now
  14.  
  15. on right click holding a feather:
  16. name of held item contains "§a§lSkill §3§l[High]"
  17. lore of held item contains "§7Cooldown: §a10s"
  18. set {_cooldown} to difference between {skill.%player%.lastused} and now
  19. if {_cooldown} is less than 10 seconds:
  20. message "&cあなたは &a10秒間 &c待たなければいけない"
  21. stop
  22. else:
  23. execute console command "/execute %player% ~ ~ ~ /effect @e[name=!%player%,r=4] 25 3 5 true"
  24. execute console command "/title %player% times 10 30 10"
  25. execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
  26. set {skill.%player%.lastused} to now
  27.  
  28. on right click holding a iron_sword:
  29. name of held item contains "§a§lSkill §c§l[Kill]"
  30. lore of held item contains "§7Cooldown: §a50s"
  31. set {_cooldown} to difference between {skill.%player%.lastused} and now
  32. if {_cooldown} is less than 50 seconds:
  33. message "&cあなたは &a50秒間 &c待たなければいけない"
  34. stop
  35. else:
  36. execute console command "/execute %player% ~ ~ ~ /kill @e[name=!%player%,r=4]"
  37. execute console command "/title %player% times 10 30 10"
  38. execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
  39. set {skill.%player%.lastused} to now
Add Comment
Please, Sign In to add comment