Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /obs:
- trigger:
- player have 64 obsidian
- add 48 named "&3&lGenerator Obsa" to the player's inventory
- remove 64 obsidian from the player's inventory
- on place of 48:
- if name of the player's tool is "&3&lGenerator Obsa":
- send "&7Postawiles: &3&lPostawiles Generator Obsa"
- set {s.%event-block%} to true
- wait 1 second
- set event-block to obsidian
- stop
- on break of obsidian:
- if {s.%event-block%} is true:
- if player is holding gold pickaxe:
- cancel event
- send "&7Zniszczyles: &3&lGenerator Obsa"
- set event-block to air
- if player can hold 1 48 named "&3&lGenerator Obsa":
- give 1 48 named "&3&lGenerator Obsa" to the player
- stop
- else:
- drop 1 48 named "&3&lGenerator Obsa"
- stop
- else:
- wait 20 second
- set event-block to obsidian
- stop
Advertisement
Add Comment
Please, Sign In to add comment