Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick:
- block is a sign
- line 2 of clicked block is "checkpoint"
- line 3 of clicked block is "[rightclick]"
- set {checkpoint.%player%.%world%} to location of player
- message "&6チェックポイントを設定しました!"
- play "NOTE_PLING" specifically to player with pitch 2 and volume 1
- log "%player% clicked checkpoint sign at %location of player% in %world%" to "ckeckpoint/checkpoint.log"
- if player has permission "skript.admin":
- message "&7Location of player"
- on rightclick with fire charge:
- cancel event
- if clicked block is sign:
- stop
- if {checkpoint.%player%.%world%} is set:
- teleport player to {checkpoint.%player%.%world%}
- else:
- message "&cチェックポイントが設定されていません!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement