SHOW:
|
|
- or go back to the newest paste.
1 | options: | |
2 | Start-Permission: admin | |
3 | ||
4 | on first join: | |
5 | execute console command "/item %player%" | |
6 | ||
7 | command /item <player>: | |
8 | executable by: console | |
9 | trigger: | |
10 | set slot 1 of player's hotbar to tnt named "&c参加" | |
11 | set slot 3 of player's hotbar to chest named "&a" | |
12 | ||
13 | command /start: | |
14 | permission: {@Start-Permission} | |
15 | trigger: | |
16 | delete {oni::*} | |
17 | set {_players::*} to all players | |
18 | loop 3 times: | |
19 | {_players::*} is set | |
20 | set {_p} to random element out of {_players::*} | |
21 | add {_p} to {oni::*} | |
22 | - | send "&a&l=========================" |
22 | + | |
23 | broadcast "&d今回の鬼は&c%{oni::*}% です!!" | |
24 | loop all players: | |
25 | if {oni::*} contains player: | |
26 | stop | |
27 | else: | |
28 | - | send "&a&l=========================" |
28 | + | |
29 | equip {oni::*} with tnt with nbt "{ench:[{""id:27"",""lvl:1""}]}" | |
30 | command "/tp @a %座標%" | |
31 | send "&a&l================================" | |
32 | send "&e&lTNT TAG" | |
33 | send "&6鬼はTNTを逃げに擦りつけましょう!!" | |
34 | send "&6逃げは鬼にやられないように、隠れたり逃げたりしましょう!!" | |
35 | send "&c&l敵陣営とのチーミングは禁止行為です。(&4BAN対象)" | |
36 | send "&6それでは、頑張ってください!!" | |
37 | send "&a&l================================" | |
38 | set {kaisi} to 1 | |
39 | add 45 to {time} | |
40 | wait 45 second | |
41 | loop all players: | |
42 | if {oni::*} contains loop-player: | |
43 | command "/particle minecraft:explosion ~ ~ ~ 2 2 2 1 100 force %loop-player%" | |
44 | message "&e%loop-player%は爆発した!!" | |
45 | ||
46 | every tick: | |
47 | if {kaisi} is 1: | |
48 | loop all players: | |
49 | if {oni:*} contains loop-player: | |
50 | send action bar "&c残り%{time}%秒で爆発します!!あなたは今鬼です!!" to loop-player | |
51 | if {nige::*} contains loop-player: | |
52 | send action bar "&a残り%{time}%秒で爆発します!!あなたは今逃げです!!" to loop-player |