SHOW:
|
|
- or go back to the newest paste.
1 | on death of player: | |
2 | - | if {fc.%player%} is not set: |
2 | + | set {_itemname} to name of held item |
3 | - | set {fc.%player%} to 100 |
3 | + | attacker is player |
4 | set death message to "&c%victim%は倒された" | |
5 | - | command /fcreset: |
5 | + | |
6 | on rightclick with iron sword: | |
7 | - | if {fc.%player%} is not set: |
7 | + | if {cooltime1.%player%} <= 0: |
8 | - | set {fc.%player%} to 100 |
8 | + | set {cooltime1.%player%} to 5 |
9 | - | send "&8[&9FCsk&8] &aFCをreloadしました" |
9 | + | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.player.attack.sweep master %player% ~ ~ ~ 1 0" |
10 | set {_loc} to location of event-player | |
11 | - | command /getfc [<number>]: |
11 | + | |
12 | - | permission: fc.admin |
12 | + | |
13 | set {_a2} to yaw of location of event-player - 270 | |
14 | - | if arg is set: |
14 | + | |
15 | - | add arg to {fc.%player%} |
15 | + | |
16 | - | send "&8[&9FCsk&8] &a+&6&l%arg%&eFriedCoin " |
16 | + | |
17 | set {_y} to cos(90-{_a1}) * 2 | |
18 | - | send "&8[&9FCsk&8] &cコインの数が指定されていません" |
18 | + | |
19 | add {_x} to x-coordinate of {_loc} | |
20 | - | command /fc [<text>] [<number>]: |
20 | + | |
21 | add {_z} to z-coordinate of {_loc} | |
22 | - | if arg 1 is not set: |
22 | + | |
23 | - | send "&8[&9FCsk&8] &c指定されていません(使い方 /fc help)" |
23 | + | |
24 | - | if arg 1 is "out": |
24 | + | 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" |
25 | - | if arg 2 is set: |
25 | + | execute console command "particle sweepAttack %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0 0.1 0 5" |
26 | - | if arg 2 <= {fc.%player%}: |
26 | + | |
27 | - | give magma cream named "&9&l《 &eFried Coin &9&l》" with lore "&e価値&a:&6%arg-2%" to player |
27 | + | damage loop-entity by 2 hearts |
28 | - | remove arg-2 from {fc.%player%} |
28 | + | set velocity of loop-entity to vector {_x} * 0,{_y} + 0.75,{_z} * 0 |
29 | - | else: |
29 | + | |
30 | - | send "&8[&9FCsk&8] &cコインの数が指定されていません" |
30 | + | |
31 | - | if arg 1 is "help": |
31 | + | |
32 | - | send "&8[&9FCsk&8]" |
32 | + | |
33 | - | send "&9/fc help &6&l= &8このコマンドのヘルプを表示します" |
33 | + | 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 |
34 | - | send "&9/fc out 金額 &6&l= &8金額の数だけFCを引き出します" |
34 | + | |
35 | every 1 ticks in "world": | |
36 | - | command /money: |
36 | + | |
37 | add -0.05 to {cooltime1.%loop-player%} | |
38 | - | send "&e%player%" |
38 | + | |
39 | - | send "&eFriedCoin&a: &6%{fc.%player%}%" |
39 | + | |
40 | add -0.05 to {cooltime4.%loop-player%} | |
41 | - | on rightclick with magma cream: |
41 | + | |
42 | - | set {_Coin::*} to lore of player's tool |
42 | + | |
43 | - | loop {_Coin::*}: |
43 | + | |
44 | - | loop-value contains "&e価値&a:&6": |
44 | + | |
45 | - | set {_n} to loop-value |
45 | + | |
46 | - | replace "&e価値&a:&6" with "" in {_n} |
46 | + | |
47 | - | send "&8[&9FCsk&8] &a+&6&l%{_n}% &eFriedCoin" |
47 | + | |
48 | - | add {_n} parsed as number to {fc.%player%} |
48 | + | |
49 | - | clear held item |
49 | + | |
50 | add -0.05 to {cooltime14.%loop-player%} | |
51 | - | on rightclick with trapped chest: |
51 | + | |
52 | add -0.05 to {cooltime16.%loop-player%} | |
53 | - | remove 1 trapped chest named "&a報酬箱" from player's inventory |
53 | + | |
54 | - | execute console command "/execute %player% ~ ~ ~ /playsound block.chest.open master %player% ~ ~ ~ 1 1" |
54 | + | |
55 | - | set {_random} to a random integer between 1 and 100 |
55 | + | |
56 | - | if {_random} is between 1 and 70: |
56 | + | |
57 | - | send "&a+&e5 &7FriedCoin" |
57 | + | |
58 | - | add 5 to {fc.%player%} |
58 | + | |
59 | - | if {_random} is between 71 and 94: |
59 | + | |
60 | - | send "&a+&e10 &7FriedCoin" |
60 | + | |
61 | - | add 10 to {fc.%player%} |
61 | + | |
62 | - | if {_random} is between 95 and 100: |
62 | + | |
63 | - | set {_randomitem} to a random integer between 1 and 10 |
63 | + | |
64 | - | if {_randomitem} is between 1 and 2: |
64 | + | |
65 | - | broadcast "&9[&aItem&9] &a%player%&7 got &7トロッコ &9《 &bRare&a: &e★★☆☆☆ &9》" |
65 | + | |
66 | - | give minecart named "&7トロッコ" with lore "&9《 &cCT&a:&e15 &9》 &9《 &bRare&a: &e★★☆☆☆ &9》","&bトロッコ向いてる方向行き~♪","&b5秒間持続して飛べる。" and "&bしかし方向転換ができない。" to player |
66 | + | |
67 | - | if {_randomitem} is between 3 and 4: |
67 | + | |
68 | - | broadcast "&9[&aItem&9] &a%player%&7 got &6聖騎士の加護 &9《 &bRare&a: &e★★☆☆☆ &9》" |
68 | + | |
69 | - | give golden chestplate named "&6聖騎士の加護" with lore "&9《 &cCT&a:&e8 &9》 &9《 &bRare&a: &e★★☆☆☆ &9》","&b聖騎士の加護でダメージを軽減する" and "&b5秒間ダメージを40パーセント軽減する" to player |
69 | + | |
70 | - | if {_randomitem} is between 5 and 6: |
70 | + | |
71 | - | broadcast "&9[&aItem&9] &a%player%&7 got &5飛魂 &9《 &bRare&a: &e★★☆☆☆ &9》" |
71 | + | |
72 | - | give nether star named "&5飛魂" with lore "&9《 &cCT&a:&e10 &9》 &9《 &bRare&a: &e★★☆☆☆ &9》","&b魔法で魂を飛ばす" and "&b敵に当てた時に敵にテレポートする" to player |
72 | + | |
73 | - | if {_randomitem} is 7: |
73 | + | |
74 | - | broadcast "&9[&aItem&9] &a%player%&7 got &8クラッシュ &9《 &bRare&a: &e★★★☆☆ &9》" |
74 | + | |
75 | - | give anvil named "&8クラッシュ" with lore "&9《 &cCT&a:&e13 &9》 &9《 &bRare&a: &e★★★☆☆ &9》","&bためてから向いてる方向に進みながらブロックを壊していく" and "&b威力が高いが方向を変えれない" to player |
75 | + | |
76 | - | if {_randomitem} is 8: |
76 | + | |
77 | - | broadcast "&9[&aItem&9] &a%player%&7 got &e雷の破片 &9《 &bRare&a: &e★★★☆☆ &9》" |
77 | + | |
78 | - | give glowstone dust named "&e雷の破片" with lore "&9《 &cCT&a:&e12 &9》 &9《 &bRare&a: &e★★★☆☆ &9》","&b上から雷を落とす" and "&b範囲はデカいが威力はすこし弱め" to player |
78 | + | |
79 | if {cooltime3.%player%} <= 0: | |
80 | - | command /box [<number>]: |
80 | + | |
81 | - | permission: fc.admin |
81 | + | |
82 | set {_loc} to location of event-player | |
83 | - | if arg-1 is set: |
83 | + | |
84 | - | if arg-1 <= 64: |
84 | + | |
85 | - | loop arg times: |
85 | + | |
86 | - | give trapped chest named "&a報酬箱" to player |
86 | + | |
87 | - | else: |
87 | + | |
88 | - | send "&c64個以下にしてください。" |
88 | + | |
89 | set {_y} to cos(90-{_a1}) * 1.5 | |
90 | - | give trapped chest named "&a報酬箱" to player |
90 | + | |
91 | add {_x} to x-coordinate of {_loc} | |
92 | add {_y} to y-coordinate of {_loc} | |
93 | add {_z} to z-coordinate of {_loc} | |
94 | if block at {_loc} is block: | |
95 | stop | |
96 | 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" | |
97 | execute console command "particle spell %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0 0.1 0 5" | |
98 | loop living entities in radius 2 of {_loc}: | |
99 | damage loop-entity by 1 hearts | |
100 | teleport the event-player to the loop-entity | |
101 | execute console command "particle cloud %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.5 0 0.5 0 5" | |
102 | stop | |
103 | wait a tick | |
104 | else: | |
105 | 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 | |
106 | ||
107 | on rightclick with feather: | |
108 | cancel event | |
109 | if {cooltime4.%player%} <= 0: | |
110 | set {cooltime4.%player%} to 4 | |
111 | set {_loc} to location of event-player | |
112 | add 1.5 to y-coordinate of {_loc} | |
113 | execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
114 | set {_a2} to yaw of location of event-player - 270 | |
115 | set {_a1} to Pitch of location of event-player * -1 | |
116 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1 | |
117 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1 | |
118 | set {_y} to cos(90-{_a1}) * 1 | |
119 | loop 20 times: | |
120 | add {_x} to x-coordinate of {_loc} | |
121 | add {_y} to y-coordinate of {_loc} | |
122 | add {_z} to z-coordinate of {_loc} | |
123 | if block at {_loc} is block: | |
124 | stop | |
125 | 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" | |
126 | execute console command "particle cloud %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0 0.1 0 5" | |
127 | loop living entities in radius 1.5 of {_loc}: | |
128 | damage loop-entity by 1 hearts | |
129 | set velocity of loop-entity to vector {_x} * 1.2,{_y} + 0.1,{_z} *1.2 | |
130 | 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" | |
131 | execute console command "particle cloud %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0 1 0 5" | |
132 | stop | |
133 | wait a tick | |
134 | else: | |
135 | 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 | |
136 | ||
137 | on rightclick with diamond chestplate: | |
138 | cancel event | |
139 | if {cooltime5.%player%} <= 0: | |
140 | set {cooltime5.%player%} to 15 | |
141 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.wither.hurt master %player% ~ ~ ~ 1 0" | |
142 | set {_loc} to location of event-player | |
143 | add 1.5 to y-coordinate of {_loc} | |
144 | execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
145 | set {_a2} to yaw of location of event-player - 270 | |
146 | set {_a1} to Pitch of location of event-player * -1 | |
147 | execute console command "effect %player% minecraft:resistance 2 9 true" | |
148 | execute console command "/execute %player% ~ ~ ~ particle totem ~ ~1 ~ 0 0.25 0 0.25 50" | |
149 | stop | |
150 | wait a tick | |
151 | else: | |
152 | 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 | |
153 | ||
154 | on rightclick with golden sword: | |
155 | cancel event | |
156 | - | make player damage loop-entity by 2 |
156 | + | |
157 | set {cooltime6.%player%} to 6 | |
158 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.blaze.shoot master %player% ~ ~ ~ 1 2" | |
159 | set {_loc} to location of event-player | |
160 | add 1.5 to y-coordinate of {_loc} | |
161 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
162 | set {_a2} to yaw of location of event-player - 270 | |
163 | set {_a1} to Pitch of location of event-player * -1 | |
164 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
165 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
166 | set {_y} to cos(90-{_a1}) * 1 | |
167 | loop 40 times: | |
168 | add {_x} to x-coordinate of {_loc} | |
169 | add {_y} to y-coordinate of {_loc} | |
170 | add {_z} to z-coordinate of {_loc} | |
171 | if block at {_loc} is block: | |
172 | stop | |
173 | 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" | |
174 | loop living entities in radius 2 of {_loc}: | |
175 | damage loop-entity by 3 hearts | |
176 | execute console command "particle flame %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0.2 0 0.2 100" | |
177 | stop | |
178 | wait a tick | |
179 | else: | |
180 | 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 | |
181 | ||
182 | on rightclick with tnt: | |
183 | cancel event | |
184 | if {cooltime7.%player%} <= 0: | |
185 | - | make player damage loop-entity by 2 |
185 | + | |
186 | set {_loc} to location of event-player | |
187 | add 1.5 to y-coordinate of {_loc} | |
188 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
189 | set {_a2} to yaw of location of event-player - 270 | |
190 | set {_a1} to Pitch of location of event-player * -1 | |
191 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 0.5 | |
192 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 0.5 | |
193 | set {_y} to cos(90-{_a1}) * 0.5 | |
194 | loop 20 times: | |
195 | add {_x} to x-coordinate of {_loc} | |
196 | add {_y} to y-coordinate of {_loc} | |
197 | add {_z} to z-coordinate of {_loc} | |
198 | if block at {_loc} is block: | |
199 | stop | |
200 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.tnt.primed master %player% ~ ~ ~ 1 2" | |
201 | execute console command "particle fireworksSpark %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 10" | |
202 | loop living entities in radius 1.5 of {_loc}: | |
203 | loop-entity is not event-player | |
204 | damage loop-entity by 5 hearts | |
205 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.fireworks.blast master %player% ~ ~ ~ 1 0" | |
206 | execute console command "particle largeexplode %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 50" | |
207 | stop | |
208 | wait a tick | |
209 | else: | |
210 | 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 | |
211 | ||
212 | on rightclick with ice: | |
213 | cancel event | |
214 | if {cooltime8.%player%} <= 0: | |
215 | set {cooltime8.%player%} to 9 | |
216 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.glass.break master %player% ~ ~ ~ 1 0" | |
217 | set {_loc} to location of event-player | |
218 | add 1.5 to y-coordinate of {_loc} | |
219 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
220 | set {_a2} to yaw of location of event-player - 270 | |
221 | set {_a1} to Pitch of location of event-player * -1 | |
222 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
223 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
224 | set {_y} to cos(90-{_a1}) * 1 | |
225 | loop 30 times: | |
226 | add {_x} to x-coordinate of {_loc} | |
227 | add {_y} to y-coordinate of {_loc} | |
228 | add {_z} to z-coordinate of {_loc} | |
229 | if block at {_loc} is block: | |
230 | stop | |
231 | 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" | |
232 | - | make player damage loop-entity by 6 |
232 | + | |
233 | loop living entities in radius 1.5 of {_loc}: | |
234 | loop-entity is not event-player | |
235 | damage loop-entity by 2 hearts | |
236 | apply slowness 100 to loop-entity for 2 seconds | |
237 | execute console command "particle endRod %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0.25 0 0.25 50" | |
238 | stop | |
239 | wait a tick | |
240 | else: | |
241 | 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 | |
242 | ||
243 | on rightclick with emerald: | |
244 | cancel event | |
245 | if {cooltime9.%player%} <= 0: | |
246 | set {cooltime9.%player%} to 3 | |
247 | execute console command "/execute %player% ~ ~ ~ particle cloud ~ ~ ~ 0.5 0 0.5 0 50" | |
248 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.player.attack.sweep master %player% ~ ~ ~ 1 2" | |
249 | set {_loc} to location of event-player | |
250 | add 1.5 to y-coordinate of {_loc} | |
251 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
252 | set {_a2} to yaw of location of event-player - 270 | |
253 | set {_a1} to Pitch of location of event-player * -1 | |
254 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
255 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
256 | set {_y} to cos(90-{_a1}) * 1 | |
257 | set velocity of player to vector {_x} * 0,{_y} + 1,{_z} * 0 | |
258 | else: | |
259 | 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 | |
260 | ||
261 | - | make player damage loop-entity by 10 |
261 | + | on rightclick with minecart: |
262 | cancel event | |
263 | if {cooltime10.%player%} <= 0: | |
264 | set {cooltime10.%player%} to 15 | |
265 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.minecart.riding master %player% ~ ~ ~ 1 1" | |
266 | set {_loc} to location of event-player | |
267 | add 1.5 to y-coordinate of {_loc} | |
268 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
269 | set {_a2} to yaw of location of event-player - 270 | |
270 | set {_a1} to Pitch of location of event-player * -1 | |
271 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
272 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
273 | set {_y} to cos(90-{_a1}) * 1 | |
274 | loop 100 times: | |
275 | execute console command "/execute %player% ~ ~ ~ particle cloud ~ ~1 ~ 0 0 0 0.1 10" | |
276 | set velocity of player to vector {_x} * 0.25,{_y} * 0.25,{_z} * 0.25 | |
277 | wait 1 ticks | |
278 | else: | |
279 | 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 | |
280 | ||
281 | on rightclick with red mushroom: | |
282 | cancel event | |
283 | if {cooltime11.%player%} <= 0: | |
284 | set {cooltime11.%player%} to 14 | |
285 | set {_loc} to location of event-player | |
286 | add 1.5 to y-coordinate of {_loc} | |
287 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
288 | set {_a2} to yaw of location of event-player - 270 | |
289 | set {_a1} to Pitch of location of event-player * -1 | |
290 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1 | |
291 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1 | |
292 | - | make player damage loop-entity by 4 |
292 | + | |
293 | loop 20 times: | |
294 | add {_x} to x-coordinate of {_loc} | |
295 | add {_y} to y-coordinate of {_loc} | |
296 | add {_z} to z-coordinate of {_loc} | |
297 | if block at {_loc} is block: | |
298 | stop | |
299 | 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" | |
300 | execute console command "/particle dragonbreath %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0.0075 75" | |
301 | loop living entities in radius 1.5 of {_loc}: | |
302 | loop-entity is not event-player | |
303 | damage loop-entity by 1 hearts | |
304 | apply poison 2 to loop-entity for 7 seconds | |
305 | execute console command "particle %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0.25 0 0.25 50" | |
306 | stop | |
307 | wait a ticks | |
308 | else: | |
309 | 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 | |
310 | ||
311 | on rightclick with anvil: | |
312 | cancel event | |
313 | if {cooltime12.%player%} <= 0: | |
314 | set {cooltime12.%player%} to 13 | |
315 | set {_loc} to location of event-player | |
316 | add 1.5 to y-coordinate of {_loc} | |
317 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
318 | set {_a2} to yaw of location of event-player - 270 | |
319 | set {_a1} to Pitch of location of event-player * -1 | |
320 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
321 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
322 | - | make player damage loop-entity by 2 |
322 | + | |
323 | execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50" | |
324 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.5" | |
325 | wait 5 ticks | |
326 | execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50" | |
327 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.6" | |
328 | wait 5 ticks | |
329 | execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50" | |
330 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.7" | |
331 | wait 5 ticks | |
332 | execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50" | |
333 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.8" | |
334 | wait 5 ticks | |
335 | execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50" | |
336 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.9" | |
337 | wait 5 ticks | |
338 | execute console command "/execute %player% ~ ~ ~ /particle endRod ~ ~1 ~ 0 0 0 0.05 50" | |
339 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 1" | |
340 | wait 5 ticks | |
341 | loop 20 times: | |
342 | add {_x} to x-coordinate of {_loc} | |
343 | add {_y} to y-coordinate of {_loc} | |
344 | add {_z} to z-coordinate of {_loc} | |
345 | if block at {_loc} is block: | |
346 | stop | |
347 | loop 10 times: | |
348 | execute console command "/execute %player% ~ ~ ~ /particle blockcrack ~ ~1 ~ 0 0 0 0 50 0 %player% 4100" | |
349 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.wither.break_block master %player% ~ ~ ~ 1 1" | |
350 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.anvil.place master %player% ~ ~ ~ 1 0" | |
351 | set velocity of player to vector {_x} * 1.5,{_y} - 0.4,{_z} * 1.5 | |
352 | loop living entities in radius 2.5 of event-player: | |
353 | loop-entity is not event-player | |
354 | damage loop-entity by 6 hearts | |
355 | wait 2 ticks | |
356 | else: | |
357 | 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 | |
358 | ||
359 | on rightclick with glowstone dust: | |
360 | cancel event | |
361 | if {cooltime13.%player%} <= 0: | |
362 | set {cooltime13.%player%} to 12 | |
363 | set {_loc} to location of event-player | |
364 | add 60 to y-coordinate of {_loc} | |
365 | execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
366 | set {_a2} to yaw of location of event-player - 270 | |
367 | set {_a1} to Pitch of location of event-player * -1 | |
368 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 2 | |
369 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 2 | |
370 | set {_y} to cos(90-{_a1}) * 2 | |
371 | add {_x} to x-coordinate of {_loc} | |
372 | add {_y} to y-coordinate of {_loc} | |
373 | - | make player damage loop-entity by 12 |
373 | + | |
374 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.thunder master %player% ~ ~ ~ 1 1" | |
375 | loop 5 times: | |
376 | loop 10 times: | |
377 | add 0.2 to x-coordinate of {_loc} | |
378 | add -0.3 to y-coordinate of {_loc} | |
379 | add 0.2 to z-coordinate of {_loc} | |
380 | 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" | |
381 | loop 10 times: | |
382 | add -0.2 to x-coordinate of {_loc} | |
383 | add -0.3 to y-coordinate of {_loc} | |
384 | add -0.2 to z-coordinate of {_loc} | |
385 | 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" | |
386 | loop 10 times: | |
387 | add 0.2 to x-coordinate of {_loc} | |
388 | add -0.3 to y-coordinate of {_loc} | |
389 | add 0.2 to z-coordinate of {_loc} | |
390 | 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" | |
391 | loop 10 times: | |
392 | add -0.2 to x-coordinate of {_loc} | |
393 | add -0.3 to y-coordinate of {_loc} | |
394 | add -0.2 to z-coordinate of {_loc} | |
395 | 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" | |
396 | wait 4 ticks | |
397 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1" | |
398 | execute console command "/execute %player% ~ ~ ~ /particle largeexplode %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 2 10" | |
399 | loop living entities in radius 10 of event-player: | |
400 | loop-entity is not event-player | |
401 | damage loop-entity by 3 hearts | |
402 | else: | |
403 | 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 | |
404 | ||
405 | on rightclick with gold nugget: | |
406 | if {cooltime14.%player%} <= 0: | |
407 | set {cooltime14.%player%} to 20 | |
408 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 1" | |
409 | set {_loc} to location of event-player | |
410 | add 1.5 to y-coordinate of {_loc} | |
411 | execute console command "playsound minecraft:BLOCK_ANVIL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
412 | set {_a2} to yaw of location of event-player - 270 | |
413 | set {_a1} to Pitch of location of event-player * -1 | |
414 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 2 | |
415 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 2 | |
416 | set {_y} to cos(90-{_a1}) * 2 | |
417 | loop 40 times: | |
418 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master %player% ~ ~ ~ 1 1" | |
419 | wait a ticks | |
420 | - | make player damage loop-entity by 6 |
420 | + | |
421 | if {_randomeffect.%player%} is 1: | |
422 | apply slowness 5 to event-player for 7 seconds | |
423 | if {_randomeffect.%player%} is 2: | |
424 | apply speed 3 to event-player for 7 seconds | |
425 | if {_randomeffect.%player%} is 3: | |
426 | apply strength 2 to event-player for 7 seconds | |
427 | if {_randomeffect.%player%} is 4: | |
428 | apply wither 2 to event-player for 7 seconds | |
429 | if {_randomeffect.%player%} is 5: | |
430 | apply health boost 2 to event-player for 7 seconds | |
431 | if {_randomeffect.%player%} is 6: | |
432 | apply blindness 2 to event-player for 7 seconds | |
433 | if {_randomeffect.%player%} is 7: | |
434 | apply regeneration 2 to event-player for 7 seconds | |
435 | if {_randomeffect.%player%} is 8: | |
436 | apply poison 2 to event-player for 7 seconds | |
437 | if {_randomeffect.%player%} is 9: | |
438 | apply jump boost 2 to event-player for 7 seconds | |
439 | if {_randomeffect.%player%} is 10: | |
440 | apply slowness 5 to event-player for 7 seconds | |
441 | apply wither 2 to event-player for 7 seconds | |
442 | apply blindness 2 to event-player for 7 seconds | |
443 | apply poison 2 to event-player for 7 seconds | |
444 | if {_randomeffect.%player%} is 11: | |
445 | apply jump boost 2 to event-player for 7 seconds | |
446 | apply regeneration 2 to event-player for 7 seconds | |
447 | apply health boost 2 to event-player for 7 seconds | |
448 | apply strength 2 to event-player for 7 seconds | |
449 | apply speed 3 to event-player for 7 seconds | |
450 | else: | |
451 | 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 | |
452 | ||
453 | on rightclick with blaze rod: | |
454 | cancel event | |
455 | if {cooltime15.%player%} <= 0: | |
456 | set {cooltime15.%player%} to 12 | |
457 | damage event-player by 3 hearts | |
458 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.lava.extinguish master %player% ~ ~ ~ 1 2" | |
459 | set {_loc} to location of event-player | |
460 | add 1.5 to y-coordinate of {_loc} | |
461 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
462 | set {_a2} to yaw of location of event-player - 270 | |
463 | set {_a1} to Pitch of location of event-player * -1 | |
464 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
465 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
466 | set {_y} to cos(90-{_a1}) * 1 | |
467 | loop 30 times: | |
468 | add {_x} to x-coordinate of {_loc} | |
469 | add {_y} to y-coordinate of {_loc} | |
470 | add {_z} to z-coordinate of {_loc} | |
471 | if {_loc} is stone: | |
472 | stop | |
473 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.lava.extinguish master %player% ~ ~ ~ 0.5 2" | |
474 | execute console command "particle lava %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 10" | |
475 | loop living entities in radius 2 of {_loc}: | |
476 | loop-entity is not event-player | |
477 | execute console command "particle largeexplode %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 1" | |
478 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1" | |
479 | damage loop-entity by 6 hearts | |
480 | stop | |
481 | wait a tick | |
482 | else: | |
483 | 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 | |
484 | ||
485 | on rightclick with wooden hoe: | |
486 | cancel event | |
487 | if {cooltime16.%player%} <= 0: | |
488 | set {cooltime16.%player%} to 20 | |
489 | apply slowness 100 to event-player for 2 seconds | |
490 | execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.1 0.1 0.1 0 100" | |
491 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75" | |
492 | wait 4 ticks | |
493 | execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.2 0.2 0.2 0 100" | |
494 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75" | |
495 | wait 4 ticks | |
496 | execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.3 0.3 0.3 0 100" | |
497 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75" | |
498 | - | make player damage loop-entity by 12 |
498 | + | |
499 | execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.4 0.4 0.4 0 100" | |
500 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75" | |
501 | wait 4 ticks | |
502 | execute console command "/execute %player% ~ ~ ~ /particle witchMagic ~ ~3 ~ 0.5 0.5 0.5 0 100" | |
503 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 1 1.75" | |
504 | wait 4 ticks | |
505 | set {_loc} to location of event-player | |
506 | add 1.5 to y-coordinate of {_loc} | |
507 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
508 | set {_a2} to yaw of location of event-player - 270 | |
509 | set {_a1} to Pitch of location of event-player * -1 | |
510 | set {_x} to sin(90-{_a1}) * cos({_a2}) * 1.5 | |
511 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
512 | set {_y} to cos(90-{_a1}) * 1 | |
513 | loop 60 times: | |
514 | add {_x} to x-coordinate of {_loc} | |
515 | add {_y} to y-coordinate of {_loc} | |
516 | add {_z} to z-coordinate of {_loc} | |
517 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.enchantment_table.use master %player% ~ ~ ~ 2 0" | |
518 | 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" | |
519 | execute console command "/particle magicCrit %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0.1 0 0.1 0 20" | |
520 | execute console command "/particle flame %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0.075 0 0.075 5" | |
521 | if {_loc} is block: | |
522 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1" | |
523 | execute console command "particle hugeexplosion %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 1" | |
524 | stop | |
525 | loop living entities in radius 2 of {_loc}: | |
526 | loop-entity is not event-player | |
527 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1" | |
528 | damage loop-entity by 13 hearts | |
529 | stop | |
530 | wait a ticks | |
531 | else: | |
532 | 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 | |
533 | ||
534 | on rightclick with iron axe: | |
535 | cancel event | |
536 | if {cooltime17.%player%} <= 0: | |
537 | set {cooltime17.%player%} to 14 | |
538 | apply slowness 100 to event-player for 1 seconds | |
539 | execute console command "/execute %player% ~ ~ ~ /particle enchantmenttable ~ ~ ~ 0.5 0 0.5 0 100" | |
540 | - | if {_loc} is air: |
540 | + | |
541 | wait 1 seconds | |
542 | set {_loc} to location of event-player | |
543 | add 1.5 to y-coordinate of {_loc} | |
544 | execute console command "playsound minecraft:BLOCK_ANVIL_FALL master @a %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 1 0" | |
545 | set {_a2} to yaw of location of event-player - 270 | |
546 | set {_a1} to Pitch of location of event-player * -1 | |
547 | - | make player damage loop-entity by 11 |
547 | + | |
548 | set {_z} to sin(90-{_a1}) * sin({_a2}) * 1.5 | |
549 | set {_y} to cos(90-{_a1}) * 1 | |
550 | loop 3 times: | |
551 | add {_x} to x-coordinate of {_loc} | |
552 | - | on rightclick with wooden shovel: |
552 | + | |
553 | add {_z} to z-coordinate of {_loc} | |
554 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:block.grass.break master %player% ~ ~ ~ 1 0" | |
555 | 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" | |
556 | if {_loc} is block: | |
557 | stop | |
558 | loop living entities in radius 2 of {_loc}: | |
559 | loop-entity is not event-player | |
560 | execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.lightning.impact master %player% ~ ~ ~ 1 1" | |
561 | execute console command "particle hugeexplosion %x-coordinate of {_loc}% %y-coordinate of {_loc}% %z-coordinate of {_loc}% 0 0 0 0 1" | |
562 | damage loop-entity by 8 hearts | |
563 | stop | |
564 | wait a tick | |
565 | else: | |
566 | 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 | |
567 | ||
568 | command /checkitem: | |
569 | trigger: | |
570 | if player is holding air: | |
571 | send "&cアイテムを手に持ってください" to player | |
572 | else: | |
573 | set {_itemname} to name of held item | |
574 | set {_itemid} to id of player's held item | |
575 | set {_itemdur} to durability of player's held item | |
576 | send "&7Item name&f: %{_itemname}%" | |
577 | send "&7Item id&f: &r%{_itemid}%:%{_itemdur}%" | |
578 | ||
579 | on damage: | |
580 | - | make player damage loop-entity by 16 |
580 | + | |
581 | cancel event | |
582 | ||
583 | on join: | |
584 | set rf max hp of player to 40 |