Advertisement
TE1TO9_

Untitled

Mar 30th, 2019
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.73 KB | None | 0 0
  1. on rightclick:
  2.     block is a sign
  3.     line 2 of clicked block is "checkpoint"
  4.     line 3 of clicked block is "[rightclick]"
  5.     set {checkpoint.%player%.%world%} to location of player
  6.     message "&6チェックポイントを設定しました!"
  7.     play "NOTE_PLING" specifically to player with pitch 2 and volume 1
  8.     log "%player% clicked checkpoint sign at %location of player% in %world%" to "ckeckpoint/checkpoint.log"
  9.     if player has permission "skript.admin":
  10. message "&7Location of player"
  11. on rightclick with fire charge:
  12.     cancel event
  13.     if clicked block is sign:
  14.         stop
  15.     if {checkpoint.%player%.%world%} is set:
  16.         teleport player to {checkpoint.%player%.%world%}
  17.     else:
  18. message "&cチェックポイントが設定されていません!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement