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&lT&e&lrabalhos" to player
- format slot 11 of player with a Diamond Pickaxe named "&a&lMinerador" with lore "&8&l-> &eSalario >> &aR$1500.00%newline%&8&l* &cReceba a cada 64 blocos minerados." to close then run "[make console execute command "/trabalhar minerador"]"
- format slot 13 of player with a Diamond Axe named "&8&lLenhador" with lore "&8&l-> &eSalario >> &aR$500.00%newline%&8&l* &cReceba a cada 64 madeiras quebradas." to close then run "[make console execute command "/trabalhar lenhador"]"
- format slot 15 of player with a Diamond Sword named "&c&lMatador" with lore "&8&l-> &eSalario >> &aR$50000.00%newline%&8&l* &cReceba a cada 50 kills." to close then run "[make console execute command "/trabalhar matador"]"
- format slot 0 of player with a black sained glass pane named " " with lore " " to close
- format slot 1 of player with a black sained glass pane named " " with lore " " to close
- format slot 9 of player with a black sained glass pane named " " with lore " " to close
- format slot 18 of player with a black sained glass pane named " " with lore " " to close
- format slot 19 of player with a black sained glass pane named " " with lore " " to close
- format slot 7 of player with a black sained glass pane named " " with lore " " to close
- format slot 8 of player with a black sained glass pane named " " with lore " " to close
- format slot 26 of player with a black sained glass pane named " " with lore " " to close
- format slot 2 of player with a with sained glass pane named " " with lore " " to close
- format slot 3 of player with a with sained glass pane named " " with lore " " to close
- format slot 5 of player with a with sained glass pane named " " with lore " " to close
- format slot 6 of player with a with sained glass pane named " " with lore " " to close
- format slot 12 of player with a with sained glass pane named " " with lore " " to close
- format slot 14 of player with a with sained glass pane named " " with lore " " to close
- format slot 10 of player with a with sained glass pane named " " with lore " " to close
- format slot 20 of player with a with sained glass pane named " " with lore " " to close
- format slot 21 of player with a with sained glass pane named " " with lore " " to close
- format slot 22 of player with a with sained glass pane named " " with lore " " to close
- format slot 23 of player with a with sained glass pane named " " with lore " " to close
- format slot 24 of player with a with sained glass pane named " " with lore " " to close
- format slot 25 of player with a with sained glass pane named " " with lore " " to close
- 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