Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
- Name: DeathHead
- Version: 1.0
- Skript: 2.0.2
- ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
- ╔════════════════════════════════════════
- ║ Licencja DeathHead by FejminTV ║
- ║ Zezwalam na: ║
- ║ - edytowanie komunikatow ║
- ║ Nie zezwalam na: ║
- ║ - Robienie z niego jakichkolwiek reklam ║
- ║ - Zarabianie na skrypcie ║
- ║ - Usuwanie informacji o autorze ║
- ╚════════════════════════════════════════
- variables:
- {tree.status} = 1
- options:
- permission: &4Nie masz uprawnien by uzywac tej komendy!
- tag: &8[&cTreeAssist&8]
- on break of wood:
- {tree.status} is 1:
- if player has permission "tree":
- player is holding axe:
- loop blocks upwards:
- loop-block is wood:
- drop the loop-block-1 at event-block
- set the loop-block-1 to air
- add 1 to {tool.%player%}
- loop blocks in radius 1 around loop-block:
- if loop-block-1 is leaves:
- set {tree.%player%} to true
- set the loop-block-1 to air
- else:
- send "{@tag} {@permission}"
- stop
- command /tree [<text>]:
- trigger:
- if player has permission "tree":
- if arg 1 is "off":
- set {tree.status} to 0
- send "{@tag} &7TreeAssist jest &cOFF"
- if arg 1 is "on":
- set {tree.status} to 1
- send "{@tag} &7TreeAssist jest &aON"
- else:
- send "{@tag} &c/tree &7(&con&7/&coff&7)"
- stop
- else:
- send "{@tag} {@permission}"
- stop
Advertisement
Add Comment
Please, Sign In to add comment