Guest User

Obsydianiarka.sk

a guest
Oct 12th, 2014
640
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. command /obs:
  2. trigger:
  3. player have 64 obsidian
  4. add 48 named "&3&lGenerator Obsa" to the player's inventory
  5. remove 64 obsidian from the player's inventory
  6.  
  7.  
  8.  
  9. on place of 48:
  10. if name of the player's tool is "&3&lGenerator Obsa":
  11. send "&7Postawiles: &3&lPostawiles Generator Obsa"
  12. set {s.%event-block%} to true
  13. wait 1 second
  14. set event-block to obsidian
  15. stop
  16. on break of obsidian:
  17. if {s.%event-block%} is true:
  18. if player is holding gold pickaxe:
  19. cancel event
  20. send "&7Zniszczyles: &3&lGenerator Obsa"
  21. set event-block to air
  22. if player can hold 1 48 named "&3&lGenerator Obsa":
  23. give 1 48 named "&3&lGenerator Obsa" to the player
  24. stop
  25. else:
  26. drop 1 48 named "&3&lGenerator Obsa"
  27. stop
  28. else:
  29. wait 20 second
  30. set event-block to obsidian
  31. stop
Advertisement
Add Comment
Please, Sign In to add comment