Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death of player:
- set {_itemname} to name of held item
- attacker is player
- set death message to "&c%victim%は倒された"
- on rightclick with iron sword:
- if {cooltime1.%player%} <= 0:
- set {cooltime1.%player%} to 5
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.player.attack.sweep master %player% ~ ~ ~ 1 0"
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 2
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 2
- set {_y} to cos(90-{_a1}) * 2
- loop 40 times:
- add {_x} to x-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- add {_z} to z-coordinate of {_loc}
- if block at {_loc} is block:
- stop
- execute console command "playsound minecraft:entity.bat.takeoff master %player% %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 1.2"
- execute console command "particle sweepAttack %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0 0.1 0 5"
- loop living entities in radius 2 of {_loc}:
- damage loop-entity by 2 hearts
- set velocity of loop-entity to vector {_x} * 0,{_y} + 0.75,{_z} * 0
- execute console command "particle cloud %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 0 0.5 0 5"
- stop
- wait a tick
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime1.%player%}%秒&9&l》" to player
- every 1 ticks in "world":
- loop all players:
- add -0.05 to {cooltime1.%loop-player%}
- add -0.05 to {cooltime2.%loop-player%}
- add -0.05 to {cooltime3.%loop-player%}
- add -0.05 to {cooltime4.%loop-player%}
- add -0.05 to {cooltime5.%loop-player%}
- add -0.05 to {cooltime6.%loop-player%}
- add -0.05 to {cooltime7.%loop-player%}
- add -0.05 to {cooltime8.%loop-player%}
- add -0.05 to {cooltime9.%loop-player%}
- add -0.05 to {cooltime10.%loop-player%}
- add -0.05 to {cooltime11.%loop-player%}
- add -0.05 to {cooltime12.%loop-player%}
- add -0.05 to {cooltime13.%loop-player%}
- add -0.05 to {cooltime14.%loop-player%}
- add -0.05 to {cooltime15.%loop-player%}
- add -0.05 to {cooltime16.%loop-player%}
- add -0.05 to {cooltime17.%loop-player%}
- add -0.05 to {cooltime18.%loop-player%}
- add -0.05 to {cooltime19.%loop-player%}
- every 1 seconds in "world":
- loop all players:
- send action bar "&9&l《&eFC&a:&6%{fc.%loop-player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c秒&9&l》" to loop-player
- on rightclick with golden chestplate:
- cancel event
- if {cooltime2.%player%} <= 0:
- set {cooltime2.%player%} to 8
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:item.totem.use master %player% ~ ~ ~ 1 0"
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- execute console command "effect %player% minecraft:resistance 5 1 true"
- execute console command "/execute %player% ~ ~ ~ particle totem ~ ~1 ~ 0 0.25 0 0.25 50"
- stop
- wait a tick
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime2.%player%}%秒&9&l》" to player
- on rightclick with nether star:
- cancel event
- if {cooltime3.%player%} <= 0:
- set {cooltime3.%player%} to 10
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.guardian.attack master %player% ~ ~ ~ 1 2"
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5
- set {_y} to cos(90-{_a1}) * 1.5
- loop 20 times:
- add {_x} to x-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- add {_z} to z-coordinate of {_loc}
- if block at {_loc} is block:
- stop
- execute console command "playsound minecraft:entity.guardian.hurt master %player% %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 1.2"
- execute console command "particle spell %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0 0.1 0 5"
- loop living entities in radius 2 of {_loc}:
- damage loop-entity by 1 hearts
- teleport the event-player to the loop-entity
- execute console command "particle cloud %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 0 0.5 0 5"
- stop
- wait a tick
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime3.%player%}%秒&9&l》" to player
- on rightclick with feather:
- cancel event
- if {cooltime4.%player%} <= 0:
- set {cooltime4.%player%} to 4
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 1
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 1
- set {_y} to cos(90-{_a1}) * 1
- loop 20 times:
- add {_x} to x-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- add {_z} to z-coordinate of {_loc}
- if block at {_loc} is block:
- stop
- execute console command "playsound minecraft:entity.player.attack.knockback master %player% %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 2"
- execute console command "particle cloud %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0 0.1 0 5"
- loop living entities in radius 1.5 of {_loc}:
- damage loop-entity by 1 hearts
- set velocity of loop-entity to vector {_x} * 1.2,{_y} + 0.1,{_z} *1.2
- execute console command "playsound minecraft:entity.bat.takeoff master %player% %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 0"
- execute console command "particle cloud %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0 1 0 5"
- stop
- wait a tick
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime4.%player%}%秒&9&l》" to player
- on rightclick with diamond chestplate:
- cancel event
- if {cooltime5.%player%} <= 0:
- set {cooltime5.%player%} to 15
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.wither.hurt master %player% ~ ~ ~ 1 0"
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- execute console command "effect %player% minecraft:resistance 2 9 true"
- execute console command "/execute %player% ~ ~ ~ particle totem ~ ~1 ~ 0 0.25 0 0.25 50"
- stop
- wait a tick
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime5.%player%}%秒&9&l》" to player
- on rightclick with golden sword:
- cancel event
- if {cooltime6.%player%} <= 0:
- set {cooltime6.%player%} to 6
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.blaze.shoot master %player% ~ ~ ~ 1 2"
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5
- set {_y} to cos(90-{_a1}) * 1
- loop 40 times:
- add {_x} to x-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- add {_z} to z-coordinate of {_loc}
- if block at {_loc} is block:
- stop
- execute console command "particle reddust %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0.1 0.1 0 75"
- loop living entities in radius 2 of {_loc}:
- damage loop-entity by 3 hearts
- execute console command "particle flame %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0.2 0 0.2 100"
- stop
- wait a tick
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime6.%player%}%秒&9&l》" to player
- on rightclick with tnt:
- cancel event
- if {cooltime7.%player%} <= 0:
- set {cooltime7.%player%} to 7
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 0.5
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 0.5
- set {_y} to cos(90-{_a1}) * 0.5
- loop 20 times:
- add {_x} to x-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- add {_z} to z-coordinate of {_loc}
- if block at {_loc} is block:
- stop
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.tnt.primed master %player% ~ ~ ~ 1 2"
- execute console command "particle fireworksSpark %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 10"
- loop living entities in radius 1.5 of {_loc}:
- loop-entity is not event-player
- damage loop-entity by 5 hearts
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.fireworks.blast master %player% ~ ~ ~ 1 0"
- execute console command "particle largeexplode %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 50"
- stop
- wait a tick
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime7.%player%}%秒&9&l》" to player
- on rightclick with ice:
- cancel event
- if {cooltime8.%player%} <= 0:
- set {cooltime8.%player%} to 9
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.glass.break master %player% ~ ~ ~ 1 0"
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5
- set {_y} to cos(90-{_a1}) * 1
- loop 30 times:
- add {_x} to x-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- add {_z} to z-coordinate of {_loc}
- if block at {_loc} is block:
- stop
- execute console command "playsound minecraft:block.glass.break master %player% %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 1"
- execute console command "particle endRod %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0.05 20"
- loop living entities in radius 1.5 of {_loc}:
- loop-entity is not event-player
- damage loop-entity by 2 hearts
- apply slowness 100 to loop-entity for 2 seconds
- execute console command "particle endRod %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0.25 0 0.25 50"
- stop
- wait a tick
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime8.%player%}%秒&9&l》" to player
- on rightclick with emerald:
- cancel event
- if {cooltime9.%player%} <= 0:
- set {cooltime9.%player%} to 3
- execute console command "/execute %player% ~ ~ ~ particle cloud ~ ~ ~ 0.5 0 0.5 0 50"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.player.attack.sweep master %player% ~ ~ ~ 1 2"
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5
- set {_y} to cos(90-{_a1}) * 1
- set velocity of player to vector {_x} * 0,{_y} + 1,{_z} * 0
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime9.%player%}%秒&9&l》" to player
- on rightclick with minecart:
- cancel event
- if {cooltime10.%player%} <= 0:
- set {cooltime10.%player%} to 15
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.minecart.riding master %player% ~ ~ ~ 1 1"
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5
- set {_y} to cos(90-{_a1}) * 1
- loop 100 times:
- execute console command "/execute %player% ~ ~ ~ particle cloud ~ ~1 ~ 0 0 0 0.1 10"
- set velocity of player to vector {_x} * 0.25,{_y} * 0.25,{_z} * 0.25
- wait 1 ticks
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime10.%player%}%秒&9&l》" to player
- on rightclick with red mushroom:
- cancel event
- if {cooltime11.%player%} <= 0:
- set {cooltime11.%player%} to 14
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 1
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 1
- set {_y} to cos(90-{_a1}) * 1
- loop 20 times:
- add {_x} to x-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- add {_z} to z-coordinate of {_loc}
- if block at {_loc} is block:
- stop
- execute console command "playsound minecraft:entity.witch.drink master %player% %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 1"
- execute console command "/particle dragonbreath %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0.0075 75"
- loop living entities in radius 1.5 of {_loc}:
- loop-entity is not event-player
- damage loop-entity by 1 hearts
- apply poison 2 to loop-entity for 7 seconds
- execute console command "particle %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0.25 0 0.25 50"
- stop
- wait a ticks
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime11.%player%}%秒&9&l》" to player
- on rightclick with anvil:
- cancel event
- if {cooltime12.%player%} <= 0:
- set {cooltime12.%player%} to 13
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5
- set {_y} to cos(90-{_a1}) * 1
- execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.5"
- wait 5 ticks
- execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.6"
- wait 5 ticks
- execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.7"
- wait 5 ticks
- execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.8"
- wait 5 ticks
- execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.9"
- wait 5 ticks
- execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 1"
- wait 5 ticks
- loop 20 times:
- add {_x} to x-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- add {_z} to z-coordinate of {_loc}
- if block at {_loc} is block:
- stop
- loop 10 times:
- execute console command "/execute %player% ~ ~ ~ /particle blockcrack ~ ~1 ~ 0 0 0 0 50 0 %player% 4100"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.wither.break_block master %player% ~ ~ ~ 1 1"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.anvil.place master %player% ~ ~ ~ 1 0"
- set velocity of player to vector {_x} * 1.5,{_y} - 0.4,{_z} * 1.5
- loop living entities in radius 2.5 of event-player:
- loop-entity is not event-player
- damage loop-entity by 6 hearts
- wait 2 ticks
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime12.%player%}%秒&9&l》" to player
- on rightclick with glowstone dust:
- cancel event
- if {cooltime13.%player%} <= 0:
- set {cooltime13.%player%} to 12
- set {_loc} to location of event-player
- add 60 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 2
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 2
- set {_y} to cos(90-{_a1}) * 2
- add {_x} to x-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- add {_z} to z-coordinate of {_loc}
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.thunder master %player% ~ ~ ~ 1 1"
- loop 5 times:
- loop 10 times:
- add 0.2 to x-coordinate of {_loc}
- add -0.3 to y-coordinate of {_loc}
- add 0.2 to z-coordinate of {_loc}
- execute console command "/particle blockcrack %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 30 force %player% 4137"
- loop 10 times:
- add -0.2 to x-coordinate of {_loc}
- add -0.3 to y-coordinate of {_loc}
- add -0.2 to z-coordinate of {_loc}
- execute console command "/particle blockcrack %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 30 force %player% 4137"
- loop 10 times:
- add 0.2 to x-coordinate of {_loc}
- add -0.3 to y-coordinate of {_loc}
- add 0.2 to z-coordinate of {_loc}
- execute console command "/particle blockcrack %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 30 force %player% 4137"
- loop 10 times:
- add -0.2 to x-coordinate of {_loc}
- add -0.3 to y-coordinate of {_loc}
- add -0.2 to z-coordinate of {_loc}
- execute console command "/particle blockcrack %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 30 force %player% 4137"
- wait 4 ticks
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1"
- execute console command "/execute %player% ~ ~ ~ /particle largeexplode %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 2 10"
- loop living entities in radius 10 of event-player:
- loop-entity is not event-player
- damage loop-entity by 3 hearts
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime13.%player%}%秒&9&l》" to player
- on rightclick with gold nugget:
- if {cooltime14.%player%} <= 0:
- set {cooltime14.%player%} to 20
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 1"
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 2
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 2
- set {_y} to cos(90-{_a1}) * 2
- loop 40 times:
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 1"
- wait a ticks
- set {_randomeffect.%player%} to a random integer between 1 and 11
- if {_randomeffect.%player%} is 1:
- apply slowness 5 to event-player for 7 seconds
- if {_randomeffect.%player%} is 2:
- apply speed 3 to event-player for 7 seconds
- if {_randomeffect.%player%} is 3:
- apply strength 2 to event-player for 7 seconds
- if {_randomeffect.%player%} is 4:
- apply wither 2 to event-player for 7 seconds
- if {_randomeffect.%player%} is 5:
- apply health boost 2 to event-player for 7 seconds
- if {_randomeffect.%player%} is 6:
- apply blindness 2 to event-player for 7 seconds
- if {_randomeffect.%player%} is 7:
- apply regeneration 2 to event-player for 7 seconds
- if {_randomeffect.%player%} is 8:
- apply poison 2 to event-player for 7 seconds
- if {_randomeffect.%player%} is 9:
- apply jump boost 2 to event-player for 7 seconds
- if {_randomeffect.%player%} is 10:
- apply slowness 5 to event-player for 7 seconds
- apply wither 2 to event-player for 7 seconds
- apply blindness 2 to event-player for 7 seconds
- apply poison 2 to event-player for 7 seconds
- if {_randomeffect.%player%} is 11:
- apply jump boost 2 to event-player for 7 seconds
- apply regeneration 2 to event-player for 7 seconds
- apply health boost 2 to event-player for 7 seconds
- apply strength 2 to event-player for 7 seconds
- apply speed 3 to event-player for 7 seconds
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime14.%player%}%秒&9&l》" to player
- on rightclick with blaze rod:
- cancel event
- if {cooltime15.%player%} <= 0:
- set {cooltime15.%player%} to 12
- damage event-player by 3 hearts
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.lava.extinguish master %player% ~ ~ ~ 1 2"
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5
- set {_y} to cos(90-{_a1}) * 1
- loop 30 times:
- add {_x} to x-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- add {_z} to z-coordinate of {_loc}
- if {_loc} is stone:
- stop
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.lava.extinguish master %player% ~ ~ ~ 0.5 2"
- execute console command "particle lava %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 10"
- loop living entities in radius 2 of {_loc}:
- loop-entity is not event-player
- execute console command "particle largeexplode %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 1"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1"
- damage loop-entity by 6 hearts
- stop
- wait a tick
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime15.%player%}%秒&9&l》" to player
- on rightclick with wooden hoe:
- cancel event
- if {cooltime16.%player%} <= 0:
- set {cooltime16.%player%} to 20
- apply slowness 100 to event-player for 2 seconds
- execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.1 0.1 0.1 0 100"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75"
- wait 4 ticks
- execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.2 0.2 0.2 0 100"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75"
- wait 4 ticks
- execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.3 0.3 0.3 0 100"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75"
- wait 4 ticks
- execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.4 0.4 0.4 0 100"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75"
- wait 4 ticks
- execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.5 0.5 0.5 0 100"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75"
- wait 4 ticks
- set {_loc} to location of event-player
- add 1.75 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5
- set {_y} to cos(90-{_a1}) * 1
- loop 60 times:
- add {_x} to x-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- add {_z} to z-coordinate of {_loc}
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 2 0"
- execute console command "/particle fireworksSpark %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.4 0.4 0.4 0 10"
- execute console command "/particle magicCrit %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0 0.1 0 20"
- execute console command "/particle flame %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0.075 0 0.075 5"
- if {_loc} is not air:
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1"
- execute console command "particle hugeexplosion %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 1"
- stop
- loop living entities in radius 2 of {_loc}:
- loop-entity is not event-player
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1"
- damage loop-entity by 13 hearts
- stop
- wait a ticks
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime16.%player%}%秒&9&l》" to player
- on rightclick with iron axe:
- cancel event
- if {cooltime17.%player%} <= 0:
- set {cooltime17.%player%} to 14
- apply slowness 100 to event-player for 1 seconds
- execute console command "/execute %player% ~ ~ ~ /particle enchantmenttable ~ ~ ~ 0.5 0 0.5 0 100"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 0"
- wait 1 seconds
- set {_loc} to location of event-player
- add 1.5 to y-coordinate of {_loc}
- execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0"
- set {_a2} to yaw of location of event-player - 270
- set {_a1} to Pitch of location of event-player * -1
- set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5
- set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5
- set {_y} to cos(90-{_a1}) * 1
- loop 3 times:
- add {_x} to x-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- add {_z} to z-coordinate of {_loc}
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.grass.break master %player% ~ ~ ~ 1 0"
- execute console command "/particle blockcrack %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.3 0 0.3 0 100 0 @a 4099"
- if {_loc} is block:
- stop
- loop living entities in radius 2 of {_loc}:
- loop-entity is not event-player
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1"
- execute console command "particle hugeexplosion %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 1"
- damage loop-entity by 8 hearts
- stop
- wait a tick
- else:
- send action bar "&9&l《&eFC&a:&6%{fc.%player%}%&9&l》&8&l-&9&l《&cCoolTime&a:&c%{cooltime17.%player%}%秒&9&l》" to player
- command /checkitem:
- trigger:
- if player is holding air:
- send "&cアイテムを手に持ってください" to player
- else:
- set {_itemname} to name of held item
- set {_itemid} to id of player's held item
- set {_itemdur} to durability of player's held item
- send "&7Item name&f: %{_itemname}%"
- send "&7Item id&f: &r%{_itemid}%:%{_itemdur}%"
- on damage:
- damage was caused by fall
- cancel event
- on join:
- set rf max hp of player to 40
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement