Advertisement
TE1TO9_

Untitled

Apr 5th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.60 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.     player is on ground
  6.     set {checkpoint.%player%} to location of player
  7.     message "&6チェックポイントを設定しました!"
  8.    if player has permission "skript.admin":
  9.         message "&7Location of player"
  10.  
  11. on rightclick with fire charge:
  12.     cancel event
  13.     if clicked block is sign:
  14.         stop
  15.     if {checkpoint.%player%} is set:
  16.         teleport player to {checkpoint.%player%}
  17.     else:
  18.         message "&cチェックポイントが設定されていません!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement