Advertisement
ALPHADOIDE

Untitled

Apr 6th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. command /spawnset:
  2. permission:sk
  3. trigger:
  4. set {spawn} to location of player
  5.  
  6. on respawn:
  7. {jail%player%} is not set
  8. {spawn%player%} is 1
  9. teleport the player to {spawn}
  10.  
  11. on join:
  12. if {point::%player%} is not set:
  13. set {spawn%player%} to 1
  14. set {break::%player%} to 0
  15. set {point::%player%} to 0
  16. set {upgrade%player%} to 1
  17. set {next%player%} to 32
  18. broadcast "&d&l[FirstJoin]:%player%"
  19. give wooden pickaxe named "&2[Level1] &l&d木ピッケル" with lore "&e石を採掘可能" to player
  20. play sound "ENTITY_FIREWORK_LAUNCH" to player with volume 2 and pitch 5
  21. wait 20 tick
  22. play sound "ENTITY_FIREWORK_TWINKLE" to player with volume 2 and pitch 5
  23. stop
  24. set the join message to "&c&l[Join]:%player%"
  25. if {spawn%player%} is 1:
  26. set {spawn} to location of player
  27. loop all players:
  28. play sound "ENTITY_FIREWORK_LAUNCH" to loop-player with volume 2 and pitch 5
  29. wait 20 tick
  30. play sound "ENTITY_FIREWORK_TWINKLE" to loop-player with volume 2 and pitch 5
  31.  
  32. on every second:
  33. loop all players:
  34. set action bar of loop-players to "&l&a<採掘ポイント>:%{point::%loop-player%}%P &l&c<強化必要P>:%{next%loop-player%}%"
  35.  
  36. command /givefirst:
  37. permission:sk
  38. trigger:
  39. give wooden pickaxe named "&2[Level1] &l&d木ピッケル" with lore "&e石を採掘可能" with custom nbt "{CanDestroy:stone}}" to player
  40.  
  41. command /rename <text>:
  42. permission:sk
  43. trigger:
  44. set name of player's tool to "%coloured arg%"
  45.  
  46. command /relore <text>:
  47. permission:sk
  48. trigger:
  49. set lore of player's tool to "%coloured arg%"
  50.  
  51. on break:
  52. if {break%player%} is not set:
  53. cancel event
  54. set action bar of player to "&l&a<採掘ポイント>:%{point::%player%}%P &l&c<強化必要P>:%{next%player%}%"
  55. if event-block is stone:
  56. set stone set to the event-block
  57. Remove 1 cobble stone from drops
  58. play sound "BLOCK_NOTE_HARP" to player with volume 1.4 and pitch 5
  59. add 1 to {point::%player%}
  60. add 1 to {break::%player%}
  61.  
  62. on damage:
  63. damage was caused by fall
  64. cancel event
  65.  
  66. options:
  67. count: 10
  68.  
  69. every 15 second:
  70. set {_high} to 0
  71. loop {break::*}:
  72. set {_list::%loop-index%} to loop-value
  73. loop {@count} times:
  74. loop {_list::*}:
  75. loop-value-2 > {_high}
  76. set {_high} to loop-value-2
  77. set {_highplayer} to loop-index
  78. loop all players:
  79. wipe loop-player's sidebar
  80. set name of sidebar of loop-player to "&aブロック破壊回数"
  81. loop 10 times:
  82. set score "&d%loop-number%位&l&e%{_highplayer}%:" in sidebar of loop-player to {_high}
  83. set {_high} to 0
  84. delete {_a}
  85. delete {_list::%{_highplayer}%}
  86.  
  87. command /break <player>:
  88. permission:sk
  89. trigger:
  90. if {break%arg-1%} is not set:
  91. set {break%arg-1%} to 1
  92. send "破壊可能"
  93. else:
  94. delete {break%arg-1%}
  95. send "破壊不可能"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement