Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.68 KB | None | 0 0
  1. command /spleef <text> [<text>]:
  2. permission: spleef.admin
  3. trigger:
  4. if arg-1 is "start":
  5. make console execute command "fill -355 171 488 -371 171 472 snow_block"
  6. make console execute command "fill -371 166 472 -355 166 488 snow_block"
  7. make console execute command "fill -371 161 472 -355 161 488 snow_block"
  8. make console execute command "fill -371 156 472 -355 156 488 snow_block"
  9. wait 3 seconds
  10. loop all players:
  11. execute console command "minecraft:gamemode survival %loop-player%"
  12. execute console command "minecraft:clear %loop-player% diamond_shovel"
  13. wait 1 seconds
  14. execute console command "give %loop-player% diamondshovel 1 Unbreakable:true"
  15. execute console command "tp %loop-player% -363 176 480"
  16. stop
  17. make console execute command "gamerule doTileDrops false"
  18. make console execute command "bcast Floor number 4 is removing in 20 seconds!"
  19. wait 20 seconds
  20. make console execute command "fill -355 171 488 -371 171 472 air"
  21. make console execute command "bcast Floor number 3 is removing in 20 seconds!"
  22. wait 20 seconds
  23. make console execute command "fill -355 166 488 -371 166 472 air"
  24. make console execute command "bcast Floor number 2 is removing in 20 seconds!"
  25. wait 20 seconds
  26. make console execute command "fill -371 161 472 -355 161 488 air"
  27. make console execute command "bcast Floor number 1 is rebuilding in 20 seconds!"
  28. wait 20 seconds
  29. make console execute command "fill -371 156 472 -355 156 488 snow_block"
  30.  
  31. if arg-1 is "stop":
  32. loop all players:
  33. execute console command "tp %loop-player% -354 169 494"
  34. execute console command "minecraft:clear %loop-player% diamond_shovel"
  35. stop
  36. if arg-1 is "remove":
  37. if arg-2 is "1":
  38. make console execute command "fill -371 156 472 -355 156 488 air"
  39. if arg-2 is "2":
  40. make console execute command "bcast Floor number 2 is removing"
  41. wait 1 seconds
  42. make console execute command "fill -371 161 472 -355 161 488 air"
  43. if arg-2 is "3":
  44. make console execute command "bcast Floor number 3 is removing"
  45. wait 1 seconds
  46. make console execute command "fill -355 166 488 -371 166 472 air"
  47. if arg-2 is "4":
  48.  
  49. make console execute command "bcast Floor number 4 is removing"
  50. wait 1 seconds
  51. make console execute command "fill -355 171 488 -371 171 472 air"
  52. if arg-2 is "all":
  53. make console execute command "fill -371 156 472 -355 156 488 air"
  54. make console execute command "fill -371 161 472 -355 161 488 air"
  55. make console execute command "fill -355 166 488 -371 166 472 air"
  56. make console execute command "fill -355 171 488 -371 171 472 air"
  57. if arg-1 is "add":
  58. if arg-2 is "1":
  59. make console execute command "bcast Floor number 1 is rebuilding"
  60. wait 1 seconds
  61. make console execute command "fill -371 156 472 -355 156 488 snow_block"
  62. if arg-2 is "2":
  63. make console execute command "fill -371 161 472 -355 161 488 snow_block"
  64. if arg-2 is "3":
  65. make console execute command "fill -355 166 488 -371 166 472 snow_block"
  66. if arg-2 is "4":
  67. make console execute command "fill -355 171 488 -371 171 472 snow_block"
  68. if arg-2 is "all":
  69. make console execute command "fill -371 156 472 -355 156 488 snow_block"
  70. make console execute command "fill -371 161 472 -355 161 488 snow_block"
  71. make console execute command "fill -355 166 488 -371 166 472 snow_block"
  72. make console execute command "fill -355 171 488 -371 171 472 snow_block"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement