SHOW:
|
|
- or go back to the newest paste.
1 | on flight toggle: | |
2 | if player's gamemode is not creative: | |
3 | cancel event | |
4 | set player's flight state to false | |
5 | push player upwards at speed 1.6 | |
6 | push player forwards at speed 0.9 | |
7 | ||
8 | on any move: | |
9 | set {_loc} to type of block | |
10 | if player is on ground: | |
11 | if player's gamemode is not creative: | |
12 | set player's flight state to true | |
13 | ||
14 | #every tick: | |
15 | # if {blockland} is set: | |
16 | # loop all entities in "world": | |
17 | # loop-entity is falling block | |
18 | # add "{Time:1}" to loop-entity's nbt | |
19 | ||
20 | command /blockland <text>: | |
21 | trigger: | |
22 | if arg is "on" or "set" or "true": | |
23 | set {blockland} to true | |
24 | send "blockland to cancel" | |
25 | if arg is "off" or "remove" or "false" or "clear": | |
26 | clear {blockland} | |
27 | send "blockland to normal" | |
28 | ||
29 | on block land: | |
30 | if {blockland} is set: | |
31 | cancel event | |
32 | ||
33 | on command "/fly": | |
34 | cancel event | |
35 | set player's flight state to true | |
36 | ||
37 | on damage: | |
38 | victim is player | |
39 | damage cause is fall: | |
40 | cancel the event | |
41 | ||
42 | every tick: | |
43 | loop all players: | |
44 | if y-coordinate of loop-player is less than -9: | |
45 | teleport loop-player to {spawn} | |
46 | ||
47 | on place: | |
48 | player's tool is plain_glass_block named "chicken" | |
49 | set {_chickenloc} to location of event-block | |
50 | add {_chickenloc} to {chicken::*} | |
51 | ||
52 | on command "/chickenreset": | |
53 | cancel event | |
54 | clear {chicken::*} | |
55 | ||
56 | on break: | |
57 | Name of player's tool is "&aケンタッキー・フライド・チキンチキン" | |
58 | cancel event | |
59 | if player is not sneaking: | |
60 | loop blocks in radius 10 around event-block: | |
61 | if loop-block is plain_glass_block: | |
62 | if {chicken::%loop-block's location%} is not set: | |
63 | set {chicken::%loop-block's location%} to location of loop-block | |
64 | set loop-block to air | |
65 | send "&aON" | |
66 | else: | |
67 | loop blocks in radius 10 around event-block: | |
68 | if loop-block is air: | |
69 | if {chicken::%loop-block's location%} is set: | |
70 | clear {chicken::%loop-block's location%} | |
71 | set loop-block to plain_glass_block | |
72 | send "&cOFF" | |
73 | ||
74 | on command "/chicken": | |
75 | cancel event | |
76 | set {_chicken} to random element out of {chicken::*} | |
77 | if {mode} is not set: | |
78 | set {_crate} to random integer between 1 and 190 | |
79 | if {_crate} is between 1 and 20: | |
80 | spawn a pig at {_chicken} | |
81 | if {_crate} is between 21 and 40: | |
82 | spawn a giant at {_chicken} | |
83 | apply levitation -10 to the last spawned entity for 999 minutes | |
84 | if {_crate} is between 41 and 60: | |
85 | spawn a villager at {_chicken} | |
86 | apply levitation -8 to the last spawned entity for 999 minutes | |
87 | if {_crate} is between 61 and 80: | |
88 | spawn a squid at {_chicken} | |
89 | apply levitation -10 to the last spawned entity for 999 minutes | |
90 | if {_crate} is 81: | |
91 | spawn a giant at {_chicken} | |
92 | set last spawned entity's helmet to glowing golden_helmet | |
93 | set last spawned entity's chestplate to glowing golden_chestplate | |
94 | set last spawned entity's leggings to glowing golden_leggings | |
95 | set last spawned entity's boots to glowing golden_boots | |
96 | set last spawned entity's tool to glowing golden_sword | |
97 | apply levitation -3 to the last spawned entity for 999 minutes | |
98 | damage last spawned entity by 20 hearts | |
99 | if {_crate} is between 82 and 91: | |
100 | spawn a normal guardian at {_chicken} | |
101 | apply levitation -100 to the last spawned entity for 999 minutes | |
102 | if {_crate} is between 92 and 111: | |
103 | spawn a silverfish at {_chicken} | |
104 | apply levitation -9 to the last spawned entity for 999 minutes | |
105 | if {_crate} is between 112 and 131: | |
106 | spawn a creeper at {_chicken} | |
107 | apply levitation -9 to the last spawned entity for 999 minutes | |
108 | if {_crate} is between 132 and 151: | |
109 | spawn a skeleton horse at {_chicken} | |
110 | add "{Age:-30000}" to last spawned entity's nbt | |
111 | apply levitation -5 to the last spawned entity for 999 minutes | |
112 | if {_crate} is between 152 and 171: | |
113 | spawn a slime at {_chicken} | |
114 | add "{Size:1}" to last spawned entity's nbt | |
115 | apply levitation -4 to the event-entity for 999 minutes | |
116 | else: | |
117 | loop 2 times: | |
118 | set {_chicken} to random element out of {chicken::*} | |
119 | spawn a chicken at {_chicken} | |
120 | else: | |
121 | if {mode} is "chicken": | |
122 | loop 4 times: | |
123 | set {_chicken} to random element out of {chicken::*} | |
124 | spawn a chicken at {_chicken} | |
125 | if {mode} is "pig": | |
126 | spawn a pig at {_chicken} | |
127 | apply levitation -10 to the last spawned entity for 999 minutes | |
128 | if {mode} is "giant": | |
129 | spawn a giant at {_chicken} | |
130 | apply levitation -10 to the last spawned entity for 999 minutes | |
131 | if {mode} is "villager": | |
132 | spawn a villager at {_chicken} | |
133 | apply levitation -8 to the last spawned entity for 999 minutes | |
134 | if {mode} is "squid": | |
135 | spawn a squid at {_chicken} | |
136 | apply levitation -10 to the last spawned entity for 999 minutes | |
137 | if {mode} is "super": | |
138 | spawn a giant at {_chicken} | |
139 | set last spawned entity's helmet to glowing diamond_helmet | |
140 | set last spawned entity's chestplate to glowing diamond_chestplate | |
141 | set last spawned entity's leggings to glowing diamond_leggings | |
142 | set last spawned entity's boots to glowing diamond_boots | |
143 | set last spawned entity's tool to glowing diamond_sword | |
144 | apply levitation -6 to the last spawned entity for 999 minutes | |
145 | if {mode} is "silverfish": | |
146 | spawn a silverfish at {_chicken} | |
147 | apply levitation -9 to the last spawned entity for 999 minutes | |
148 | if {mode} is "creeper": | |
149 | spawn a creeper at {_chicken} | |
150 | apply levitation -9 to the last spawned entity for 999 minutes | |
151 | if {mode} is "skeleton horse": | |
152 | spawn a skeleton horse at {_chicken} | |
153 | add "{Age:-30000}" to last spawned entity's nbt | |
154 | apply levitation -5 to the last spawned entity for 999 minutes | |
155 | if {mode} is "slime": | |
156 | spawn a slime at {_chicken} | |
157 | add "{Size:1}" to last spawned entity's nbt | |
158 | apply levitation -4 to the event-entity for 999 minutes | |
159 | ||
160 | on command "/chickenspawn1": | |
161 | cancel event | |
162 | set {_chicken} to random element out of {chicken::*} | |
163 | spawn a pig at {_chicken} | |
164 | ||
165 | on command "/chickenspawn2": | |
166 | cancel event | |
167 | set {_chicken} to random element out of {chicken::*} | |
168 | spawn a giant at {_chicken} | |
169 | apply levitation -10 to the last spawned entity for 999 minutes | |
170 | ||
171 | on command "/chickenspawn3": | |
172 | cancel event | |
173 | set {_chicken} to random element out of {chicken::*} | |
174 | spawn a villager at {_chicken} | |
175 | apply levitation -8 to the last spawned entity for 999 minutes | |
176 | ||
177 | on command "/chickenspawn4": | |
178 | cancel event | |
179 | set {_chicken} to random element out of {chicken::*} | |
180 | spawn a squid at {_chicken} | |
181 | apply levitation -10 to the last spawned entity for 999 minutes | |
182 | ||
183 | on command "/chickenspawn5": | |
184 | cancel event | |
185 | set {_chicken} to random element out of {chicken::*} | |
186 | spawn a giant at {_chicken} | |
187 | set last spawned entity's helmet to glowing golden_helmet | |
188 | set last spawned entity's chestplate to glowing golden_chestplate | |
189 | set last spawned entity's leggings to glowing golden_leggings | |
190 | set last spawned entity's boots to glowing golden_boots | |
191 | set last spawned entity's tool to glowing golden_sword | |
192 | apply levitation -3 to the last spawned entity for 999 minutes | |
193 | damage last spawned entity by 20 hearts | |
194 | ||
195 | on command "/chickenspawn6": | |
196 | cancel event | |
197 | set {_chicken} to random element out of {chicken::*} | |
198 | spawn a pig at {_chicken} | |
199 | apply levitation -10 to the last spawned entity for 999 minutes | |
200 | ||
201 | on command "/chickenspawn7": | |
202 | cancel event | |
203 | set {_chicken} to random element out of {chicken::*} | |
204 | spawn a giant at {_chicken} | |
205 | set last spawned entity's helmet to glowing diamond_helmet | |
206 | set last spawned entity's chestplate to glowing diamond_chestplate | |
207 | set last spawned entity's leggings to glowing diamond_leggings | |
208 | set last spawned entity's boots to glowing diamond_boots | |
209 | set last spawned entity's tool to glowing diamond_sword | |
210 | apply levitation -6 to the last spawned entity for 999 minutes | |
211 | ||
212 | on command "/chickenspawn8": | |
213 | cancel event | |
214 | set {_chicken} to random element out of {chicken::*} | |
215 | spawn a normal guardian at {_chicken} | |
216 | apply levitation -100 to the last spawned entity for 999 minutes | |
217 | ||
218 | on command "/chickenspawn9": | |
219 | cancel event | |
220 | spawn a wither at {loc} | |
221 | set the last spawned entity's max health to 200 | |
222 | ||
223 | on command "/chickenspawn10": | |
224 | cancel event | |
225 | set {_chicken} to random element out of {chicken::*} | |
226 | spawn a silverfish at {_chicken} | |
227 | apply levitation -9 to the last spawned entity for 999 minutes | |
228 | ||
229 | on command "/chickenspawn11": | |
230 | cancel event | |
231 | set {_chicken} to random element out of {chicken::*} | |
232 | spawn a creeper at {_chicken} | |
233 | apply levitation -9 to the last spawned entity for 999 minutes | |
234 | ||
235 | on command "/chickenspawn12": | |
236 | cancel event | |
237 | set {_chicken} to random element out of {chicken::*} | |
238 | spawn a skeleton horse at {_chicken} | |
239 | add "{Age:-30000}" to last spawned entity's nbt | |
240 | apply levitation -5 to the last spawned entity for 999 minutes | |
241 | ||
242 | on command "/chickenspawn13": | |
243 | cancel event | |
244 | set {_chicken} to random element out of {chicken::*} | |
245 | spawn a slime at {_chicken} | |
246 | add "{Size:1}" to last spawned entity's nbt | |
247 | ||
248 | on xp spawn: | |
249 | world is "world" | |
250 | cancel event | |
251 | ||
252 | on shoot: | |
253 | shooter's tool is snowball named "&dBridge Ball" | |
254 | loop 50 times: | |
255 | if block at projectile is air: | |
256 | add 1 to {_count} | |
257 | set {_test::%{_count}%} to location of projectile | |
258 | wait a tick | |
259 | loop 50 times: | |
260 | add 1 to {_count2} | |
261 | set block at {_test::%{_count2}%} to wool:0 | |
262 | wait a tick | |
263 | wait 5 seconds | |
264 | loop 50 times: | |
265 | add 1 to {_count3} | |
266 | set block at {_test::%{_count3}%} to air | |
267 | wait a ticks | |
268 | ||
269 | on damage: | |
270 | attacker is player | |
271 | if attacker's tool is bow named "&c対プレイヤー用弓": | |
272 | execute console command "/a" | |
273 | else: | |
274 | if victim is player: | |
275 | cancel event | |
276 | if victim is chicken: | |
277 | give attacker glowing feather | |
278 | send "&aHit!! (+1 point)" to attacker | |
279 | add 1 to attacker's level | |
280 | kill victim | |
281 | play "entity_arrow_hit_player" to attacker at volume 2 | |
282 | if attacker's tablist name contains "&a": | |
283 | give attacker glowing 1 feather | |
284 | add 1 to attacker's level | |
285 | send "&aVIP Rank bonus (+1 point)" to attacker | |
286 | if attacker's tablist name contains "[MVP": | |
287 | give attacker glowing 1 feather | |
288 | add 1 to attacker's level | |
289 | send "&bMVP Rank bonus (+1 point)" to attacker | |
290 | if attacker's tablist name contains "+": | |
291 | if attacker's tablist name contains "++": | |
292 | if attacker's tablist name contains "+++": | |
293 | if attacker's tablist name contains "++++": | |
294 | if attacker's tablist name contains "+++++": | |
295 | if attacker's tablist name contains "++++++": | |
296 | if attacker's tablist name contains "+++++++": | |
297 | if attacker's tablist name contains "++++++++": | |
298 | if attacker's tablist name contains "+++++++++": | |
299 | give attacker glowing 9 feather | |
300 | add 9 to attacker's level | |
301 | send "&cRank + bonus (+9 point)" to attacker | |
302 | else: | |
303 | give attacker glowing 8 feather | |
304 | add 8 to attacker's level | |
305 | send "&cRank + bonus (+7 point)" to attacker | |
306 | else: | |
307 | give attacker glowing 7 feather | |
308 | add 7 to attacker's level | |
309 | send "&cRank + bonus (+7 point)" to attacker | |
310 | else: | |
311 | give attacker glowing 6 feather | |
312 | add 6 to attacker's level | |
313 | send "&cRank + bonus (+6 point)" to attacker | |
314 | else: | |
315 | give attacker glowing 5 feather | |
316 | add 5 to attacker's level | |
317 | send "&cRank + bonus (+5 point)" to attacker | |
318 | else: | |
319 | give attacker glowing 4 feather | |
320 | add 4 to attacker's level | |
321 | send "&cRank + bonus (+4 point)" to attacker | |
322 | else: | |
323 | give attacker glowing 3 feather | |
324 | add 3 to attacker's level | |
325 | send "&cRank + bonus (+3 point)" to attacker | |
326 | else: | |
327 | give attacker glowing 2 feather | |
328 | add 2 to attacker's level | |
329 | send "&cRank + bonus (+2 point)" to attacker | |
330 | else: | |
331 | give attacker glowing 1 feather | |
332 | add 1 to attacker's level | |
333 | send "&cRank + bonus (+1 point)" to attacker | |
334 | ||
335 | if victim is giant: | |
336 | if victim's helmet is golden_helmet: | |
337 | give attacker glowing 3 feather | |
338 | send "&aHit!! (+2 point)" to attacker | |
339 | send "&6bonus (+1 point)" to attacker | |
340 | add 3 to attacker's level | |
341 | play "entity_arrow_hit_player" to attacker at volume 2 | |
342 | if attacker's tablist name contains "&a": | |
343 | give attacker glowing 1 feather | |
344 | add 1 to attacker's level | |
345 | send "&aVIP Rank bonus (+1 point)" to attacker | |
346 | if attacker's tablist name contains "[MVP": | |
347 | give attacker glowing 1 feather | |
348 | add 1 to attacker's level | |
349 | send "&bMVP Rank bonus (+1 point)" to attacker | |
350 | if attacker's tablist name contains "+": | |
351 | if attacker's tablist name contains "++": | |
352 | if attacker's tablist name contains "+++": | |
353 | if attacker's tablist name contains "++++": | |
354 | if attacker's tablist name contains "+++++": | |
355 | if attacker's tablist name contains "++++++": | |
356 | if attacker's tablist name contains "+++++++": | |
357 | if attacker's tablist name contains "++++++++": | |
358 | if attacker's tablist name contains "+++++++++": | |
359 | give attacker glowing 9 feather | |
360 | add 9 to attacker's level | |
361 | send "&cRank + bonus (+9 point)" to attacker | |
362 | else: | |
363 | give attacker glowing 8 feather | |
364 | add 8 to attacker's level | |
365 | send "&cRank + bonus (+7 point)" to attacker | |
366 | else: | |
367 | give attacker glowing 7 feather | |
368 | add 7 to attacker's level | |
369 | send "&cRank + bonus (+7 point)" to attacker | |
370 | else: | |
371 | give attacker glowing 6 feather | |
372 | add 6 to attacker's level | |
373 | send "&cRank + bonus (+6 point)" to attacker | |
374 | else: | |
375 | give attacker glowing 5 feather | |
376 | add 5 to attacker's level | |
377 | send "&cRank + bonus (+5 point)" to attacker | |
378 | else: | |
379 | give attacker glowing 4 feather | |
380 | add 4 to attacker's level | |
381 | send "&cRank + bonus (+4 point)" to attacker | |
382 | else: | |
383 | give attacker glowing 3 feather | |
384 | add 3 to attacker's level | |
385 | send "&cRank + bonus (+3 point)" to attacker | |
386 | else: | |
387 | give attacker glowing 2 feather | |
388 | add 2 to attacker's level | |
389 | send "&cRank + bonus (+2 point)" to attacker | |
390 | else: | |
391 | give attacker glowing 1 feather | |
392 | add 1 to attacker's level | |
393 | send "&cRank + bonus (+1 point)" to attacker | |
394 | else if victim's helmet is diamond_helmet: | |
395 | give attacker glowing 12 feather | |
396 | send "&aHit!! (+2 point)" to attacker | |
397 | send "&6bonus (+10 point)" to attacker | |
398 | add 12 to attacker's level | |
399 | play "entity_arrow_hit_player" to attacker at volume 2 | |
400 | strike lightning effect at the victim | |
401 | if attacker's tablist name contains "&a": | |
402 | give attacker glowing 1 feather | |
403 | add 1 to attacker's level | |
404 | send "&aVIP Rank bonus (+1 point)" to attacker | |
405 | if attacker's tablist name contains "[MVP": | |
406 | give attacker glowing 1 feather | |
407 | add 1 to attacker's level | |
408 | send "&bMVP Rank bonus (+1 point)" to attacker | |
409 | if attacker's tablist name contains "+": | |
410 | if attacker's tablist name contains "++": | |
411 | if attacker's tablist name contains "+++": | |
412 | if attacker's tablist name contains "++++": | |
413 | if attacker's tablist name contains "+++++": | |
414 | if attacker's tablist name contains "++++++": | |
415 | if attacker's tablist name contains "+++++++": | |
416 | if attacker's tablist name contains "++++++++": | |
417 | if attacker's tablist name contains "+++++++++": | |
418 | give attacker glowing 9 feather | |
419 | add 9 to attacker's level | |
420 | send "&cRank + bonus (+9 point)" to attacker | |
421 | else: | |
422 | give attacker glowing 8 feather | |
423 | add 8 to attacker's level | |
424 | send "&cRank + bonus (+7 point)" to attacker | |
425 | else: | |
426 | give attacker glowing 7 feather | |
427 | add 7 to attacker's level | |
428 | send "&cRank + bonus (+7 point)" to attacker | |
429 | else: | |
430 | give attacker glowing 6 feather | |
431 | add 6 to attacker's level | |
432 | send "&cRank + bonus (+6 point)" to attacker | |
433 | else: | |
434 | give attacker glowing 5 feather | |
435 | add 5 to attacker's level | |
436 | send "&cRank + bonus (+5 point)" to attacker | |
437 | else: | |
438 | give attacker glowing 4 feather | |
439 | add 4 to attacker's level | |
440 | send "&cRank + bonus (+4 point)" to attacker | |
441 | else: | |
442 | give attacker glowing 3 feather | |
443 | add 3 to attacker's level | |
444 | send "&cRank + bonus (+3 point)" to attacker | |
445 | else: | |
446 | give attacker glowing 2 feather | |
447 | add 2 to attacker's level | |
448 | send "&cRank + bonus (+2 point)" to attacker | |
449 | else: | |
450 | give attacker glowing 1 feather | |
451 | add 1 to attacker's level | |
452 | send "&cRank + bonus (+1 point)" to attacker | |
453 | else: | |
454 | give attacker glowing 2 feather | |
455 | send "&aHit!! (+2 point)" to attacker | |
456 | add 2 to attacker's level | |
457 | kill victim | |
458 | play "entity_arrow_hit_player" to attacker at volume 2 | |
459 | if attacker's tablist name contains "&a": | |
460 | give attacker glowing 1 feather | |
461 | add 1 to attacker's level | |
462 | send "&aVIP Rank bonus (+1 point)" to attacker | |
463 | if attacker's tablist name contains "[MVP": | |
464 | give attacker glowing 1 feather | |
465 | add 1 to attacker's level | |
466 | send "&bMVP Rank bonus (+1 point)" to attacker | |
467 | if attacker's tablist name contains "+": | |
468 | if attacker's tablist name contains "++": | |
469 | if attacker's tablist name contains "+++": | |
470 | if attacker's tablist name contains "++++": | |
471 | if attacker's tablist name contains "+++++": | |
472 | if attacker's tablist name contains "++++++": | |
473 | if attacker's tablist name contains "+++++++": | |
474 | if attacker's tablist name contains "++++++++": | |
475 | if attacker's tablist name contains "+++++++++": | |
476 | give attacker glowing 9 feather | |
477 | add 9 to attacker's level | |
478 | send "&cRank + bonus (+9 point)" to attacker | |
479 | else: | |
480 | give attacker glowing 8 feather | |
481 | add 8 to attacker's level | |
482 | send "&cRank + bonus (+7 point)" to attacker | |
483 | else: | |
484 | give attacker glowing 7 feather | |
485 | add 7 to attacker's level | |
486 | send "&cRank + bonus (+7 point)" to attacker | |
487 | else: | |
488 | give attacker glowing 6 feather | |
489 | add 6 to attacker's level | |
490 | send "&cRank + bonus (+6 point)" to attacker | |
491 | else: | |
492 | give attacker glowing 5 feather | |
493 | add 5 to attacker's level | |
494 | send "&cRank + bonus (+5 point)" to attacker | |
495 | else: | |
496 | give attacker glowing 4 feather | |
497 | add 4 to attacker's level | |
498 | send "&cRank + bonus (+4 point)" to attacker | |
499 | else: | |
500 | give attacker glowing 3 feather | |
501 | add 3 to attacker's level | |
502 | send "&cRank + bonus (+3 point)" to attacker | |
503 | else: | |
504 | give attacker glowing 2 feather | |
505 | add 2 to attacker's level | |
506 | send "&cRank + bonus (+2 point)" to attacker | |
507 | else: | |
508 | give attacker glowing 1 feather | |
509 | add 1 to attacker's level | |
510 | send "&cRank + bonus (+1 point)" to attacker | |
511 | if victim is villager: | |
512 | give attacker glowing 3 feather | |
513 | send "&aHit!! (+3 point)" to attacker | |
514 | add 3 to attacker's level | |
515 | kill victim | |
516 | play "entity_arrow_hit_player" to attacker at volume 2 | |
517 | if attacker's tablist name contains "&a": | |
518 | give attacker glowing 1 feather | |
519 | add 1 to attacker's level | |
520 | send "&aVIP Rank bonus (+1 point)" to attacker | |
521 | if attacker's tablist name contains "[MVP": | |
522 | give attacker glowing 1 feather | |
523 | add 1 to attacker's level | |
524 | send "&bMVP Rank bonus (+1 point)" to attacker | |
525 | if attacker's tablist name contains "+": | |
526 | if attacker's tablist name contains "++": | |
527 | if attacker's tablist name contains "+++": | |
528 | if attacker's tablist name contains "++++": | |
529 | if attacker's tablist name contains "+++++": | |
530 | if attacker's tablist name contains "++++++": | |
531 | if attacker's tablist name contains "+++++++": | |
532 | if attacker's tablist name contains "++++++++": | |
533 | if attacker's tablist name contains "+++++++++": | |
534 | give attacker glowing 9 feather | |
535 | add 9 to attacker's level | |
536 | send "&cRank + bonus (+9 point)" to attacker | |
537 | else: | |
538 | give attacker glowing 8 feather | |
539 | add 8 to attacker's level | |
540 | send "&cRank + bonus (+7 point)" to attacker | |
541 | else: | |
542 | give attacker glowing 7 feather | |
543 | add 7 to attacker's level | |
544 | send "&cRank + bonus (+7 point)" to attacker | |
545 | else: | |
546 | give attacker glowing 6 feather | |
547 | add 6 to attacker's level | |
548 | send "&cRank + bonus (+6 point)" to attacker | |
549 | else: | |
550 | give attacker glowing 5 feather | |
551 | add 5 to attacker's level | |
552 | send "&cRank + bonus (+5 point)" to attacker | |
553 | else: | |
554 | give attacker glowing 4 feather | |
555 | add 4 to attacker's level | |
556 | send "&cRank + bonus (+4 point)" to attacker | |
557 | else: | |
558 | give attacker glowing 3 feather | |
559 | add 3 to attacker's level | |
560 | send "&cRank + bonus (+3 point)" to attacker | |
561 | else: | |
562 | give attacker glowing 2 feather | |
563 | add 2 to attacker's level | |
564 | send "&cRank + bonus (+2 point)" to attacker | |
565 | else: | |
566 | give attacker glowing 1 feather | |
567 | add 1 to attacker's level | |
568 | send "&cRank + bonus (+1 point)" to attacker | |
569 | ||
570 | if victim is squid: | |
571 | give attacker glowing 4 feather | |
572 | send "&aHit!! (+4 point)" to attacker | |
573 | add 4 to attacker's level | |
574 | kill victim | |
575 | play "entity_arrow_hit_player" to attacker at volume 2 | |
576 | if attacker's tablist name contains "&a": | |
577 | give attacker glowing 1 feather | |
578 | add 1 to attacker's level | |
579 | send "&aVIP Rank bonus (+1 point)" to attacker | |
580 | if attacker's tablist name contains "[MVP": | |
581 | give attacker glowing 1 feather | |
582 | add 1 to attacker's level | |
583 | send "&bMVP Rank bonus (+1 point)" to attacker | |
584 | if attacker's tablist name contains "+": | |
585 | if attacker's tablist name contains "++": | |
586 | if attacker's tablist name contains "+++": | |
587 | if attacker's tablist name contains "++++": | |
588 | if attacker's tablist name contains "+++++": | |
589 | if attacker's tablist name contains "++++++": | |
590 | if attacker's tablist name contains "+++++++": | |
591 | if attacker's tablist name contains "++++++++": | |
592 | if attacker's tablist name contains "+++++++++": | |
593 | give attacker glowing 9 feather | |
594 | add 9 to attacker's level | |
595 | send "&cRank + bonus (+9 point)" to attacker | |
596 | else: | |
597 | give attacker glowing 8 feather | |
598 | add 8 to attacker's level | |
599 | send "&cRank + bonus (+7 point)" to attacker | |
600 | else: | |
601 | give attacker glowing 7 feather | |
602 | add 7 to attacker's level | |
603 | send "&cRank + bonus (+7 point)" to attacker | |
604 | else: | |
605 | give attacker glowing 6 feather | |
606 | add 6 to attacker's level | |
607 | send "&cRank + bonus (+6 point)" to attacker | |
608 | else: | |
609 | give attacker glowing 5 feather | |
610 | add 5 to attacker's level | |
611 | send "&cRank + bonus (+5 point)" to attacker | |
612 | else: | |
613 | give attacker glowing 4 feather | |
614 | add 4 to attacker's level | |
615 | send "&cRank + bonus (+4 point)" to attacker | |
616 | else: | |
617 | give attacker glowing 3 feather | |
618 | add 3 to attacker's level | |
619 | send "&cRank + bonus (+3 point)" to attacker | |
620 | else: | |
621 | give attacker glowing 2 feather | |
622 | add 2 to attacker's level | |
623 | send "&cRank + bonus (+2 point)" to attacker | |
624 | else: | |
625 | give attacker glowing 1 feather | |
626 | add 1 to attacker's level | |
627 | send "&cRank + bonus (+1 point)" to attacker | |
628 | ||
629 | if victim is pig: | |
630 | give attacker glowing 50 feather | |
631 | send "&aHit!! (+50 point)" to attacker | |
632 | broadcast "&6%attacker% Pig Hit!!" | |
633 | add 50 to attacker's level | |
634 | kill victim | |
635 | play "entity_arrow_hit_player" to attacker at volume 2 | |
636 | if attacker's tablist name contains "&a": | |
637 | give attacker glowing 1 feather | |
638 | add 1 to attacker's level | |
639 | send "&aVIP Rank bonus (+1 point)" to attacker | |
640 | if attacker's tablist name contains "[MVP": | |
641 | give attacker glowing 1 feather | |
642 | add 1 to attacker's level | |
643 | send "&bMVP Rank bonus (+1 point)" to attacker | |
644 | if attacker's tablist name contains "+": | |
645 | if attacker's tablist name contains "++": | |
646 | if attacker's tablist name contains "+++": | |
647 | if attacker's tablist name contains "++++": | |
648 | if attacker's tablist name contains "+++++": | |
649 | if attacker's tablist name contains "++++++": | |
650 | if attacker's tablist name contains "+++++++": | |
651 | if attacker's tablist name contains "++++++++": | |
652 | if attacker's tablist name contains "+++++++++": | |
653 | give attacker glowing 9 feather | |
654 | add 9 to attacker's level | |
655 | send "&cRank + bonus (+9 point)" to attacker | |
656 | else: | |
657 | give attacker glowing 8 feather | |
658 | add 8 to attacker's level | |
659 | send "&cRank + bonus (+7 point)" to attacker | |
660 | else: | |
661 | give attacker glowing 7 feather | |
662 | add 7 to attacker's level | |
663 | send "&cRank + bonus (+7 point)" to attacker | |
664 | else: | |
665 | give attacker glowing 6 feather | |
666 | add 6 to attacker's level | |
667 | send "&cRank + bonus (+6 point)" to attacker | |
668 | else: | |
669 | give attacker glowing 5 feather | |
670 | add 5 to attacker's level | |
671 | send "&cRank + bonus (+5 point)" to attacker | |
672 | else: | |
673 | give attacker glowing 4 feather | |
674 | add 4 to attacker's level | |
675 | send "&cRank + bonus (+4 point)" to attacker | |
676 | else: | |
677 | give attacker glowing 3 feather | |
678 | add 3 to attacker's level | |
679 | send "&cRank + bonus (+3 point)" to attacker | |
680 | else: | |
681 | give attacker glowing 2 feather | |
682 | add 2 to attacker's level | |
683 | send "&cRank + bonus (+2 point)" to attacker | |
684 | else: | |
685 | give attacker glowing 1 feather | |
686 | add 1 to attacker's level | |
687 | send "&cRank + bonus (+1 point)" to attacker | |
688 | ||
689 | if victim is normal guardian: | |
690 | give attacker glowing 100 feather | |
691 | send "&aHit!! (+100 point)" to attacker | |
692 | broadcast "&6%attacker% &5Guardian &6Hit!!" | |
693 | add 100 to attacker's level | |
694 | kill victim | |
695 | play "entity_arrow_hit_player" to attacker at volume 2 | |
696 | if attacker's tablist name contains "&a": | |
697 | give attacker glowing 1 feather | |
698 | add 1 to attacker's level | |
699 | send "&aVIP Rank bonus (+1 point)" to attacker | |
700 | if attacker's tablist name contains "[MVP": | |
701 | give attacker glowing 1 feather | |
702 | add 1 to attacker's level | |
703 | send "&bMVP Rank bonus (+1 point)" to attacker | |
704 | if attacker's tablist name contains "+": | |
705 | if attacker's tablist name contains "++": | |
706 | if attacker's tablist name contains "+++": | |
707 | if attacker's tablist name contains "++++": | |
708 | if attacker's tablist name contains "+++++": | |
709 | if attacker's tablist name contains "++++++": | |
710 | if attacker's tablist name contains "+++++++": | |
711 | if attacker's tablist name contains "++++++++": | |
712 | if attacker's tablist name contains "+++++++++": | |
713 | give attacker glowing 9 feather | |
714 | add 9 to attacker's level | |
715 | send "&cRank + bonus (+9 point)" to attacker | |
716 | else: | |
717 | give attacker glowing 8 feather | |
718 | add 8 to attacker's level | |
719 | send "&cRank + bonus (+7 point)" to attacker | |
720 | else: | |
721 | give attacker glowing 7 feather | |
722 | add 7 to attacker's level | |
723 | send "&cRank + bonus (+7 point)" to attacker | |
724 | else: | |
725 | give attacker glowing 6 feather | |
726 | add 6 to attacker's level | |
727 | send "&cRank + bonus (+6 point)" to attacker | |
728 | else: | |
729 | give attacker glowing 5 feather | |
730 | add 5 to attacker's level | |
731 | send "&cRank + bonus (+5 point)" to attacker | |
732 | else: | |
733 | give attacker glowing 4 feather | |
734 | add 4 to attacker's level | |
735 | send "&cRank + bonus (+4 point)" to attacker | |
736 | else: | |
737 | give attacker glowing 3 feather | |
738 | add 3 to attacker's level | |
739 | send "&cRank + bonus (+3 point)" to attacker | |
740 | else: | |
741 | give attacker glowing 2 feather | |
742 | add 2 to attacker's level | |
743 | send "&cRank + bonus (+2 point)" to attacker | |
744 | else: | |
745 | give attacker glowing 1 feather | |
746 | add 1 to attacker's level | |
747 | send "&cRank + bonus (+1 point)" to attacker | |
748 | ||
749 | if victim is a wither: | |
750 | give attacker glowing 2 feather | |
751 | send "&aHit!! (+2 point)" to attacker | |
752 | add 2 to attacker's level | |
753 | play "entity_arrow_hit_player" to attacker at volume 2 | |
754 | if attacker's tablist name contains "&a": | |
755 | give attacker glowing 1 feather | |
756 | add 1 to attacker's level | |
757 | send "&aVIP Rank bonus (+1 point)" to attacker | |
758 | if attacker's tablist name contains "[MVP": | |
759 | give attacker glowing 1 feather | |
760 | add 1 to attacker's level | |
761 | send "&bMVP Rank bonus (+1 point)" to attacker | |
762 | if attacker's tablist name contains "+": | |
763 | if attacker's tablist name contains "++": | |
764 | if attacker's tablist name contains "+++": | |
765 | if attacker's tablist name contains "++++": | |
766 | if attacker's tablist name contains "+++++": | |
767 | if attacker's tablist name contains "++++++": | |
768 | if attacker's tablist name contains "+++++++": | |
769 | if attacker's tablist name contains "++++++++": | |
770 | if attacker's tablist name contains "+++++++++": | |
771 | give attacker glowing 9 feather | |
772 | add 9 to attacker's level | |
773 | send "&cRank + bonus (+9 point)" to attacker | |
774 | else: | |
775 | give attacker glowing 8 feather | |
776 | add 8 to attacker's level | |
777 | send "&cRank + bonus (+7 point)" to attacker | |
778 | else: | |
779 | give attacker glowing 7 feather | |
780 | add 7 to attacker's level | |
781 | send "&cRank + bonus (+7 point)" to attacker | |
782 | else: | |
783 | give attacker glowing 6 feather | |
784 | add 6 to attacker's level | |
785 | send "&cRank + bonus (+6 point)" to attacker | |
786 | else: | |
787 | give attacker glowing 5 feather | |
788 | add 5 to attacker's level | |
789 | send "&cRank + bonus (+5 point)" to attacker | |
790 | else: | |
791 | give attacker glowing 4 feather | |
792 | add 4 to attacker's level | |
793 | send "&cRank + bonus (+4 point)" to attacker | |
794 | else: | |
795 | give attacker glowing 3 feather | |
796 | add 3 to attacker's level | |
797 | send "&cRank + bonus (+3 point)" to attacker | |
798 | else: | |
799 | give attacker glowing 2 feather | |
800 | add 2 to attacker's level | |
801 | send "&cRank + bonus (+2 point)" to attacker | |
802 | else: | |
803 | give attacker glowing 1 feather | |
804 | add 1 to attacker's level | |
805 | send "&cRank + bonus (+1 point)" to attacker | |
806 | ||
807 | if victim is a silverfish: | |
808 | give attacker glowing 5 feather | |
809 | send "&aHit!! (+5 point)" to attacker | |
810 | add 5 to attacker's level | |
811 | kill victim | |
812 | play "entity_arrow_hit_player" to attacker at volume 2 | |
813 | if attacker's tablist name contains "&a": | |
814 | give attacker glowing 1 feather | |
815 | add 1 to attacker's level | |
816 | send "&aVIP Rank bonus (+1 point)" to attacker | |
817 | if attacker's tablist name contains "[MVP": | |
818 | give attacker glowing 1 feather | |
819 | add 1 to attacker's level | |
820 | send "&bMVP Rank bonus (+1 point)" to attacker | |
821 | if attacker's tablist name contains "+": | |
822 | if attacker's tablist name contains "++": | |
823 | if attacker's tablist name contains "+++": | |
824 | if attacker's tablist name contains "++++": | |
825 | if attacker's tablist name contains "+++++": | |
826 | if attacker's tablist name contains "++++++": | |
827 | if attacker's tablist name contains "+++++++": | |
828 | if attacker's tablist name contains "++++++++": | |
829 | if attacker's tablist name contains "+++++++++": | |
830 | give attacker glowing 9 feather | |
831 | add 9 to attacker's level | |
832 | send "&cRank + bonus (+9 point)" to attacker | |
833 | else: | |
834 | give attacker glowing 8 feather | |
835 | add 8 to attacker's level | |
836 | send "&cRank + bonus (+7 point)" to attacker | |
837 | else: | |
838 | give attacker glowing 7 feather | |
839 | add 7 to attacker's level | |
840 | send "&cRank + bonus (+7 point)" to attacker | |
841 | else: | |
842 | give attacker glowing 6 feather | |
843 | add 6 to attacker's level | |
844 | send "&cRank + bonus (+6 point)" to attacker | |
845 | else: | |
846 | give attacker glowing 5 feather | |
847 | add 5 to attacker's level | |
848 | send "&cRank + bonus (+5 point)" to attacker | |
849 | else: | |
850 | give attacker glowing 4 feather | |
851 | add 4 to attacker's level | |
852 | send "&cRank + bonus (+4 point)" to attacker | |
853 | else: | |
854 | give attacker glowing 3 feather | |
855 | add 3 to attacker's level | |
856 | send "&cRank + bonus (+3 point)" to attacker | |
857 | else: | |
858 | give attacker glowing 2 feather | |
859 | add 2 to attacker's level | |
860 | send "&cRank + bonus (+2 point)" to attacker | |
861 | else: | |
862 | give attacker glowing 1 feather | |
863 | add 1 to attacker's level | |
864 | send "&cRank + bonus (+1 point)" to attacker | |
865 | ||
866 | if victim is a skeleton horse: | |
867 | give attacker glowing 5 feather | |
868 | send "&aHit!! (+5 point)" to attacker | |
869 | add 5 to attacker's level | |
870 | play "entity_arrow_hit_player" to attacker at volume 2 | |
871 | if attacker's tablist name contains "&a": | |
872 | give attacker glowing 1 feather | |
873 | add 1 to attacker's level | |
874 | send "&aVIP Rank bonus (+1 point)" to attacker | |
875 | if attacker's tablist name contains "[MVP": | |
876 | give attacker glowing 1 feather | |
877 | add 1 to attacker's level | |
878 | send "&bMVP Rank bonus (+1 point)" to attacker | |
879 | if attacker's tablist name contains "+": | |
880 | if attacker's tablist name contains "++": | |
881 | if attacker's tablist name contains "+++": | |
882 | if attacker's tablist name contains "++++": | |
883 | if attacker's tablist name contains "+++++": | |
884 | if attacker's tablist name contains "++++++": | |
885 | if attacker's tablist name contains "+++++++": | |
886 | if attacker's tablist name contains "++++++++": | |
887 | if attacker's tablist name contains "+++++++++": | |
888 | give attacker glowing 9 feather | |
889 | add 9 to attacker's level | |
890 | send "&cRank + bonus (+9 point)" to attacker | |
891 | else: | |
892 | give attacker glowing 8 feather | |
893 | add 8 to attacker's level | |
894 | send "&cRank + bonus (+7 point)" to attacker | |
895 | else: | |
896 | give attacker glowing 7 feather | |
897 | add 7 to attacker's level | |
898 | send "&cRank + bonus (+7 point)" to attacker | |
899 | else: | |
900 | give attacker glowing 6 feather | |
901 | add 6 to attacker's level | |
902 | send "&cRank + bonus (+6 point)" to attacker | |
903 | else: | |
904 | give attacker glowing 5 feather | |
905 | add 5 to attacker's level | |
906 | send "&cRank + bonus (+5 point)" to attacker | |
907 | else: | |
908 | give attacker glowing 4 feather | |
909 | add 4 to attacker's level | |
910 | send "&cRank + bonus (+4 point)" to attacker | |
911 | else: | |
912 | give attacker glowing 3 feather | |
913 | add 3 to attacker's level | |
914 | send "&cRank + bonus (+3 point)" to attacker | |
915 | else: | |
916 | give attacker glowing 2 feather | |
917 | add 2 to attacker's level | |
918 | send "&cRank + bonus (+2 point)" to attacker | |
919 | else: | |
920 | give attacker glowing 1 feather | |
921 | add 1 to attacker's level | |
922 | send "&cRank + bonus (+1 point)" to attacker | |
923 | ||
924 | if victim is slime: | |
925 | give attacker glowing feather | |
926 | give attacker glowing feather | |
927 | send "&aHit!! (+2 point)" to attacker | |
928 | add 2 to attacker's level | |
929 | kill victim | |
930 | play "entity_arrow_hit_player" to attacker at volume 2 | |
931 | if attacker's tablist name contains "&a": | |
932 | give attacker glowing 1 feather | |
933 | add 1 to attacker's level | |
934 | send "&aVIP Rank bonus (+1 point)" to attacker | |
935 | if attacker's tablist name contains "[MVP": | |
936 | give attacker glowing 1 feather | |
937 | add 1 to attacker's level | |
938 | send "&bMVP Rank bonus (+1 point)" to attacker | |
939 | if attacker's tablist name contains "+": | |
940 | if attacker's tablist name contains "++": | |
941 | if attacker's tablist name contains "+++": | |
942 | if attacker's tablist name contains "++++": | |
943 | if attacker's tablist name contains "+++++": | |
944 | if attacker's tablist name contains "++++++": | |
945 | if attacker's tablist name contains "+++++++": | |
946 | if attacker's tablist name contains "++++++++": | |
947 | if attacker's tablist name contains "+++++++++": | |
948 | give attacker glowing 9 feather | |
949 | add 9 to attacker's level | |
950 | send "&cRank + bonus (+9 point)" to attacker | |
951 | else: | |
952 | give attacker glowing 8 feather | |
953 | add 8 to attacker's level | |
954 | send "&cRank + bonus (+7 point)" to attacker | |
955 | else: | |
956 | give attacker glowing 7 feather | |
957 | add 7 to attacker's level | |
958 | send "&cRank + bonus (+7 point)" to attacker | |
959 | else: | |
960 | give attacker glowing 6 feather | |
961 | add 6 to attacker's level | |
962 | send "&cRank + bonus (+6 point)" to attacker | |
963 | else: | |
964 | give attacker glowing 5 feather | |
965 | add 5 to attacker's level | |
966 | send "&cRank + bonus (+5 point)" to attacker | |
967 | else: | |
968 | give attacker glowing 4 feather | |
969 | add 4 to attacker's level | |
970 | send "&cRank + bonus (+4 point)" to attacker | |
971 | else: | |
972 | give attacker glowing 3 feather | |
973 | add 3 to attacker's level | |
974 | send "&cRank + bonus (+3 point)" to attacker | |
975 | else: | |
976 | give attacker glowing 2 feather | |
977 | add 2 to attacker's level | |
978 | send "&cRank + bonus (+2 point)" to attacker | |
979 | else: | |
980 | give attacker glowing 1 feather | |
981 | add 1 to attacker's level | |
982 | send "&cRank + bonus (+1 point)" to attacker | |
983 | ||
984 | on death: | |
985 | if victim is a creeper: | |
986 | give attacker glowing 5 feather | |
987 | send "&aHit!! (+5 point)" to attacker | |
988 | add 5 to attacker's level | |
989 | loop living entities in radius 5 of victim: | |
990 | loop-entity is not player | |
991 | add 1 to {_count} | |
992 | kill the loop-entity | |
993 | create a safe explosion of force 3 at the victim | |
994 | send "&2Explosion's bonus (+%{_count}% point)" to attacker | |
995 | add {_count} to attacker's level | |
996 | loop {_count} times: | |
997 | give attacker glowing feather | |
998 | play "entity_arrow_hit_player" to attacker at volume 2 | |
999 | if attacker's tablist name contains "&a": | |
1000 | give attacker glowing 1 feather | |
1001 | add 1 to attacker's level | |
1002 | send "&aVIP Rank bonus (+1 point)" to attacker | |
1003 | if attacker's tablist name contains "[MVP": | |
1004 | give attacker glowing 1 feather | |
1005 | add 1 to attacker's level | |
1006 | send "&bMVP Rank bonus (+1 point)" to attacker | |
1007 | if attacker's tablist name contains "+": | |
1008 | if attacker's tablist name contains "++": | |
1009 | if attacker's tablist name contains "+++": | |
1010 | if attacker's tablist name contains "++++": | |
1011 | if attacker's tablist name contains "+++++": | |
1012 | if attacker's tablist name contains "++++++": | |
1013 | if attacker's tablist name contains "+++++++": | |
1014 | if attacker's tablist name contains "++++++++": | |
1015 | if attacker's tablist name contains "+++++++++": | |
1016 | give attacker glowing 9 feather | |
1017 | add 9 to attacker's level | |
1018 | send "&cRank + bonus (+9 point)" to attacker | |
1019 | else: | |
1020 | give attacker glowing 8 feather | |
1021 | add 8 to attacker's level | |
1022 | send "&cRank + bonus (+7 point)" to attacker | |
1023 | else: | |
1024 | give attacker glowing 7 feather | |
1025 | add 7 to attacker's level | |
1026 | send "&cRank + bonus (+7 point)" to attacker | |
1027 | else: | |
1028 | give attacker glowing 6 feather | |
1029 | add 6 to attacker's level | |
1030 | send "&cRank + bonus (+6 point)" to attacker | |
1031 | else: | |
1032 | give attacker glowing 5 feather | |
1033 | add 5 to attacker's level | |
1034 | send "&cRank + bonus (+5 point)" to attacker | |
1035 | else: | |
1036 | give attacker glowing 4 feather | |
1037 | add 4 to attacker's level | |
1038 | send "&cRank + bonus (+4 point)" to attacker | |
1039 | else: | |
1040 | give attacker glowing 3 feather | |
1041 | add 3 to attacker's level | |
1042 | send "&cRank + bonus (+3 point)" to attacker | |
1043 | else: | |
1044 | give attacker glowing 2 feather | |
1045 | add 2 to attacker's level | |
1046 | send "&cRank + bonus (+2 point)" to attacker | |
1047 | else: | |
1048 | give attacker glowing 1 feather | |
1049 | add 1 to attacker's level | |
1050 | send "&cRank + bonus (+1 point)" to attacker | |
1051 | ||
1052 | on spawn: | |
1053 | event-entity is slime | |
1054 | wait a tick | |
1055 | if Name of event-entity is not set: | |
1056 | apply levitation -4 to the event-entity for 999 minutes | |
1057 | ||
1058 | on death: | |
1059 | if victim is a skeleton horse: | |
1060 | give attacker glowing 5 feather | |
1061 | send "&aHit!! (+5 point)" to attacker | |
1062 | add 5 to attacker's level | |
1063 | set {_loop} to random integer between 4 and 7 | |
1064 | loop {_loop} times: | |
1065 | spawn 1 slime at victim | |
1066 | strike lightning effect at the victim | |
1067 | play "entity_arrow_hit_player" to attacker at volume 2 | |
1068 | if attacker's tablist name contains "&a": | |
1069 | give attacker glowing 1 feather | |
1070 | add 1 to attacker's level | |
1071 | send "&aVIP Rank bonus (+1 point)" to attacker | |
1072 | if attacker's tablist name contains "[MVP": | |
1073 | give attacker glowing 1 feather | |
1074 | add 1 to attacker's level | |
1075 | send "&bMVP Rank bonus (+1 point)" to attacker | |
1076 | if attacker's tablist name contains "+": | |
1077 | if attacker's tablist name contains "++": | |
1078 | if attacker's tablist name contains "+++": | |
1079 | if attacker's tablist name contains "++++": | |
1080 | if attacker's tablist name contains "+++++": | |
1081 | if attacker's tablist name contains "++++++": | |
1082 | if attacker's tablist name contains "+++++++": | |
1083 | if attacker's tablist name contains "++++++++": | |
1084 | if attacker's tablist name contains "+++++++++": | |
1085 | give attacker glowing 9 feather | |
1086 | add 9 to attacker's level | |
1087 | send "&cRank + bonus (+9 point)" to attacker | |
1088 | else: | |
1089 | give attacker glowing 8 feather | |
1090 | add 8 to attacker's level | |
1091 | send "&cRank + bonus (+7 point)" to attacker | |
1092 | else: | |
1093 | give attacker glowing 7 feather | |
1094 | add 7 to attacker's level | |
1095 | send "&cRank + bonus (+7 point)" to attacker | |
1096 | else: | |
1097 | give attacker glowing 6 feather | |
1098 | add 6 to attacker's level | |
1099 | send "&cRank + bonus (+6 point)" to attacker | |
1100 | else: | |
1101 | give attacker glowing 5 feather | |
1102 | add 5 to attacker's level | |
1103 | send "&cRank + bonus (+5 point)" to attacker | |
1104 | else: | |
1105 | give attacker glowing 4 feather | |
1106 | add 4 to attacker's level | |
1107 | send "&cRank + bonus (+4 point)" to attacker | |
1108 | else: | |
1109 | give attacker glowing 3 feather | |
1110 | add 3 to attacker's level | |
1111 | send "&cRank + bonus (+3 point)" to attacker | |
1112 | else: | |
1113 | give attacker glowing 2 feather | |
1114 | add 2 to attacker's level | |
1115 | send "&cRank + bonus (+2 point)" to attacker | |
1116 | else: | |
1117 | give attacker glowing 1 feather | |
1118 | add 1 to attacker's level | |
1119 | send "&cRank + bonus (+1 point)" to attacker | |
1120 | ||
1121 | ||
1122 | on death: | |
1123 | victim is giant | |
1124 | if victim's helmet is golden_helmet: | |
1125 | if damage cause is not void: | |
1126 | if {mode} is not set: | |
1127 | set {_crate} to random integer between 1 and 111 | |
1128 | if {_crate} is between 1 and 20: | |
1129 | execute console command "/modechange1" | |
1130 | if {_crate} is between 21 and 40: | |
1131 | execute console command "/modechange2" | |
1132 | if {_crate} is between 41 and 60: | |
1133 | execute console command "/modechange3" | |
1134 | if {_crate} is between 61 and 80: | |
1135 | execute console command "/modechange4" | |
1136 | # if {_crate} is 81: | |
1137 | # execute console command "/modechange5" | |
1138 | if {_crate} is between 81 and 91: | |
1139 | execute console command "/modechange7" | |
1140 | if {_crate} is between 92 and 111: | |
1141 | execute console command "/modechange8" | |
1142 | on command "/modechange1": | |
1143 | cancel event | |
1144 | set {mode} to "pig" | |
1145 | loop all players in "world": | |
1146 | send "&bSpecial mode &d&l[PIG RUSH]" to loop-player | |
1147 | loop all players in "world": | |
1148 | play "entity_enderdragon_growl" to loop-player at volume 5 with pitch 0.1 | |
1149 | wait 60 seconds | |
1150 | if {mode} is "pig": | |
1151 | clear {mode} | |
1152 | loop all players in "world": | |
1153 | send "&d&l[PIG RUSH]&r&b is finish!!" to loop-player | |
1154 | loop all players in "world": | |
1155 | play "ui_toast_challenge_complete" to loop-player at volume 5 with pitch 1 | |
1156 | on command "/modechange2": | |
1157 | cancel event | |
1158 | set {mode} to "giant" | |
1159 | loop all players in "world": | |
1160 | send "&bSpecial mode &2&l[GIANT RUSH]" to loop-player | |
1161 | loop all players in "world": | |
1162 | play "entity_enderdragon_growl" to loop-player at volume 5 with pitch 0.1 | |
1163 | wait 60 seconds | |
1164 | if {mode} is "giant": | |
1165 | clear {mode} | |
1166 | loop all players in "world": | |
1167 | send "&2&l[GIANT RUSH]&r&b is finish!!" to loop-player | |
1168 | loop all players in "world": | |
1169 | play "ui_toast_challenge_complete" to loop-player at volume 5 with pitch 1 | |
1170 | on command "/modechange3": | |
1171 | cancel event | |
1172 | set {mode} to "villager" | |
1173 | loop all players in "world": | |
1174 | send "&bSpecial mode &3&l[VILLAGER RUSH]" to loop-player | |
1175 | loop all players in "world": | |
1176 | play "entity_enderdragon_growl" to loop-player at volume 5 with pitch 0.1 | |
1177 | wait 60 seconds | |
1178 | if {mode} is "villager": | |
1179 | clear {mode} | |
1180 | loop all players in "world": | |
1181 | send "&3&l[VILLAGER RUSH]&r&b is finish!!" to loop-player | |
1182 | loop all players in "world": | |
1183 | play "ui_toast_challenge_complete" to loop-player at volume 5 with pitch 1 | |
1184 | on command "/modechange4": | |
1185 | cancel event | |
1186 | set {mode} to "squid" | |
1187 | loop all players in "world": | |
1188 | send "&bSpecial mode &9&l[SQUID RUSH]" to loop-player | |
1189 | loop all players in "world": | |
1190 | play "entity_enderdragon_growl" to loop-player at volume 5 with pitch 0.1 | |
1191 | wait 60 seconds | |
1192 | if {mode} is "squid": | |
1193 | clear {mode} | |
1194 | loop all players in "world": | |
1195 | send "&9&l[SQUID RUSH]&r&b is finish!!" to loop-player | |
1196 | loop all players in "world": | |
1197 | play "ui_toast_challenge_complete" to loop-player at volume 5 with pitch 1 | |
1198 | on command "/modechange5": | |
1199 | cancel event | |
1200 | set {mode} to "super" | |
1201 | loop 3 times: | |
1202 | wait a seconds | |
1203 | set {_chicken} to random element out of {chicken::*} | |
1204 | strike lightning effect at {_chicken} | |
1205 | loop all players in "world": | |
1206 | send "&5Special mode &4&l[????]" to loop-player | |
1207 | loop all players in "world": | |
1208 | play "entity_wither_death" to loop-player at volume 100 with pitch 0.5 | |
1209 | wait 60 seconds | |
1210 | if {mode} is "super": | |
1211 | clear {mode} | |
1212 | loop all players in "world": | |
1213 | send "&4&l[????]&r&5 is finish!!" to loop-player | |
1214 | loop all players in "world": | |
1215 | play "ui_toast_challenge_complete" to loop-player at volume 5 with pitch 1 | |
1216 | on command "/modechange6": | |
1217 | cancel event | |
1218 | set {mode} to "chicken" | |
1219 | loop all players in "world": | |
1220 | send "&bSpecial mode &a&l[CHICKEN RUSH]" to loop-player | |
1221 | loop all players in "world": | |
1222 | play "entity_enderdragon_growl" to loop-player at volume 5 with pitch 0.1 | |
1223 | wait 60 seconds | |
1224 | if {mode} is "chicken": | |
1225 | clear {mode} | |
1226 | loop all players in "world": | |
1227 | send "&a&l[CHICKEN RUSH]&r&b is finish!!" to loop-player | |
1228 | loop all players in "world": | |
1229 | play "ui_toast_challenge_complete" to loop-player at volume 5 with pitch 1 | |
1230 | ||
1231 | on command "/modechange7": | |
1232 | cancel event | |
1233 | loop 3 times: | |
1234 | wait a seconds | |
1235 | set {_chicken} to random element out of {chicken::*} | |
1236 | strike lightning effect at {_chicken} | |
1237 | loop all players in "world": | |
1238 | send "&dSpecial mode &4&l[WITHER ADVENT]" to loop-player | |
1239 | loop all players in "world": | |
1240 | play "entity_enderdragon_growl" to loop-player at volume 5 with pitch 0.1 | |
1241 | spawn a wither at {loc} | |
1242 | set the last spawned entity's max health to 200 | |
1243 | ||
1244 | on command "/modechange8": | |
1245 | cancel event | |
1246 | set {mode} to "silverfish" | |
1247 | loop all players in "world": | |
1248 | send "&bSpecial mode &7&l[silverfish RUSH]" to loop-player | |
1249 | loop all players in "world": | |
1250 | play "entity_enderdragon_growl" to loop-player at volume 5 with pitch 0.1 | |
1251 | wait 60 seconds | |
1252 | if {mode} is "silverfish": | |
1253 | clear {mode} | |
1254 | loop all players in "world": | |
1255 | send "&7&l[silverfish RUSH]&r&b is finish!!" to loop-player | |
1256 | loop all players in "world": | |
1257 | play "ui_toast_challenge_complete" to loop-player at volume 5 with pitch 1 | |
1258 | ||
1259 | on death: | |
1260 | victim is a wither | |
1261 | loop all players in "world": | |
1262 | send "&4&l[WITHER ADVENT]&r&d is finish!!" to loop-player | |
1263 | give nether_star to loop-player | |
1264 | loop all players in "world": | |
1265 | play "ui_toast_challenge_complete" to loop-player at volume 5 with pitch 1 | |
1266 | give attacker glowing 400 feather | |
1267 | send "&aHit!! (+400 point)" to attacker | |
1268 | broadcast "&6%attacker% &5wither&6 kill!" | |
1269 | add 400 to attacker's level | |
1270 | play "entity_arrow_hit_player" to attacker at volume 2 | |
1271 | ||
1272 | on damage: | |
1273 | victim is a wither | |
1274 | set {_do} to random integer between 1 and 4 | |
1275 | if {_do} is 1: | |
1276 | push victim upwards at speed 1.6 | |
1277 | push victim in direction of attacker with force 0.9 | |
1278 | if {_do} is 2: | |
1279 | push victim upwards at speed 1 | |
1280 | push victim forwards at speed 3 | |
1281 | if {_do} is 3: | |
1282 | loop 2 times: | |
1283 | push victim upwards at speed 2 | |
1284 | if {_do} is 4: | |
1285 | push victim in direction of attacker with force -2 | |
1286 | set {_se} to random integer between 1 and 3 | |
1287 | if {_se} is 1: | |
1288 | wait a tick | |
1289 | if {_se} is 2: | |
1290 | wait 1 seconds | |
1291 | if {_se} is 3: | |
1292 | wait 2 seconds | |
1293 | teleport victim to {loc} | |
1294 | ||
1295 | on damage: | |
1296 | victim is a wither | |
1297 | wait a tick | |
1298 | set {_hp} to victim's health | |
1299 | set the victim's max health to {_hp} | |
1300 | ||
1301 | on command "/witherlocset": | |
1302 | cancel event | |
1303 | set {loc} to location of player | |
1304 | ||
1305 | on command "/worldspawnset": | |
1306 | cancel event | |
1307 | set {spawn} to location of player | |
1308 | ||
1309 | on break: | |
1310 | if player is not op: | |
1311 | cancel event | |
1312 | ||
1313 | on projectile hit: | |
1314 | projectile is arrow | |
1315 | kill projectile | |
1316 | ||
1317 | on rightclick: | |
1318 | Name of player's tool is "&2雪国の杖" | |
1319 | cancel event | |
1320 | damage player's tool by 5 | |
1321 | set {_tool} to player's tool | |
1322 | set player's tool to air | |
1323 | loop 3 times: | |
1324 | shoot a snowball from the player at speed 1.4 | |
1325 | shoot a snowball from the player at speed 1.3 | |
1326 | shoot a snowball from the player at speed 1.2 | |
1327 | play "entity_snowman_shoot" to player at volume 0.5 with pitch 0.1 | |
1328 | wait 3 ticks | |
1329 | give player {_tool} | |
1330 | ||
1331 | on damage: | |
1332 | victim is not player | |
1333 | set attacker's tablist name to "%attacker's display name% &e%attacker's level%" | |
1334 | ||
1335 | on shoot: | |
1336 | set shooter's tablist name to "%shooter's display name% &e%shooter's level%" | |
1337 | set {level::%shooter's uuid%} to shooter's level | |
1338 | ||
1339 | on join: | |
1340 | if {spawn} is set: | |
1341 | teleport player to {spawn} | |
1342 | ||
1343 | on projectile hit: | |
1344 | set shooter's tablist name to "%shooter's display name% &e%shooter's level%" | |
1345 | ||
1346 | on entity target: | |
1347 | world is "world" | |
1348 | cancel event |