Guest User

landmines

a guest
Jul 11th, 2015
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. options:
  2.  
  3. P: <cyan>[<gray>UHC<cyan>]
  4.  
  5. command /landmines <text>:
  6. permission: skript.op
  7. usage: /landmines <on/off>
  8. aliases: /watchyourstep, /wys, /lm, /lmine
  9. trigger:
  10. if arg-1 is "on":
  11. set {landmines} to true
  12. broadcast "{@P} <green>Landmines Enabled"
  13.  
  14. if arg-1 is "off":
  15. delete {landmines}
  16. broadcast "{@P} <green>Landmines Disabled"
  17.  
  18. on walking on grass:
  19. {landmines} is true
  20. wait 5 ticks
  21. set block to stone
  22.  
  23. on walking on stone:
  24. {landmines} is true
  25. wait 5 ticks
  26. set block to cobblestone
  27.  
  28. on walking on cobblestone:
  29. {landmines} is true
  30. wait 5 ticks
  31. set block to netherrack
  32.  
  33. on walking on netherrack:
  34. {landmines} is true
  35. create an explosion of force 10 at the block
  36.  
  37. on portal create:
  38. {landmines} is true
  39. cancel the event
Advertisement
Add Comment
Please, Sign In to add comment