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 "&f============"
- line 2 of the clicked block is "&e<<CheckPoint>>"
- line 3 of the clicked block is "&b<<Rightclick>>"
- line 4 of the clicked block is "&f============":
- player is on ground
- set {%region at player%.%player%.cp} to location of player
- message "&e<<チェックポイントを設定しました!!>>"
- play sound "BLOCK_NOTE_CHIME" to player with volume 3 and pitch 10
- if {cp.%player%} is equal to 2:
- set {cp.%player%} to 1
- stop
- on right click on a sign:
- line 1 of the clicked block is "&f============"
- line 2 of the clicked block is "&b<<CheckPoint>>"
- line 3 of the clicked block is "&e<<Rightclick>>"
- line 4 of the clicked block is "&f============":
- set {%region at player%.%player%.blockcp} to location of clicked block
- message "&e<<チェックポイントを設定しました!!>>"
- play sound "BLOCK_NOTE_CHIME" to player with volume 3 and pitch 10
- if {blockcp.%player%} is not set:
- set {blockcp.%player%} to 2
- stop
- on sign change:
- line 1 is "cp"
- set line 4 to "&f============"
- set line 1 to "&f============"
- set line 3 to "&b<<Rightclick>>"
- set line 2 to "&e<<CheckPoint>>"
- on rightclick with clock:
- if {cp.%player%} is equal to 1:
- teleport player to {%region at player%.%player%.cp}
- if {blockcp.%player%} is equal to 2:
- teleport player to {%region at player%.%player%.blockcp}
- command /cp:
- trigger:
- if player do not have clock named "Checkpoint":
- give clock named "&l&e<<Checkpoint>>" to player
- on sign change:
- line 1 is "air"
- set line 4 to "&f============"
- set line 1 to "&f============"
- set line 3 to "&e<<Rightclick>>"
- set line 2 to "&b<<CheckPoint>>"
Add Comment
Please, Sign In to add comment