Advertisement
sniperwolf1130

SCPsk

Aug 17th, 2019
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.34 KB | None | 0 0
  1. on join:
  2. teleport player to {tp.lobby}
  3. set the join message to "<gray>%player% has joined."
  4. execute command "/scoreboard teams join lobby %player%"
  5.  
  6. on quit:
  7. set the quit message to "<gray>%player% has leave."
  8.  
  9. on projectile hit:
  10. wait 1 tick
  11. kill event-entity
  12. set {_block} to the block at location 1 in front of the projectile
  13. send "%{_block}%" to shooter
  14.  
  15. every 10 seconds:
  16. if {nv} is 1:
  17. loop all players:
  18. execute command "/effect @a[team=scp-173] minecraft:slowness 2 255 true"
  19. execute command "/effect %loop-player% minecraft:blindness 2 255 true"
  20. execute command "/effect %loop-player% minecraft:night_vision 1 255 true"
  21.  
  22. every seconds:
  23. if {hunger} is 1:
  24. execute command "/pardon kemurikusa_riku"
  25. loop all players:
  26. set loop-player's food level to 3
  27.  
  28. command /setlob:
  29. permission: op
  30. trigger:
  31. set {tp.lobby} to location of player
  32. message "ロビーの場所を%{tp.lobby}%に設定しました"
  33.  
  34. command /nv [<text>]:
  35. permission: op
  36. trigger:
  37. if arg is "on":
  38. set {nv} to 1
  39. send "&7まばたき設定を&cオン&7にしました。"
  40.  
  41. else if arg is "off":
  42. set {nv} to 0
  43. send "&7まばたき設定を&aオフ&7にしました。"
  44.  
  45. else:
  46. send "&cError&7: 入力する値はonかoffにしてください。"
  47. send "&7/nv (on/off)"
  48.  
  49. command /hunger [<text>]:
  50. permission: op
  51. trigger:
  52. if arg is "on":
  53. set {hunger} to 1
  54. send "&7空腹設定を&cオン&7にしました。"
  55.  
  56. else if arg is "off":
  57. set {hunger} to 0
  58. send "&7空腹設定を&aオフ&7にしました。"
  59.  
  60. else:
  61. send "&cError&7: 入力する値はonかoffにしてください。"
  62. send "&7/hunger (on/off)"
  63.  
  64. on death:
  65. set victim's health to victim's max health
  66. set death message to "&f[&c%attacker%&f]&7---->&f[&a&m%victim%&f]"
  67. execute command "/gamemode 3 %victim%"
  68.  
  69. command /gamestart:
  70. permission: op
  71. trigger:
  72. loop all players:
  73. set {bureizu} to 1
  74.  
  75. command /gamestop:
  76. permission: op
  77. trigger:
  78. loop all players:
  79. remove all items from loop-player's inventory
  80. delete {tpp.%loop-player%}
  81. set {bureizu} to 1
  82.  
  83. on rightclick with coal:
  84. name of player's tool contains "Scp-106 command 1":
  85. set {tpp.%player%} to location of player
  86. send "&e&lTPの場所を設定しました"
  87.  
  88. on rightclick with emerald:
  89. name of player's tool contains "Scp-106 command 2":
  90. teleport player to {tpp.%player%}
  91.  
  92. command /discord:
  93. trigger:
  94. execute command "/tell %player% https://discord.gg/xMgDys"
  95.  
  96. on rightclick on black shulker box:
  97. set {_block} to location of event-block
  98. if player's tool is golden ingot:
  99. set the block at {_block} to block of redstone
  100. wait 5 seconds
  101. set the block at {_block} to black shulker box
  102. else if player's tool is iron ingot:
  103. set the block at {_block} to block of redstone
  104. wait 5 seconds
  105. set the block at {_block} to black shulker box
  106. else if player's tool is diamond:
  107. set the block at {_block} to block of redstone
  108. wait 5 seconds
  109. set the block at {_block} to black shulker box
  110. else if player's tool is emerald:
  111. set the block at {_block} to block of redstone
  112. wait 5 seconds
  113. set the block at {_block} to black shulker box
  114. else if player's tool is nether brick item:
  115. set the block at {_block} to block of redstone
  116. wait 5 seconds
  117. set the block at {_block} to black shulker box
  118.  
  119. on rightclick on light gray shulker box:
  120. set {_block} to location of event-block
  121. if player's tool is iron ingot:
  122. set the block at {_block} to block of redstone
  123. wait 5 seconds
  124. set the block at {_block} to light gray shulker box
  125. else if player's tool is diamond:
  126. set the block at {_block} to block of redstone
  127. wait 5 seconds
  128. set the block at {_block} to light gray shulker box
  129. else if player's tool is emerald:
  130. set the block at {_block} to block of redstone
  131. wait 5 seconds
  132. set the block at {_block} to light gray shulker box
  133. else if player's tool is nether brick item:
  134. set the block at {_block} to block of redstone
  135. wait 5 seconds
  136. set the block at {_block} to light gray shulker box
  137.  
  138. on rightclick on light gray shulker box:
  139. set {_block} to location of event-block
  140. if player's tool is iron ingot:
  141. set the block at {_block} to block of redstone
  142. wait 5 seconds
  143. set the block at {_block} to light gray shulker box
  144. else if player's tool is diamond:
  145. set the block at {_block} to block of redstone
  146. wait 5 seconds
  147. set the block at {_block} to light gray shulker box
  148. else if player's tool is emerald:
  149. set the block at {_block} to block of redstone
  150. wait 5 seconds
  151. set the block at {_block} to light gray shulker box
  152. else if player's tool is nether brick item:
  153. set the block at {_block} to block of redstone
  154. wait 5 seconds
  155. set the block at {_block} to light gray shulker box
  156.  
  157. on rightclick on yellow shulker box:
  158. set {_block} to location of event-block
  159. if player's tool is diamond:
  160. set the block at {_block} to block of redstone
  161. wait 5 seconds
  162. set the block at {_block} to yellow shulker box
  163. else if player's tool is emerald:
  164. set the block at {_block} to block of redstone
  165. wait 5 seconds
  166. set the block at {_block} to yellow shulker box
  167. else if player's tool is nether brick item:
  168. set the block at {_block} to block of redstone
  169. wait 5 seconds
  170. set the block at {_block} to yellow shulker box
  171.  
  172. on rightclick on blue shulker box:
  173. set {_block} to location of event-block
  174. if player's tool is emerald:
  175. set the block at {_block} to block of redstone
  176. wait 5 seconds
  177. set the block at {_block} to blue shulker box
  178. else if player's tool is nether brick item:
  179. set the block at {_block} to block of redstone
  180. wait 5 seconds
  181. set the block at {_block} to blue shulker box
  182.  
  183. on rightclick on red shulker box:
  184. set {_block} to location of event-block
  185. if player's tool is nether brick item:
  186. set the block at {_block} to block of redstone
  187. wait 5 seconds
  188. set the block at {_block} to red shulker box
  189.  
  190. on rightclick on green wool:
  191. set {_block} to location of event-block
  192. if player's tool is stick:
  193. set the block at {_block} to air
  194. execute command "/setblock -1257 4 -1225 air"
  195. broadcast "<gray>One block has already broken."
  196.  
  197. on rightclick on yellow wool:
  198. set {_block} to location of event-block
  199. if player's tool is stick:
  200. set the block at {_block} to air
  201. execute command "/setblock -1257 5 -1225 air"
  202. broadcast "<gray>One block has already broken."
  203.  
  204. on rightclick on blue wool:
  205. set {_block} to location of event-block
  206. if player's tool is stick:
  207. set the block at {_block} to air
  208. execute command "/setblock -1257 4 -1227 air"
  209. broadcast "<gray>One block has already broken."
  210.  
  211. on rightclick on red wool block:
  212. set {_block} to location of event-block
  213. if player's tool is stick:
  214. set the block at {_block} to air
  215. execute command "/setblock -1257 5 -1227 air"
  216. broadcast "<gray>One block has already broken."
  217.  
  218. on rightclick on obsidian:
  219. cancel event
  220. execute command "/tp %player% -1121 5 -1220"
  221. broadcast "<gray><bold>%player% has already escaped from Mystery zone."
  222.  
  223. on rightclick with blaze rod:
  224. if {bureizu} is 1:
  225. execute command "/effect %player% speed 15 3"
  226. execute command "/effect %player% night_vision 15 3"
  227. execute command "/effect %player% strength 15 100"
  228. set {bureizu} to 0
  229. wait 5 minutes
  230. execute command "/playsound record.11 master @a ~ ~ ~ 1.0 1.0 1.0"
  231. set {bureizu} to 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement