SHOW:
|
|
- or go back to the newest paste.
1 | on right click on a sign: | |
2 | - | line 1 of the clicked block is "&5CheckPoint" |
2 | + | line 1 of the clicked block is "&3&l------------------------" |
3 | - | line 2 of the clicked block is "%region at player%" |
3 | + | line 2 of the clicked block is "&e&lSpawnpoint" |
4 | - | line 3 of the clicked block is "&8player" |
4 | + | line 3 of the clicked block is "&a&l=Rightclick=" |
5 | - | line 4 of the clicked block is "&9==&4RightClick&9==": |
5 | + | line 4 of the clicked block is "&3&l------------------------": |
6 | player is on ground | |
7 | set {%region at player%.%player%.cp} to location of player | |
8 | - | message "&a[CP]&fチェックポイントを設定しました" |
8 | + | message "&8[&b&lParkour&8&l]&aCheckpoint succesfully saved." |
9 | - | play sound "BLOCK_NOTE_BASS" to player with volume 1 and pitch 10 |
9 | + | play sound "entity_firework_twinkle" to player with volume 1 and pitch 10 |
10 | if {blockcp.%player%} is equal to 2: | |
11 | set {blockcp.%player%} to 1 | |
12 | stop | |
13 | if {blockcp.%player%} is not set: | |
14 | set {blockcp.%player%} to 1 | |
15 | stop | |
16 | ||
17 | on right click on a sign: | |
18 | - | line 1 of the clicked block is "&5CheckPoint" |
18 | + | line 1 of the clicked block is "&3&l------------------------" |
19 | - | line 2 of the clicked block is "%region at player%" |
19 | + | line 2 of the clicked block is "&e&lSpawnpoint" |
20 | - | line 3 of the clicked block is "&8Block" |
20 | + | line 3 of the clicked block is "&a&l=Rightclick=" |
21 | - | line 4 of the clicked block is "&9==&4RightClick&9==": |
21 | + | line 4 of the clicked block is "&3&l------------------------": |
22 | set {%region at player%.%player%.blockcp} to location of clicked block | |
23 | - | message "&a[CP]&fチェックポイントを設定しました" |
23 | + | message "&8[&b&lParkour&8&l]&aCheckpoint succesfully saved." |
24 | - | play sound "BLOCK_NOTE_BASS" to player with volume 1 and pitch 10 |
24 | + | play sound "entity_firework_twinkle" to player with volume 1 and pitch 10 |
25 | if {blockcp.%player%} is not set: | |
26 | set {blockcp.%player%} to 2 | |
27 | stop | |
28 | if {blockcp.%player%} is equal to 1: | |
29 | set {blockcp.%player%} to 2 | |
30 | stop | |
31 | ||
32 | command /cp <text>: | |
33 | trigger: | |
34 | teleport player to {%arg%.%player%.cp} | |
35 | ||
36 | on sign change: | |
37 | line 1 is "cp" | |
38 | - | set line 4 to "&9==&4RightClick&9==" |
38 | + | set line 1 to "&3&l------------------------" |
39 | - | set line 1 to "&5CheckPoint" |
39 | + | set line 2 to "&e&lSpawnpoint" |
40 | - | set line 3 to "&8player" |
40 | + | set line 3 to "&a&l=Rightclick=" |
41 | - | set line 2 to "%region at player%" |
41 | + | set line 4 to "&3&l------------------------": |
42 | message "&a[CP]&fcpを設置しました" | |
43 | message "&a[CP]&f固定cpにするには2行目にblockと打ちます" | |
44 | ||
45 | - | on rightclick with fire charge: |
45 | + | on rightclick with emerald: |
46 | player's gamemode is adventure | |
47 | if {blockcp.%player%} is equal to 1: | |
48 | teleport player to {%region at player%.%player%.cp} | |
49 | if {blockcp.%player%} is equal to 2: | |
50 | teleport player to {%region at player%.%player%.blockcp} | |
51 | if {blockcp.%player%} is not set: | |
52 | set {blockcp.%player%} to 1 | |
53 | ||
54 | command /item: | |
55 | trigger: | |
56 | - | if player do not have fire charge named "&r&aチェックポイントへ": |
56 | + | if player do not have emerald named "&a&lcheckpoint": |
57 | - | give fire charge named "&r&aチェックポイントへ" to player |
57 | + | give emerald named "&a&lcheckpoint" to player |