daily pastebin goal
33%
SHARE
TWEET

Untitled

genya Sep 25th, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on right click on sign:
  2.     line 1 of clicked block is "&a-&1=&8<<&2CheckPoint&8>>&1=&a-"
  3.     line 2 of clicked block is "%region at player%"
  4.     line 3 of clicked block is "&8[player]"
  5.     line 4 of clicked block is "&a-&1=&8<<&4RightClick&8>>&1=&a-"
  6.     if player is on ground:
  7.         set {_cooldown} to difference between {cp.%player%.lastused} and now
  8.         if {_cooldown} is less than 1 seconds:
  9.             send "  &c&l<&f&lCP&c&l> &c&lエラー &c>&4> &c1秒以上開けて設定してください"
  10.             stop
  11.         set {checkpoint.%region at player%.%player%} to location of player
  12.         set {cp.%player%.lastused} to now
  13.         send "  &2&l<&f&lCP&2&l>  &a>&2>  &aチェックポイントを設定しました"
  14.         execute console command "playsound block.note.pling master %player% ~ ~ ~ 1 1 1"
  15.         wait 4 tick
  16.         execute console command "playsound block.note.pling master %player% ~ ~ ~ 1 2 1"
  17.     else:
  18.         send "  &c&l<&f&lCP&c&l> &c&lエラー &c>&4> &c空中でチェックポイントを設定することはできません!"
  19. on sign change:
  20.     line 1 is "cp"
  21.     set line 4 to "&a-&1=&8<<&4RightClick&8>>&1=&a-"
  22.     set line 3 to "&8[player]"
  23.     set line 2 to "%region at player%"
  24.     set line 1 to "&a-&1=&8<<&2CheckPoint&8>>&1=&a-"
  25. on rightclick with fire charge:
  26.     player's gamemode is adventure
  27.     teleport player to {checkpoint.%region at player%.%player%}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top