DJ_CITROX

Untitled

Sep 14th, 2014
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. #-###########-#
  2. #- STONIARKA -#
  3. #-###########-#
  4.  
  5. on place of emerald ore:
  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.  
  13. on break of stone:
  14. if {s.%event-block%} is true:
  15. If player's tool is golden pickaxe named "&cRozwalacz Stoniarki":
  16. cancel event
  17. send "&7Zniszczyles: &aMagiczna stoniarke"
  18. set event-block to air
  19. if player can hold 1 emerald ore named "&aMagiczna stoniarka":
  20. give 1 emerald ore named "&aMagiczna stoniarka" to the player
  21. stop
  22. else:
  23. drop 1 emerald ore named "&aMagiczna stoniarka"
  24. stop
  25. else:
  26. wait 7 second
  27. set event-block to stone
  28. stop
Advertisement
Add Comment
Please, Sign In to add comment