Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /trabalhos:
- trigger:
- send "&aAbrindo menu gui ..."
- wait 5 tick
- open chest with 3 row named "&6&lTrabalhos" to player
- format slot 11 of player with a Diamond Pickaxe named "&a&lMinerador" with lore "&fMinere e consiga money Entroca!" to close then run "[make console execute command "/trabalhar minerador"]"
- format slot 13 of player with a Diamond Axe named "&8&lLenhador" with lore "&fQuebre madeiras e consiga money Entroca!" to close then run "[make console execute command "/trabalhar lenhador"]"
- format slot 11 of player with a Diamond Sword named "&c&lMatador" with lore "&fMate players e consiga money Entroca!" to close then run "[make console execute command "/trabalhar matador"]"
- stop
- command /trabalhar [<text>]:
- trigger:
- if arg 1 is "minerador":
- set {Trabalho.%player%::M} to true
- set {Trabalho.%player%::K} to false
- set {Trabalho.%player%::L} to false
- set {Quantia.M::%player%} to true
- send "&6&lTrabalho: &eAgora você trabalha como minerador"
- stop
- if arg 1 is "lenhador":
- set {Trabalho.%player%::L} to true
- set {Trabalho.%player%::M} to false
- set {Trabalho.%player%::K} to false
- set {Quantia.L::%player%} to true
- send "&6&lTrabalho: &eAgora você trabalha como lenhador"
- stop
- if arg 1 is "matador":
- set {Trabalho.%player%::K} to true
- set {Trabalho.%player%::L} to false
- set {Trabalho.%player%::M} to false
- set {Quantia.K::%player%} to true
- send "&6&lTrabalho: &eAgora você trabalha como matador"
- stop
- on mine of Lapis Lazuli Ore:
- if {Trabalho.%player%::M} is true:
- if {Quantia.M::%player%} = 1500:
- send "&aVocê conseguil acumular 64 blocos, dinheiro entregue..."
- make console execute command "/money give %player% 1500"
- stop
- if {Quantia.M::%player%} = 2240:
- send "&a&lVocê conseguil acumular 2240 blocos, dinheiro entregue..."
- set {Quantia.M::%player%} to 0
- make console execute command "/money give %player% 15000"
- stop
- else:
- add 1 to {Quantia.M::%player%}
- stop
- on death of a player:
- if {Trabalho.%player%::K} is true:
- if {Quantia.K::%player%} is 50:
- set {Quantia.K::%player%} to 0
- send "&a&lVocê conseguil acumular 50 kills, dinheiro entregue..."
- make console execute command "/money give %player% 50000"
- stop
- else:
- add 1 to {Quantia.K::%player%}
- stop
- on break of log:
- if {Trabalho.%player%::L} is true:
- if {Quantia.L::%player%} is 64:
- set {Quantia.L::%player%} to 0
- send "&a&lVocê conseguil acumular 64 madeiras, dinheiro entregue..."
- make console execute command "/money give %player% 500"
- stop
- else:
- add 1 to {Quantia.L::%player%}
- stop
- command /trabalho sair:
- trigger:
- if {Trabalho.%player%::M} is true:
- set {Trabalho.%player%::M} to false
- send "&aVocê saiu do trabalho!"
- stop
- if {Trabalho.%player%::K} is true:
- set {Trabalho.%player%::K} to false
- send "&aVocê saiu do trabalho!"
- stop
- if {Trabalho.%player%::L} is true:
- set {Trabalho.%player%::L} to false
- send "&aVocê saiu do trabalho!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement