knugi

Untitled

Feb 23rd, 2015
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. on enchant:
  2. if event-item is golden shovel:
  3. wait 1 tick
  4. if event-item is enchanted with silk touch 1:
  5. set lore of event-item to "&r&6ROZWALACZ BEDROCKAa!!||&9Pozostalych uzyc: &f5"
  6. on rightclick on bedrock:
  7. if player's tool is golden shovel:
  8. if player's tool is enchanted with silk touch 1:
  9. set {_l} to last character of lore of player's tool
  10. set {_l} to {_l} parsed as integer
  11. if y-location of event-block is smaller than 3:
  12. cancel event
  13. stop
  14. if {_l} is 0:
  15. remove golden shovel with lore "&r&6ROZWALACZ BEDROCKAa!!||&9Pozostalych uzyc: &f0" from player
  16. stop
  17. set lore of player's tool to "&r&6ROZWALACZ BEDROCKAa!!||&9Pozostalych uzyc: &f%{_l} - 1%"
  18. set event-block to air
Advertisement
Add Comment
Please, Sign In to add comment