Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on leftclick using stick on barrier:
- player is in region "superkopalnia":
- 3nd line of lore of player's tool named "&6&lBron Ostateczna" is "&bpotezna bron przetopiona z 4 boskich przedmiotow":
- first character of "%player's tool%" is "1" or "2" or "3" or "4" or "5" or "6" or "7" or "8" or "9":
- cancel event
- send "&cMozesz trzymac maksymalnie jedna superbron w rece!"
- stop
- set {_hp} to line 2 of lore of player's tool
- set {_hp} to {_hp} parsed as integer
- {_hp} is 0:
- remove player's tool from player
- else:
- set event-block to plain_glass_block
- wait 20 ticks
- event-block is plain_glass_block:
- set event-block to barrier
- else:
- set line 2 of lore of player's tool to "%{_hp} - 1%"
- #
- #@
- #sssssssssssssdaaaaaaaaaaa addssssssssssss
- #
- #asd
- #
Advertisement
Add Comment
Please, Sign In to add comment