Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on enchant:
- if event-item is golden shovel:
- wait 1 tick
- if event-item is enchanted with silk touch 1:
- set lore of event-item to "&r&6ROZWALACZ BEDROCKAa!!||&9Pozostalych uzyc: &f5"
- on rightclick on bedrock:
- if player's tool is golden shovel:
- if player's tool is enchanted with silk touch 1:
- if player cannot build at event-block:
- send "&cNie mozesz rozwalic tutaj bedrocka!"
- stop
- set {_l} to last character of lore of player's tool
- set {_l} to {_l} parsed as integer
- if y-location of event-block is smaller than 3:
- cancel event
- stop
- if {_l} is 0:
- remove golden shovel with lore "&r&6ROZWALACZ BEDROCKAa!!||&9Pozostalych uzyc: &f0" from player
- stop
- set lore of player's tool to "&r&6ROZWALACZ BEDROCKAa!!||&9Pozostalych uzyc: &f%{_l} - 1%"
- set event-block to air
Advertisement
Add Comment
Please, Sign In to add comment