View difference between Paste ID: GcTR0Wty and BwMwts3s
SHOW: | | - or go back to the newest paste.
1
on death of player:
2
    remove 1 from {game::*}
3
    if number of {game::*} > 1:
4
        broadcast "&3&l残り%{game::*}%人!"
5-
command /bow start:
5+
    remove victim from {players::*}
6
    execute console command "/scoreboard teams leave game %victim%"
7
    execute console command "/clear %victim%"
8
    set victim's gamemode to spectator
9-
        execute console command "/tp @a -245.00 7.00 -1916.00"
9+
    if number of {game::*} = 1:
10
        broadcast "&6&l%{players::*}%の優勝!"
11
        broadcast "&5&l勝者には賞金の&3&l¥%arg%&5&lを渡します"
12
        add arg to {%player%coins}
13
        delete {players::*}
14
        delete {game::*}
15
        set player's gamemode to adventure
16
        command "/tp @a -74.00 4.00 386.00"
17
command /bowstart <number>:
18
    trigger:
19
        set {game::*} to 0
20
        loop all players:
21
            add 1 to {game::*}
22-
        command "/give @a minecraft:bow 1 0 {Unbreakable:1,display:{Name:""&9&lPvP用弓""},ench:[{id:48,lvl:10000},{id:51,lvl:1}]}"
22+
23-
		command "/replaceitem entity @a slot.armor.chest minecraft:arrow 1 0 {display:{Name:"&carrow",Lore:["&6とらないで!"]}}"
23+
        broadcast "&e今回の賞金は&3&l¥%arg%です"
24-
        command "/scoreboard teams join game @a"
24+
25
        execute console command "/tp @a -187.00 6.00 532.00 "
26
        execute console command "/effect @a minecraft:invisibility 5 10 true"
27
        execute console command "/effect @a minecraft:wither 5 100 true"
28
        broadcast "&6&lStart&cまで.."
29
        execute console command "/scoreboard teams join game @a"
30
        command "clear @a"
31
        command "gamemode 2 @a"
32
        wait 2 seconds
33
        broadcast "&e3.."
34
        wait 1 seconds
35
        broadcast "&42.."
36
        wait 1 seconds
37
        broadcast "&91.."
38
        wait 1 seconds
39
        broadcast "&6&l START!!!"
40
        execute console command "/give @a minecraft:bow 1 0 {Unbreakable:1,display:{Name:""&9&lPvP用弓""},ench:[{id:48,lvl:10000},{id:51,lvl:1}]}"
41
        execute console command "/give @a minecraft:arrow 1 0 {display:{Name:""&cArrow""}}"
42
        execute console command "/scoreboard teams join game @a"
43
        loop all players:
44
            add loop-player to {players::*}