Advertisement
zGhol

Untitled

Feb 16th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.02 KB | None | 0 0
  1. command /trabalhos:
  2. trigger:
  3. send "&aAbrindo menu gui ..."
  4. wait 5 tick
  5. open chest with 3 row named "&6&lT&e&lrabalhos" to player
  6. 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"]"
  7. 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"]"
  8. 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"]"
  9. format slot 0 of player with a black sained glass pane named " " with lore " " to close
  10. format slot 1 of player with a black sained glass pane named " " with lore " " to close
  11. format slot 9 of player with a black sained glass pane named " " with lore " " to close
  12. format slot 18 of player with a black sained glass pane named " " with lore " " to close
  13. format slot 19 of player with a black sained glass pane named " " with lore " " to close
  14. format slot 7 of player with a black sained glass pane named " " with lore " " to close
  15. format slot 8 of player with a black sained glass pane named " " with lore " " to close
  16. format slot 26 of player with a black sained glass pane named " " with lore " " to close
  17. format slot 2 of player with a with sained glass pane named " " with lore " " to close
  18. format slot 3 of player with a with sained glass pane named " " with lore " " to close
  19. format slot 5 of player with a with sained glass pane named " " with lore " " to close
  20. format slot 6 of player with a with sained glass pane named " " with lore " " to close
  21. format slot 12 of player with a with sained glass pane named " " with lore " " to close
  22. format slot 14 of player with a with sained glass pane named " " with lore " " to close
  23. format slot 10 of player with a with sained glass pane named " " with lore " " to close
  24. format slot 20 of player with a with sained glass pane named " " with lore " " to close
  25. format slot 21 of player with a with sained glass pane named " " with lore " " to close
  26. format slot 22 of player with a with sained glass pane named " " with lore " " to close
  27. format slot 23 of player with a with sained glass pane named " " with lore " " to close
  28. format slot 24 of player with a with sained glass pane named " " with lore " " to close
  29. format slot 25 of player with a with sained glass pane named " " with lore " " to close
  30. stop
  31.  
  32. command /trabalhar [<text>]:
  33. trigger:
  34. if arg 1 is "minerador":
  35. set {Trabalho.%player%::M} to true
  36. set {Trabalho.%player%::K} to false
  37. set {Trabalho.%player%::L} to false
  38. set {Quantia.M::%player%} to true
  39. send "&6&lTrabalho: &eAgora você trabalha como minerador"
  40. stop
  41. if arg 1 is "lenhador":
  42. set {Trabalho.%player%::L} to true
  43. set {Trabalho.%player%::M} to false
  44. set {Trabalho.%player%::K} to false
  45. set {Quantia.L::%player%} to true
  46. send "&6&lTrabalho: &eAgora você trabalha como lenhador"
  47. stop
  48. if arg 1 is "matador":
  49. set {Trabalho.%player%::K} to true
  50. set {Trabalho.%player%::L} to false
  51. set {Trabalho.%player%::M} to false
  52. set {Quantia.K::%player%} to true
  53. send "&6&lTrabalho: &eAgora você trabalha como matador"
  54. stop
  55.  
  56. on mine of Lapis Lazuli Ore:
  57. if {Trabalho.%player%::M} is true:
  58. if {Quantia.M::%player%} = 1500:
  59. send "&aVocê conseguil acumular 64 blocos, dinheiro entregue..."
  60. make console execute command "/money give %player% 1500"
  61. stop
  62. if {Quantia.M::%player%} = 2240:
  63. send "&a&lVocê conseguil acumular 2240 blocos, dinheiro entregue..."
  64. set {Quantia.M::%player%} to 0
  65. make console execute command "/money give %player% 15000"
  66. stop
  67. else:
  68. add 1 to {Quantia.M::%player%}
  69. stop
  70.  
  71. on death of a player:
  72. if {Trabalho.%player%::K} is true:
  73. if {Quantia.K::%player%} is 50:
  74. set {Quantia.K::%player%} to 0
  75. send "&a&lVocê conseguil acumular 50 kills, dinheiro entregue..."
  76. make console execute command "/money give %player% 50000"
  77. stop
  78. else:
  79. add 1 to {Quantia.K::%player%}
  80. stop
  81.  
  82. on break of log:
  83. if {Trabalho.%player%::L} is true:
  84. if {Quantia.L::%player%} is 64:
  85. set {Quantia.L::%player%} to 0
  86. send "&a&lVocê conseguil acumular 64 madeiras, dinheiro entregue..."
  87. make console execute command "/money give %player% 500"
  88. stop
  89. else:
  90. add 1 to {Quantia.L::%player%}
  91. stop
  92.  
  93. command /trabalho sair:
  94. trigger:
  95. if {Trabalho.%player%::M} is true:
  96. set {Trabalho.%player%::M} to false
  97. send "&aVocê saiu do trabalho!"
  98. stop
  99. if {Trabalho.%player%::K} is true:
  100. set {Trabalho.%player%::K} to false
  101. send "&aVocê saiu do trabalho!"
  102. stop
  103. if {Trabalho.%player%::L} is true:
  104. set {Trabalho.%player%::L} to false
  105. send "&aVocê saiu do trabalho!"
  106. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement