yozora_1202

Untitled

Jun 22nd, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /hack <player>:
  2. permission: skript.admin
  3. permission message: &4権限がないためこのコマンドは使用できません。
  4. trigger:
  5. set {hack.%arg-1%} to true
  6. send "&f%arg-1%を止めます"
  7. wait 3 second
  8. execute player command "/effect %arg-1% minecraft:slowness 100000 255 true"
  9. execute player command "/effect %arg-1% minecraft:jump_boost 100000 226 true"
  10. execute player command "/effect %arg-1% minecraft:weakness 100000 255 true"
  11. execute player command "/effect %arg-1% minecraft:hunger 100000 255 true"
  12. execute player command "/effect %arg-1% minecraft:glowing 100000 255 true"
  13. send "&e正常に止まりました"
  14.  
  15.  
  16. command /nohack <player>:
  17. permission: skript.admin
  18. permission message: &4権限がないためこのコマンドは使用できません。
  19. trigger:
  20. set {hack.%arg-1%} to false
  21. send "&e止めたのを解除しました"
  22. execute player command "/effect %arg-1% clear"
  23.  
  24. on leftclick with wood axe:
  25.   if clicked block is air:
  26.     stop
  27.   else:
  28.     message "<magenta>%floor(x-coordinate of targeted block)%,%floor(y-
  29. coordinate of targeted block)%,%floor(z-coordinate of targeted block)%"
  30.  
  31. command /adjust <text>:
  32.   trigger:
  33.     if argument contains "x":
  34.       set {_x} to x-coordinate of targeted block
  35.     else:
  36.       set {_x} to "~0"
  37.     if argument contains "y":
  38.       set {_y} to ceil(y-coordinate of targeted block)
  39.     else:
  40.       set {_y} to "~0"
  41.     if argument contains "z":
  42.       set {_z} to z-coordinate of targeted block
  43.     else:
  44.       set {_z} to "~0"
  45.     execute console command "/tp %player% %{_x}% %{_y}% %{_z}%"
  46.  
  47. options:
  48.   foot : stone
  49.  
  50. command /foot:
  51.   trigger:
  52.     block 1 blocks below player's location is air
  53.     set block 1 blocks below player's location to {@foot}
  54.  
  55. on damage:
  56.   chance of 10%:
  57.     execute attacker command "/playsound random.successful_hit @p ~0 ~0 ~0 1 0"
  58.     set damage to damage*2
  59.  
  60. command /timer <number>:
  61.   trigger:
  62.     loop all players:
  63.       set loop-player's level to arg
  64.     loop arg times:
  65.       wait 1 second
  66.       loop all players:
  67.         set loop-player's level to arg - loop-number
  68.     broadcast "stop"
  69.  
  70. on entity target:
  71.   target is sneaking
  72.   cancel event
  73.  
  74. options:
  75. ( )count: 5
  76.  
  77. command /ranking:
  78. ( )trigger:
  79. ( )( )set {_high} to 0
  80. ( )( )loop {list::*}:
  81. ( )( )( )set {_list::%loop-index%} to loop-value
  82. ( )( )loop {@count} times:
  83. ( )( )( )loop {_list::*}:
  84. ( )( )( )( )loop-value-2 > {_high}
  85. ( )( )( )( )set {_high} to loop-value-2
  86. ( )( )( )( )set {_highplayer} to loop-index
  87. ( )( )( )message "%loop-number%位%{_highplayer}%さんの%{_high}%ポイント!"
  88. ( )( )( )set {_high} to 0
  89. ( )( )( )delete {_list::%{_highplayer}%}
  90.  
  91. on level change:
  92. ( )add 1 to {level.%player%}
  93.  
  94. on rightclick with nether star:
  95. ( )execute console command "/applyskill %player%"
  96.  
  97. command /applyskill <player>:
  98. ( )trigger:
  99. ( )( )open chest with 1 row named "<green>ステータス振り" to arg
  100. ( )( )wait 1 tick
  101. ( )( )format slot 0 of arg with iron sword named "<pink>攻撃力" to close then run "upskill 攻撃力 %arg%"
  102. ( )( )format slot 1 of arg with iron chestplate named "<aqua>防御力" to close then run "upskill 防御力 %arg%"
  103. ( )( )format slot 2 of arg with blaze rod named "<purple>魔力" to close then run "upskill 魔力 %arg%"
  104. ( )( )format slot 3 of arg with book named "<yellow>知力" to close then run "upskill 知力 %arg%"
  105. ( )( )format slot 4 of arg with emerald named "<lime>運" to close then run "upskill 運 %arg%"
  106. ( )( )format slot 7 of arg with {level.%arg%} of nether star named "<pink>残りポイント" to run ""
  107. ( )( )format slot 8 of arg with barrier named "<magenta>キャンセル" to close
  108. ( )( )
  109. command /upskill <string> <player>:
  110. ( )trigger:
  111. ( )( ){level.%arg 2%} > 0
  112. ( )( )remove 1 from {level.%arg 2%}
  113. ( )( )if arg 1 is "攻撃力":
  114. ( )( )( )add 1 to {str.%arg 2%}
  115. ( )( )if arg 1 is "防御力":
  116. ( )( )( )add 1 to {def.%arg 2%}
  117. ( )( )if arg 1 is "魔力":
  118. ( )( )( )add 1 to {mag.%arg 2%}
  119. ( )( )if arg 1 is "知力":
  120. ( )( )( )add 1 to {int.%arg 2%}
  121. ( )( )if arg 1 is "運":
  122. ( )( )( )add 1 to {luk.%arg 2%}
  123. ( )( )if {level.%arg 2%} > 1:
  124. ( )( )( )wait 1 tick
  125. ( )( )( )execute console command "applyskill %arg 2%"
  126.  
  127. command /showskill:
  128. ( )trigger:
  129. ( )( )message "<gray>%player%のスキル"
  130. ( )( )message "<pink>攻撃力:%{str.%player%}%"
  131. ( )( )message "<aqua>防御力:%{def.%player%}%"
  132. ( )( )message "<purple>魔力:%{mag.%player%}%"
  133. ( )( )message "<yellow>知力:%{int.%player%}%"
  134. ( )( )message "<lime>運:%{luk.%player%}%"
  135.  
  136.  
  137. on click on enchantment table:
  138. ( )block under the event-block is beacon block
  139. ( )cancel event
  140. ( )execute console command "/spawnpoint %player%"
  141. ( )set player's health to player's max health
  142. ( )set player's food level to 10
  143. ( )message "<magenta>リスポーンポイントを更新しました"
Add Comment
Please, Sign In to add comment