SHARE
TWEET

Untitled

a guest May 20th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on right click on a sign:
  2.     line 1 of the clicked block is "&cCheckPoint"
  3.     line 2 of the clicked block is "%region at player%"
  4.     line 3 of the clicked block is "&8player"
  5.     line 4 of the clicked block is "&9==&4RightClick&9==":
  6.         player is on ground
  7.         set {%region at player%.%player%.cp} to location of player
  8.         message "&aSet CheckPoint。&7({%region at player%.%player%.cp})"
  9.         if {blockcp.%player%} is equal to 2:
  10.             set {blockcp.%player%} to 1
  11.             stop
  12.         if {blockcp.%player%} is not set:
  13.             set {blockcp.%player%} to 1
  14.             stop
  15.  
  16. on right click on a sign:
  17.     line 1 of the clicked block is "&2CheckPoint"
  18.     line 2 of the clicked block is "%region at player%"
  19.     line 3 of the clicked block is "&8Block"
  20.     line 4 of the clicked block is "&9==&4RightClick&9==":
  21.         set {%region at player%.%player%.blockcp} to location of clicked block
  22.         message "&e&mチェックポイントを設定しました。&7({%region at player%.%player%.blockcp})"
  23.         if {blockcp.%player%} is not set:
  24.             set {blockcp.%player%} to 2
  25.             stop
  26.         if {blockcp.%player%} is equal to 1:
  27.             set {blockcp.%player%} to 2
  28.             stop
  29.  
  30. on sign change:
  31.     line 1 is "cp"
  32.     set line 4 to "&9==&4RightClick&9=="
  33.     set line 1 to "&2CheckPoint"
  34.     set line 3 to "&8player"
  35.     set line 2 to "%region at player%"
  36.     message "&a[CP]&8を設置しました"
  37.     message "&a[CP]&e固定cpにするには2行目にblockと打ちます"
  38.  
  39. on rightclick with fire charge:
  40.     player's gamemode is adventure
  41.     if {blockcp.%player%} is equal to 1:
  42.         teleport player to {%region at player%.%player%.cp}
  43.     if {blockcp.%player%} is equal to 2:
  44.         teleport player to {%region at player%.%player%.blockcp}
  45.     if {blockcp.%player%} is not set:
  46.         set {blockcp.%player%} to 1
  47.  
  48.  
  49. on sign change:
  50.     line 2 is "block"
  51.     set line 4 to "&9==&4RightClick&9=="
  52.     set line 1 to "&2CheckPoint"
  53.     set line 3 to "&8Block"
  54.     set line 2 to "%region at player%"
  55.  
  56. on walking on sponge:
  57.     player's gamemode is adventure
  58.     if {blockcp.%player%} is equal to 1:
  59.         teleport player to {%region at player%.%player%.cp}
  60.     if {blockcp.%player%} is equal to 2:
  61.         teleport player to {%region at player%.%player%.blockcp}
  62.     if {blockcp.%player%} is not set:
  63.         set {blockcp.%player%} to 1
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