Advertisement
zGhol

Untitled

Feb 13th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 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&lTrabalhos" to player
  6. 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"]"
  7. 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"]"
  8. 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"]"
  9. stop
  10.  
  11. command /trabalhar [<text>]:
  12. trigger:
  13. if arg 1 is "minerador":
  14. set {Trabalho.%player%::M} to true
  15. set {Trabalho.%player%::K} to false
  16. set {Trabalho.%player%::L} to false
  17. set {Quantia.M::%player%} to true
  18. send "&6&lTrabalho: &eAgora você trabalha como minerador"
  19. stop
  20. if arg 1 is "lenhador":
  21. set {Trabalho.%player%::L} to true
  22. set {Trabalho.%player%::M} to false
  23. set {Trabalho.%player%::K} to false
  24. set {Quantia.L::%player%} to true
  25. send "&6&lTrabalho: &eAgora você trabalha como lenhador"
  26. stop
  27. if arg 1 is "matador":
  28. set {Trabalho.%player%::K} to true
  29. set {Trabalho.%player%::L} to false
  30. set {Trabalho.%player%::M} to false
  31. set {Quantia.K::%player%} to true
  32. send "&6&lTrabalho: &eAgora você trabalha como matador"
  33. stop
  34.  
  35. on mine of Lapis Lazuli Ore:
  36. if {Trabalho.%player%::M} is true:
  37. if {Quantia.M::%player%} = 1500:
  38. send "&aVocê conseguil acumular 64 blocos, dinheiro entregue..."
  39. make console execute command "/money give %player% 1500"
  40. stop
  41. if {Quantia.M::%player%} = 2240:
  42. send "&a&lVocê conseguil acumular 2240 blocos, dinheiro entregue..."
  43. set {Quantia.M::%player%} to 0
  44. make console execute command "/money give %player% 15000"
  45. stop
  46. else:
  47. add 1 to {Quantia.M::%player%}
  48. stop
  49.  
  50. on death of a player:
  51. if {Trabalho.%player%::K} is true:
  52. if {Quantia.K::%player%} is 50:
  53. set {Quantia.K::%player%} to 0
  54. send "&a&lVocê conseguil acumular 50 kills, dinheiro entregue..."
  55. make console execute command "/money give %player% 50000"
  56. stop
  57. else:
  58. add 1 to {Quantia.K::%player%}
  59. stop
  60.  
  61. on break of log:
  62. if {Trabalho.%player%::L} is true:
  63. if {Quantia.L::%player%} is 64:
  64. set {Quantia.L::%player%} to 0
  65. send "&a&lVocê conseguil acumular 64 madeiras, dinheiro entregue..."
  66. make console execute command "/money give %player% 500"
  67. stop
  68. else:
  69. add 1 to {Quantia.L::%player%}
  70. stop
  71.  
  72. command /trabalho sair:
  73. trigger:
  74. if {Trabalho.%player%::M} is true:
  75. set {Trabalho.%player%::M} to false
  76. send "&aVocê saiu do trabalho!"
  77. stop
  78. if {Trabalho.%player%::K} is true:
  79. set {Trabalho.%player%::K} to false
  80. send "&aVocê saiu do trabalho!"
  81. stop
  82. if {Trabalho.%player%::L} is true:
  83. set {Trabalho.%player%::L} to false
  84. send "&aVocê saiu do trabalho!"
  85. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement