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]"
- player is on ground
- set {checkpoint.%player1%} to location of player
- message "&6チェックポイントを設定しました!"
- if player has permission "skript.admin":
- message "&7Location of player not jump"
- on leftclick with fire charge:
- cancel event
- if clicked block is sign:
- stop
- if {checkpoint.%player1%} is set:
- teleport player to {checkpoint.%player1%}
- else:
- message "&cチェックポイントが設定されていません!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement