Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click holding a gunpowder:
- name of held item contains "§a§lSkill §4§l[Bom]"
- lore of held item contains "§7Cooldown: §a5s"
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 5 seconds:
- message "&5&l-<Skills>- &cあなたは &a5秒間 &c待たなければいけない"
- execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
- stop
- else:
- execute console command "/effect %player% 11 1 255 true"
- create safe explosion of force 2 at player
- execute console command "/title %player% times 10 30 10"
- execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
- set {skill.%player%.lastused} to now
- on right click holding a feather:
- name of held item contains "§a§lSkill §f§l[Levitation]"
- lore of held item contains "§7Cooldown: §a10s"
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 10 seconds:
- message "&5&l-<Skills>- &cあなたは &a10秒間 &c待たなければいけない"
- execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
- stop
- else:
- execute console command "/execute %player% ~ ~ ~ /effect @e[name=!%player%,r=4] 25 3 5 true"
- execute console command "/title %player% times 10 30 10"
- execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
- set {skill.%player%.lastused} to now
- on right click holding a iron_sword:
- name of held item contains "§a§lSkill §c§l[Kill]"
- lore of held item contains "§7Cooldown: §a50s"
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 50 seconds:
- message "&5&l-<Skills>- &cあなたは &a50秒間 &c待たなければいけない"
- execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
- stop
- else:
- execute console command "/execute %player% ~ ~ ~ /kill @e[name=!%player%,r=4]"
- execute console command "/title %player% times 10 30 10"
- execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
- set {skill.%player%.lastused} to now
- on right click holding a fire_charge:
- name of held item contains "§a§lSkill §6§l[Fireball]"
- lore of held item contains "§7Cooldown: §a3s"
- cancel event
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 3 seconds:
- message "&5&l-<Skills>- &cあなたは &a3秒間 &c待たなければいけない"
- execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
- stop
- else:
- shoot an fireball at speed 2
- execute console command "/title %player% times 10 30 10"
- execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
- set {skill.%player%.lastused} to now
- on right click holding a fishing_rod:
- name of held item contains "§a§lSkill §3§l[Jump]"
- lore of held item contains "§7Cooldown: §a15s"
- cancel event
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 15 seconds:
- message "&5&l-<Skills>- &cあなたは &a15秒間 &c待たなければいけない"
- execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
- stop
- else:
- execute console command "execute %player% ~ ~ ~ /effect @e[name=!%player%,r=4] 25 10 120 true"
- execute console command "execute %player% ~ ~ ~ /scoreboard players set @e[name=!%player%,r=4] jump 1"
- execute console command "/title %player% times 10 30 10"
- execute console command "/title %player% title {""text"":""\u00a7c\u00a7lスキル発動!""}"
- set {skill.%player%.lastused} to now
- wait 1 ticks
- execute console command "execute %player% ~ ~ ~ /effect @e[score_jump_min=1] 25 0"
- execute console command "execute %player% ~ ~ ~ /scoreboard players set @e[name=!%player%,r=4] jump 0"
Advertisement
Add Comment
Please, Sign In to add comment