Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #============[Licencja by AvexPl============#
- Zezwalam na: |
- | 1. Zmianne wiadomosci |
- | 2. Zmiane opcji |
- | Nie zezwalam na: |
- | 1. Podszywanie sie pod autora |
- | 2. Kasowanie linijki |
- #============[Licencja by AvexPl============#
- on script load:
- REGISTER new shaped RECIPE for glass named "&cGenerator Obsa" using obsidian, obsidian, obsidian, obsidian, redstone, obsidian, obsidian, obsidian, obsidian #Itemy do scraftowania generatora.
- on place of Glass:
- name of player's tool is "&cGenerator Obsa"
- set {obsidian::%event-block%} to true
- show spawner flames at event-block for the player
- send "&8> &7Postawiles &cGenerator Obsa&7."
- send "&8> &7Mozesz go zebrac, uzywajac &6zlotego kilofa&7."
- wait 1 seconds
- set event-block to obsidian
- on break of Glass:
- {obsidian::%event-block%} is true:
- cancel event
- on break of obsidian:
- {obsidian::%event-block%} is true
- player's tool is gold pickaxe:
- delete {stone::%event-block%}
- drop 1 glass named "&cGenerator Obsa"
- show spawner flames at event-block for the player
- send "&8> &7Zniszczyles &cGenerator Obsa&7."
- player's tool is not gold pickaxe:
- wait 1 seconds
- set event-block to obsidian
- add 1 to {uses::%event-block%}
- {uses::%event-block%} is more than 1000: #Ile ma być użyć.
- delete {stone::%event-block%}
- delete {uses::%event-block%}
- send "&8> &cGenerator obsa zostal zuzyty! &7(&61000 uzyc&7)"
- on explode:
- loop blocks in radius 4:
- if {obsidian::%loop-block%} is true:
- delete {obsidian::%loop-block%}
- delete {uses::%loop-block%}
- set loop-block to air
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement