Guest User

Un skript hikabrain

a guest
Feb 28th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.72 KB | None | 0 0
  1. on rightclick with 19:1:
  2. if name of tool is "&fVotre couleur?":
  3. make player execute command "/hikabrain couleur"
  4. cancel event
  5.  
  6.  
  7. on rightclick with 175:3:
  8. if name of tool is "&cQuitter l'hikabrain":
  9. make player execute command "/hikabrain quit"
  10. cancel event
  11.  
  12. options:
  13. pr : &f[&6Hikabrain&f]
  14.  
  15.  
  16. Command /sethbo:
  17. permission: hikabrainorange.sk
  18. permission message: &cErreur &f> &cVous n'avez pas accès à cette commande!
  19. trigger:
  20. wait 3 ticks
  21. set {hikabrain.oranges} to player's location
  22. send "&f[&6Hikabrain&f] &cVotre spawn d'hikabrain &6Orange &ca bien été mit"
  23.  
  24.  
  25. Command /sethbv:
  26. permission: hikabrainvert.sk
  27. permission message: &cErreur &f> &cVous n'avez pas accès à cette commande!
  28. trigger:
  29. wait 3 ticks
  30. set {hikabrain.verts} to player's location
  31. send "&f[&6Hikabrain&f] &cVotre spawn d'hikabrain &2Vert &ca bien été mit"
  32.  
  33.  
  34. Command /sethbs:
  35. permission: hikabrainspawn.sk
  36. permission message: &cErreur &f> &cVous n'avez pas accès à cette commande!
  37. trigger:
  38. wait 3 ticks
  39. set {hikabrain.spawns} to player's location
  40. send "&f[&6Hikabrain&f] &cVotre spawn &4d'attente &cd'hikabrain a bien été mit"
  41.  
  42.  
  43. Command /hikabrain [<text>] [<player>] [<player>]:
  44. trigger:
  45. if player's world is "Hikabrain":
  46. if arg 1 is "join":
  47. add 1 to {player.count}
  48. make console execute command "/broadcast &b%player% vient rejoint l'hikabrain ! &a[%{player.count}%]"
  49. teleport player to {hikabrain.spawns}
  50. set slot 0 of player to a 19:1 named "&fVotre couleur ?&f"
  51. set slot 8 of player to a 175:3 named "&cQuitter l'hikabrain"
  52. set block at location -171 , 11 , -14 "hikabrain" to stone slab
  53. set block at location -172 , 11 , -14 "hikabrain" to stone slab
  54. set block at location -173 , 11 , -14 "hikabrain" to stone slab
  55. set block at location -174 , 11 , -15 "hikabrain" to stone slab
  56. set block at location -174 , 11 , -16 "hikabrain" to stone slab
  57. set block at location -174 , 11 , -17 "hikabrain" to stone slab
  58. set block at location -171 , 11 , -18 "hikabrain" to stone slab
  59. set block at location -172 , 11 , -18 "hikabrain" to stone slab
  60. set block at location -173 , 11 , -18 "hikabrain" to stone slab
  61. set block at location -231 , 11 , -18 "hikabrain" to stone slab
  62. set block at location -230 , 11 , -18 "hikabrain" to stone slab
  63. set block at location -229 , 11 , -18 "hikabrain" to stone slab
  64. set block at location -228 , 11 , -15 "hikabrain" to stone slab
  65. set block at location -228 , 11 , -16 "hikabrain" to stone slab
  66. set block at location -228 , 11 , -17 "hikabrain" to stone slab
  67. set block at location -231 , 11 , -14 "hikabrain" to stone slab
  68. set block at location -230 , 11 , -14 "hikabrain" to stone slab
  69. set block at location -229 , 11 , -14 "hikabrain" to stone slab
  70. make console execute command "/tp %arg 3% -229 10 -15"
  71. make console execute command "/tp %arg 2% -171 10 -15"
  72. make console execute command "/give %arg 2% iron_sword 1 knockback"
  73. make console execute command "/give %arg 3% iron_sword 1 knockback"
  74. make console execute command "/give %arg 2% 322 64"
  75. make console execute command "/give %arg 3% 322 64"
  76. make console execute command "/effect %arg 2% minecraft:regeneration 9999 1"
  77. make console execute command "/effect %arg 3% minecraft:regeneration 9999 1"
  78. make console execute command "/broadcast &cLa partie commencera quand 15 secondes"
  79. wait 15 seconds
  80. set block at location -171 , 11 , -14 "hikabrain" to air
  81. set block at location -172 , 11 , -14 "hikabrain" to air
  82. set block at location -173 , 11 , -14 "hikabrain" to air
  83. set block at location -174 , 11 , -15 "hikabrain" to air
  84. set block at location -174 , 11 , -16 "hikabrain" to air
  85. set block at location -174 , 11 , -17 "hikabrain" to air
  86. set block at location -171 , 11 , -18 "hikabrain" to air
  87. set block at location -172 , 11 , -18 "hikabrain" to air
  88. set block at location -173 , 11 , -18 "hikabrain" to air
  89. set block at location -231 , 11 , -18 "hikabrain" to air
  90. set block at location -230 , 11 , -18 "hikabrain" to air
  91. set block at location -229 , 11 , -18 "hikabrain" to air
  92. set block at location -228 , 11 , -15 "hikabrain" to air
  93. set block at location -228 , 11 , -16 "hikabrain" to air
  94. set block at location -228 , 11 , -17 "hikabrain" to air
  95. set block at location -231 , 11 , -14 "hikabrain" to air
  96. set block at location -230 , 11 , -14 "hikabrain" to air
  97. set block at location -229 , 11 , -14 "hikabrain" to air
  98. make console execute command "/broadcast &cLa partie commence !"
  99. wait 5 minutes
  100. make console execute command "/broadcast &cLa partie se termine dans 10 minutes"
  101. wait 5 minutes
  102. make console execute command "/broadcast &cLa partie se termine dans 5 minutes"
  103. wait 4 minutes
  104. make console execute command "/broadcast cLa partie se termine dans 1 minutes"
  105. wait 50 seconds
  106. make console execute command "/broadcast &cLa partie se termine dans 10 seconds"
  107. wait 10 seconds
  108. make console execute command "/broadcast Fin de la partie!"
  109. make console execute command "/tp %arg 3% -192 15 -17"
  110. make console execute command "/tp %arg 4% -192 15 -17"
  111. if arg 1 is "quit":
  112. remove 1 from {player.count}
  113. make console execute command "/broadcast &b%player% vient de quitter l'hikabrain ! &c[%{player.count}%]"
  114. if arg 1 is "remove":
  115. delete {player.count}
  116. send "&f[&6Hikabrain&f] &cLe compteur des joueurs ont bien été reset"
  117. if arg 1 is "orange":
  118. wait 1 seconds
  119. teleport player to {hikabrain.orange}
  120. if arg 1 is "vert":
  121. wait 3 seconds
  122. teleport player to {hikabrain.orange}
  123. if arg 1 is "pointo":
  124. add 1 to {point.orange}
  125. make console execute command "/broadcast &cLe &6Orange &cvient de marquer un point ! &b[%{point.orange}%]"
  126. set block at location -171 , 11 , -14 "hikabrain" to stone slab
  127. set block at location -172 , 11 , -14 "hikabrain" to stone slab
  128. set block at location -173 , 11 , -14 "hikabrain" to stone slab
  129. set block at location -174 , 11 , -15 "hikabrain" to stone slab
  130. set block at location -174 , 11 , -16 "hikabrain" to stone slab
  131. set block at location -174 , 11 , -17 "hikabrain" to stone slab
  132. set block at location -171 , 11 , -18 "hikabrain" to stone slab
  133. set block at location -172 , 11 , -18 "hikabrain" to stone slab
  134. set block at location -173 , 11 , -18 "hikabrain" to stone slab
  135. set block at location -231 , 11 , -18 "hikabrain" to stone slab
  136. set block at location -230 , 11 , -18 "hikabrain" to stone slab
  137. set block at location -229 , 11 , -18 "hikabrain" to stone slab
  138. set block at location -228 , 11 , -15 "hikabrain" to stone slab
  139. set block at location -228 , 11 , -16 "hikabrain" to stone slab
  140. set block at location -228 , 11 , -17 "hikabrain" to stone slab
  141. set block at location -231 , 11 , -14 "hikabrain" to stone slab
  142. set block at location -230 , 11 , -14 "hikabrain" to stone slab
  143. set block at location -229 , 11 , -14 "hikabrain" to stone slab
  144. make console execute command "/tp %arg 3% -229 10 -15"
  145. make console execute command "/tp %arg 2% -171 10 -15"
  146. make console execute command "/clear %arg 2%"
  147. make console execute command "/clear %arg 3%"
  148. make console execute command "/give %arg 2% iron_sword 1 knockback"
  149. make console execute command "/give %arg 3% iron_sword 1 knockback"
  150. make console execute command "/give %arg 2% 322 64"
  151. make console execute command "/give %arg 3% 322 64"
  152. wait 10 seconds
  153. set block at location -171 , 11 , -14 "hikabrain" to air
  154. set block at location -172 , 11 , -14 "hikabrain" to air
  155. set block at location -173 , 11 , -14 "hikabrain" to air
  156. set block at location -174 , 11 , -15 "hikabrain" to air
  157. set block at location -174 , 11 , -16 "hikabrain" to air
  158. set block at location -174 , 11 , -17 "hikabrain" to air
  159. set block at location -171 , 11 , -18 "hikabrain" to air
  160. set block at location -172 , 11 , -18 "hikabrain" to air
  161. set block at location -173 , 11 , -18 "hikabrain" to air
  162. set block at location -231 , 11 , -18 "hikabrain" to air
  163. set block at location -230 , 11 , -18 "hikabrain" to air
  164. set block at location -229 , 11 , -18 "hikabrain" to air
  165. set block at location -228 , 11 , -15 "hikabrain" to air
  166. set block at location -228 , 11 , -16 "hikabrain" to air
  167. set block at location -228 , 11 , -17 "hikabrain" to air
  168. set block at location -231 , 11 , -14 "hikabrain" to air
  169. set block at location -230 , 11 , -14 "hikabrain" to air
  170. set block at location -229 , 11 , -14 "hikabrain" to air
  171. make console execute command "/broadcast &cLa partie reprend"
  172. if arg 1 is "pointv":
  173. add 1 to {point.vert}
  174. make console execute command "/broadcast &cLe &6Orange &cvient de marquer un point ! &b[%{point.vert}%]"
  175. set block at location -171 , 11 , -14 "hikabrain" to stone slab
  176. set block at location -172 , 11 , -14 "hikabrain" to stone slab
  177. set block at location -173 , 11 , -14 "hikabrain" to stone slab
  178. set block at location -174 , 11 , -15 "hikabrain" to stone slab
  179. set block at location -174 , 11 , -16 "hikabrain" to stone slab
  180. set block at location -174 , 11 , -17 "hikabrain" to stone slab
  181. set block at location -171 , 11 , -18 "hikabrain" to stone slab
  182. set block at location -172 , 11 , -18 "hikabrain" to stone slab
  183. set block at location -173 , 11 , -18 "hikabrain" to stone slab
  184. set block at location -231 , 11 , -18 "hikabrain" to stone slab
  185. set block at location -230 , 11 , -18 "hikabrain" to stone slab
  186. set block at location -229 , 11 , -18 "hikabrain" to stone slab
  187. set block at location -228 , 11 , -15 "hikabrain" to stone slab
  188. set block at location -228 , 11 , -16 "hikabrain" to stone slab
  189. set block at location -228 , 11 , -17 "hikabrain" to stone slab
  190. set block at location -231 , 11 , -14 "hikabrain" to stone slab
  191. set block at location -230 , 11 , -14 "hikabrain" to stone slab
  192. set block at location -229 , 11 , -14 "hikabrain" to stone slab
  193. make console execute command "/tp %arg 3% -229 10 -15"
  194. make console execute command "/tp %arg 2% -171 10 -15"
  195. make console execute command "/clear %arg 2%"
  196. make console execute command "/clear %arg 3%"
  197. make console execute command "/give %arg 2% iron_sword 1 knockback"
  198. make console execute command "/give %arg 3% iron_sword 1 knockback"
  199. make console execute command "/give %arg 2% 322 64"
  200. make console execute command "/give %arg 3% 322 64"
  201. wait 10 seconds
  202. set block at location -171 , 11 , -14 "hikabrain" to air
  203. set block at location -172 , 11 , -14 "hikabrain" to air
  204. set block at location -173 , 11 , -14 "hikabrain" to air
  205. set block at location -174 , 11 , -15 "hikabrain" to air
  206. set block at location -174 , 11 , -16 "hikabrain" to air
  207. set block at location -174 , 11 , -17 "hikabrain" to air
  208. set block at location -171 , 11 , -18 "hikabrain" to air
  209. set block at location -172 , 11 , -18 "hikabrain" to air
  210. set block at location -173 , 11 , -18 "hikabrain" to air
  211. set block at location -231 , 11 , -18 "hikabrain" to air
  212. set block at location -230 , 11 , -18 "hikabrain" to air
  213. set block at location -229 , 11 , -18 "hikabrain" to air
  214. set block at location -228 , 11 , -15 "hikabrain" to air
  215. set block at location -228 , 11 , -16 "hikabrain" to air
  216. set block at location -228 , 11 , -17 "hikabrain" to air
  217. set block at location -231 , 11 , -14 "hikabrain" to air
  218. set block at location -230 , 11 , -14 "hikabrain" to air
  219. set block at location -229 , 11 , -14 "hikabrain" to air
  220. make console execute command "/broadcast &cLa partie reprend"
Advertisement
Add Comment
Please, Sign In to add comment