Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click on a sign:
- line 1 of the clicked block is "&9==&2CheckPoint&9=="
- line 2 of the clicked block is "%region at player%"
- line 3 of the clicked block is "&8player"
- line 4 of the clicked block is "&9==&4RightClick&9==":
- player is on ground
- set {%region at player%.%player%.cp} to location of player
- message "&aチェックポイントを設定しました"
- play sound "BLOCK_NOTE_BASS" to player with volume 1 and pitch 10
- command /cp <text>:
- trigger:
- teleport player to {%arg%.%player%.cp}
- on sign change:
- line 1 is "cp"
- set line 4 to "&9==&4RightClick&9=="
- set line 1 to "&9==&2CheckPoint&9=="
- set line 3 to "&8player"
- set line 2 to "%region at player%"
- on rightclick with fire charge:
- player's gamemode is adventure
- teleport player to {%region at player%.%player%.cp}
- command /item:
- trigger:
- if player do not have fire charge named "&r&aチェックポイントへ":
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement