Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick on sign:
- line 2 of clicked block is "checkpoint"
- line 3 of clicked block is "[rightclick]"
- set {checkpoint1.%player%} to location of player
- message "&62つ目のチェックポイントを設定しました!"
- if player has permission "skript.admin":
- message "&7Location of player"
- on rightclick with nether star:
- cancel event
- if clicked block is sign:
- stop
- if {checkpoint1.%player%} is set:
- teleport player to {checkpoint1.%player%}
- stop
- else:
- message "&c2つ目のチェックポイントが設定されていません!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement