DJ_CITROX

Untitled

Sep 10th, 2014
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. #-###########-#
  2. #- STONIARKA -#
  3. #-###########-#
  4.  
  5. on place of sponge:
  6. if name of the player's tool is "&aMagiczna stoniarka":
  7. send "&7Postawiles: &aMagiczna stoniarke"
  8. set {s.%event-block%} to true
  9. wait 1 second
  10. set event-block to stone
  11. stop
  12. on break of stone:
  13. if {s.%event-block%} is true:
  14. if player is holding gold pickaxe:
  15. cancel event
  16. send "&7Zniszczyles: &aMagiczna stoniarke"
  17. set event-block to air
  18. if player can hold 1 emerald ore named "&aMagiczna stoniarka":
  19. give 1 sponge named "&aMagiczna stoniarka" to the player
  20. stop
  21. else:
  22. drop 1 sponge named "&aMagiczna stoniarka"
  23. stop
  24. else:
  25. wait 1 second
  26. set event-block to stone
  27. stop
Advertisement
Add Comment
Please, Sign In to add comment