Advertisement
Guest User

RVarinhas

a guest
Aug 19th, 2017
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.51 KB | None | 0 0
  1. # ▒██████ ▒██████████ #
  2. # ▒██ ▒██ ▒████ ▒███████ ▒████ ▒███████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██████ ▒██ ▒██████ ▒████████ ▒████████ #
  3. # ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▀▀ #
  4. # ▒██ ▒██ ▒██ ▒██ ▒███████ ▒██ ▒██ ▒███████ ▒██ ▒██████████ ▒████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒████████ #
  5. # ▒██████ ▒████████ ▒██ ▒████████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██████ ▒██ ▒██████ ▒██ ▒██ #
  6. # ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ #
  7. # ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒███████ ▒███████ ▒██████████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒████████ #
  8.  
  9.  
  10.  
  11. variables:
  12. {usoudano.%player%} = false
  13.  
  14.  
  15. function SpawnMagico(p: player):
  16. spawn a villager at location of {_p}
  17. set name of last spawned villager to "&e&lMAGICO"
  18. add "{NoAI:1}" to nbt of last spawned villager
  19. add "{Gravity:1}" to nbt of last spawned villager
  20.  
  21. function RemoveMagico(p: player):
  22. loop all entities:
  23. if name of loop-entity is "&e&lMAGICO":
  24. clear loop-entity
  25.  
  26. on damage:
  27. if name of victim is "&e&lMAGICO":
  28. if victim is villager:
  29. cancel event
  30.  
  31. on rightclick on villager:
  32. if name of clicked entity is "&e&lMAGICO":
  33. cancel event
  34. make player execute command "/magicopainelcentral"
  35.  
  36. command /magico [<text>]:
  37. trigger:
  38. if player has permission "magico.usar":
  39. if arg 1 is "cancelar":
  40. send action bar from "&e&lMagico &fCompra cancelada." to player
  41. if arg 1 is "spawnar":
  42. SpawnMagico(player)
  43. send action bar from "&e&lMagico &fVocê spawnou o magico." to player
  44. if arg 1 is "despawn":
  45. RemoveMagico(player)
  46. send action bar from "&e&lMagico &fVocê removeu o magico." to player
  47. if arg 1 is not "spawnar" or "despawn":
  48. send action bar from "&e&lMagico &fUse /magico (spawnar/despawn)" to player
  49. if arg 1 is not set:
  50. send action bar from "&e&lMagico &fUse /magico (spawnar/despawn)" to player
  51. else:
  52. send action bar from "&e&lMagico &fSem permissão para isso." to player
  53.  
  54.  
  55. command /magicopainelcentral:
  56. trigger:
  57. play "ORB_PICKUP" to player at volume 0.5
  58. open chest with 3 row named "&8Magico - Painel" to player
  59. wait a tick
  60. format slot 11 of player with wooden hoe named "&eLoja de Varinhas" with lore "&f||&7Aqui no shop do magico,||&7você encontrarár varias varinhas,||&7aproveite.||&f" to run [make player execute command "magicocomprarvarinhassegredo"]
  61. format slot 13 of player with paper named "&eInformações" with lore "||&7Aqui estão algumas informações ||&7sobre o magico.||||&7Com essas varinhas você pode||&7dar efeitos ruins no jogador||&7que estiver lutando com você,||&7isso irá te dar uma vantagem||&7muito grande de ganhar a batalhar.||&f" to be unstealable
  62. format slot 15 of player with arrow named "&eUpar Varinhas" with lore "&f||&7Aqui você poderá upar suas varinhas||&7que adquirir no shop do magico." to run [make player execute command "magicouparvarinhasegredo"]
  63.  
  64.  
  65. command /magicocomprarvarinhassegredo:
  66. trigger:
  67. play "ORB_PICKUP" to player at volume 0.5
  68. open chest with 3 row named "&8Magico - Shop" to player
  69. wait 2 tick
  70. format slot 11 of player with wooden hoe named "&eVarinha do Dano" with lore "&f||&7Com essa varinha você poderá||&7infeitiçar seu adversario.||||&7Preço: &f14000 Moedas||&7Quantidade: &f1||&f" to run [make player execute command "confirmarvarinhadanoquerover"]
  71. format slot 12 of player with stone hoe named "&eVarinha da Cegueira" with lore "&f||&7Com essa varinha você poderá||&7infeitiçar seu adversario.||||&7Preço: &f12000 Moedas||&7Quantidade: &f1||&f" to run [make player execute command "confirmarvarinhacegueiraquerover"]
  72. format slot 13 of player with iron hoe named "&eVarinha da Lentidão" with lore "&f||&7Com essa varinha você poderá||&7infeitiçar seu adversario.||||&7Preço: &f10000 Moedas||&7Quantidade: &f1||&f" to run [make player execute command "confirmarvarinhalentidaoquerover"]
  73. format slot 14 of player with gold hoe named "&eVarinha do Raio" with lore "&f||&7Com essa varinha você poderá||&7jogar uma chuva de raio||&7 em seu adversario.||||&7Preço: &f15000 Moedas||&7Quantidade: &f1||&f" to run [make player execute command "confirmarvarinharaioquerover"]
  74. format slot 15 of player with diamond hoe named "&eVarinha de Regeneração" with lore "&f||&7Com essa varinha você poderá||&7aplicar regeneração||&7 em você.||||&7Preço: &f13000 Moedas||&7Quantidade: &f1||&f" to run [make player execute command "confirmarvarinharegenquerover"]
  75. format slot 26 of player with arrow named "&eRetorna" with lore "&f||&7Clique para retorna ao magico.||&f" to run [make player execute command "magicopainelcentral"]
  76.  
  77. command /magicouparvarinhasegredo:
  78. trigger:
  79. play "ORB_PICKUP" to player at volume 0.5
  80. open chest with 4 row named "&8Magico - Upar" to player
  81. wait 2 tick
  82. format slot 11 of player with wooden hoe named "&eUpar varinha do Dano" with lore "&f||&7Você pode upar sua varinha||&7para o level 2, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to run [make player execute command "confirmaruparvarinhadano"]
  83. format slot 20 of player with wooden hoe named "&eUpar varinha do Dano" with lore "&f||&7Você pode upar sua varinha||&7para o level 3, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to run [make player execute command "confirmaruparvarinhadano3"]
  84. format slot 12 of player with stone hoe named "&eUpar varinha de Cegueira" with lore "&f||&7Você pode upar sua varinha||&7para o level 2, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to run [make player execute command "confirmaruparvarinhacegueira"]
  85. format slot 21 of player with stone hoe named "&eUpar varinha de Cegueira" with lore "&f||&7Você pode upar sua varinha||&7para o level 3, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to run [make player execute command "confirmaruparvarinhacegueira3"]
  86. format slot 13 of player with iron hoe named "&eUpar varinha de Lentidão" with lore "&f||&7Você pode upar sua varinha||&7para o level 2, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to run [make player execute command "confirmaruparvarinhalentidao"]
  87. format slot 22 of player with iron hoe named "&eUpar varinha de Lentidão" with lore "&f||&7Você pode upar sua varinha||&7para o level 3, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to run [make player execute command "confirmaruparvarinhalentidao3"]
  88. format slot 14 of player with gold hoe named "&eUpar varinha do Raio" with lore "&f||&7Você pode upar sua varinha||&7para o level 2, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to run [make player execute command "confirmaruparvarinharaio"]
  89. format slot 23 of player with gold hoe named "&eUpar varinha do Raio" with lore "&f||&7Você pode upar sua varinha||&7para o level 3, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to run [make player execute command "confirmaruparvarinharaio3"]
  90. format slot 15 of player with diamond hoe named "&eUpar varinha de Regeneração " with lore "&f||&7Você pode upar sua varinha||&7para o level 2, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to run [make player execute command "confirmaruparvarinharegem"]
  91. format slot 24 of player with diamond hoe named "&eUpar varinha de Regeneração" with lore "&f||&7Você pode upar sua varinha||&7para o level 3, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to run [make player execute command "confirmaruparvarinharegem3"]
  92. format slot 26 of player with arrow named "&eRetorna" with lore "&f||&7Clique para retorna ao magico.||&f" to run [make player execute command "magicopainelcentral"]
  93. #Regem
  94. command /confirmarvarinharegenquerover:
  95. trigger:
  96. play "ORB_PICKUP" to player at volume 0.5
  97. open chest with 3 row named "&8Magico - Confirmação" to player
  98. wait 2 tick
  99. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "comprarvarinharegenquerover"]
  100. format slot 13 of player with diamond hoe named "&eVarinha de Regeneração" with lore "&f||&7Com essa varinha você poderá||&7enfeitiçart vocÊ.||||&7Preço: &f13000 Moedas||&7Quantidade: &f1||&f" to be unstealable
  101. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  102. command /comprarvarinharegenquerover:
  103. trigger:
  104. if player's balance is more or equal to 13000:
  105. remove 13000 from player's balance
  106. send action bar from "&e&lMagico &fAguarde..." to player
  107. wait 2 seconds
  108. send action bar from "&e&lMagico &fConcluido." to player
  109. wait 1 second
  110. send action bar from "&e&lMagico &fVarinha de regeneração comprada." to player
  111. give 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f1||&7" to player
  112. else:
  113. send action bar from "&e&lMagico &fAguarde..." to player
  114. wait 2 seconds
  115. send action bar from "&e&lMagico &fConcluido." to player
  116. wait 1 second
  117. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  118. command /confirmaruparvarinharegem:
  119. trigger:
  120. play "ORB_PICKUP" to player at volume 0.5
  121. open chest with 3 row named "&8Magico - Confirmação" to player
  122. wait 2 tick
  123. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "uparvarinhaderegemparalevel2"]
  124. format slot 13 of player with diamond hoe named "&eUpar varinha de Regeneração" with lore "&f||&7Você pode upar sua varinha||&7para o level 2, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to be unstealable
  125. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  126. command /confirmaruparvarinharegem3:
  127. trigger:
  128. play "ORB_PICKUP" to player at volume 0.5
  129. open chest with 3 row named "&8Magico - Confirmação" to player
  130. wait 2 tick
  131. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "uparvarinhaderegemparalevel3"]
  132. format slot 13 of player with diamond hoe named "&eUpar varinha de Regeneração" with lore "&f||&7Você pode upar sua varinha||&7para o level 3, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to be unstealable
  133. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  134. on rightclick:
  135. if tool of player is diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f1||&7":
  136. if {usoudano.%player%} is false:
  137. apply potion of regeneration 3 to the player for 3 seconds
  138. set {usoudano.%player%} to true
  139. send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
  140. send action bar from "&e&lVarinha &fVocê enfeitiçou você." to player
  141. wait 30 seconds
  142. set {usoudano.%player%} to false
  143. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  144. else:
  145. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  146. on rightclick:
  147. if tool of player is diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f2||&7":
  148. if {usoudano.%player%} is false:
  149. apply potion of regeneration 3 to the player for 6 seconds
  150. set {usoudano.%player%} to true
  151. send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
  152. send action bar from "&e&lVarinha &fVocê enfeitiçou você." to player
  153. wait 30 seconds
  154. set {usoudano.%player%} to false
  155. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  156. else:
  157. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  158. on rightclick:
  159. if tool of player is diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f3||&7":
  160. if {usoudano.%player%} is false:
  161. apply potion of regeneration 3 to the player for 9 seconds
  162. set {usoudano.%player%} to true
  163. send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
  164. send action bar from "&e&lVarinha &fVocê enfeitiçou você." to player
  165. wait 30 seconds
  166. set {usoudano.%player%} to false
  167. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  168. else:
  169. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  170.  
  171. command /uparvarinhaderegemparalevel2:
  172. trigger:
  173. if player's inventory has 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f1||&7":
  174. if player's balance is more or equal to 10000:
  175. remove 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f1||&7" from player
  176. remove 10000 from player's balance
  177. send action bar from "&e&lVarinha &fUpando varinha..." to player
  178. wait 2 seconds
  179. give 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f2||&7" to player
  180. send action bar from "&e&lVarinha &fFoi upada para level 2." to player
  181. else:
  182. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  183. else:
  184. send action bar from "&e&lMagico &fÉ necessario a varinha level 1." to player
  185.  
  186. command /uparvarinhaderegemparalevel3:
  187. trigger:
  188. if player's inventory has 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f2||&7":
  189. if player's balance is more or equal to 10000:
  190. remove 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f2||&7" from player
  191. remove 10000 from player's balance
  192. send action bar from "&e&lVarinha &fUpando varinha..." to player
  193. wait 2 seconds
  194. give 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f3||&7" to player
  195. send action bar from "&e&lVarinha &fFoi upada para level 3." to player
  196. else:
  197. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  198. else:
  199. send action bar from "&e&lMagico &fÉ necessario a varinha level 2." to player
  200.  
  201.  
  202.  
  203. #Raio
  204. command /confirmarvarinharaioquerover:
  205. trigger:
  206. play "ORB_PICKUP" to player at volume 0.5
  207. open chest with 3 row named "&8Magico - Confirmação" to player
  208. wait 2 tick
  209. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "comprarvarinharaioquerover"]
  210. format slot 13 of player with gold hoe named "&eVarinha do Raio" with lore "&f||&7Com essa varinha você poderá||&7jogar um raio em seu adversario.||||&7Preço: &f15000 Moedas||&7Quantidade: &f1||&f" to be unstealable
  211. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  212. command /comprarvarinharaioquerover:
  213. trigger:
  214. if player's balance is more or equal to 15000:
  215. remove 15000 from player's balance
  216. send action bar from "&e&lMagico &fAguarde..." to player
  217. wait 2 seconds
  218. send action bar from "&e&lMagico &fConcluido." to player
  219. wait 1 second
  220. send action bar from "&e&lMagico &fVarinha do raio comprada." to player
  221. give 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f1||&7" to player
  222. else:
  223. send action bar from "&e&lMagico &fAguarde..." to player
  224. wait 2 seconds
  225. send action bar from "&e&lMagico &fConcluido." to player
  226. wait 1 second
  227. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  228. command /confirmaruparvarinharaio:
  229. trigger:
  230. play "ORB_PICKUP" to player at volume 0.5
  231. open chest with 3 row named "&8Magico - Confirmação" to player
  232. wait 2 tick
  233. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "uparvarinhaderaioparalevel2"]
  234. format slot 13 of player with gold hoe named "&eUpar varinha do Raio" with lore "&f||&7Você pode upar sua varinha||&7para o level 2, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to be unstealable
  235. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  236. command /confirmaruparvarinharaio3:
  237. trigger:
  238. play "ORB_PICKUP" to player at volume 0.5
  239. open chest with 3 row named "&8Magico - Confirmação" to player
  240. wait 2 tick
  241. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "uparvarinhaderaioparalevel3"]
  242. format slot 13 of player with gold hoe named "&eUpar varinha do Raio" with lore "&f||&7Você pode upar sua varinha||&7para o level 3, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to be unstealable
  243. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  244. on rightclick on a player:
  245. if tool of player is gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f1||&7":
  246. if {usoudano.%player%} is false:
  247. loop 10 times:
  248. wait 5 ticks
  249. strike lightning at clicked entity
  250. set {usoudano.%player%} to true
  251. send action bar from "&e&lVarinha &fVocê foi raiado." to clicked entity
  252. send action bar from "&e&lVarinha &fVocê raiou o jogador." to player
  253. wait 30 seconds
  254. set {usoudano.%player%} to false
  255. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  256. else:
  257. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  258. on rightclick on a player:
  259. if tool of player is gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f2||&7":
  260. if {usoudano.%player%} is false:
  261. loop 15 times:
  262. wait 5 ticks
  263. strike lightning at clicked entity
  264. set {usoudano.%player%} to true
  265. send action bar from "&e&lVarinha &fVocê foi raiado." to clicked entity
  266. send action bar from "&e&lVarinha &fVocê raiou o jogador." to player
  267. wait 30 seconds
  268. set {usoudano.%player%} to false
  269. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  270. else:
  271. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  272. on rightclick on a player:
  273. if tool of player is gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f3||&7":
  274. if {usoudano.%player%} is false:
  275. loop 20 times:
  276. wait 5 ticks
  277. strike lightning at clicked entity
  278. set {usoudano.%player%} to true
  279. send action bar from "&e&lVarinha &fVocê foi raiado." to clicked entity
  280. send action bar from "&e&lVarinha &fVocê raiou o jogador." to player
  281. wait 30 seconds
  282. set {usoudano.%player%} to false
  283. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  284. else:
  285. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  286. command /uparvarinhaderaioparalevel2:
  287. trigger:
  288. if player's inventory has 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f1||&7":
  289. if player's balance is more or equal to 10000:
  290. remove 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f1||&7" from player
  291. remove 10000 from player's balance
  292. send action bar from "&e&lVarinha &fUpando varinha..." to player
  293. wait 2 seconds
  294. give 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f2||&7" to player
  295. send action bar from "&e&lVarinha &fFoi upada para level 2." to player
  296. else:
  297. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  298. else:
  299. send action bar from "&e&lMagico &fÉ necessario a varinha level 1." to player
  300. command /uparvarinhaderaioparalevel3:
  301. trigger:
  302. if player's inventory has 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f2||&7":
  303. if player's balance is more or equal to 10000:
  304. remove 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f2||&7" from player
  305. remove 10000 from player's balance
  306. send action bar from "&e&lVarinha &fUpando varinha..." to player
  307. wait 2 seconds
  308. give 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f3||&7" to player
  309. send action bar from "&e&lVarinha &fFoi upada para level 3." to player
  310. else:
  311. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  312. else:
  313. send action bar from "&e&lMagico &fÉ necessario a varinha level 2." to player
  314.  
  315.  
  316.  
  317. #Lentidão
  318. command /confirmarvarinhalentidaoquerover:
  319. trigger:
  320. play "ORB_PICKUP" to player at volume 0.5
  321. open chest with 3 row named "&8Magico - Confirmação" to player
  322. wait 2 tick
  323. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "comprarvarinhalentidaoquerover"]
  324. format slot 13 of player with iron hoe named "&eVarinha da Lentidão" with lore "&f||&7Com essa varinha você poderá||&7infeitiçar seu adversario.||||&7Preço: &f10000 Moedas||&7Quantidade: &f1||&f" to be unstealable
  325. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  326. command /comprarvarinhalentidaoquerover:
  327. trigger:
  328. if player's balance is more or equal to 10000:
  329. remove 10000 from player's balance
  330. send action bar from "&e&lMagico &fAguarde..." to player
  331. wait 2 seconds
  332. send action bar from "&e&lMagico &fConcluido." to player
  333. wait 1 second
  334. send action bar from "&e&lMagico &fVarinha de lentidao comprada." to player
  335. give 1 iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f1||&7" to player
  336. else:
  337. send action bar from "&e&lMagico &fAguarde..." to player
  338. wait 2 seconds
  339. send action bar from "&e&lMagico &fConcluido." to player
  340. wait 1 second
  341. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  342. command /confirmaruparvarinhalentidao:
  343. trigger:
  344. play "ORB_PICKUP" to player at volume 0.5
  345. open chest with 3 row named "&8Magico - Confirmação" to player
  346. wait 2 tick
  347. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "uparvarinhadelentidaoparalevel2"]
  348. format slot 13 of player with iron hoe named "&eUpar varinha do Lentidão" with lore "&f||&7Você pode upar sua varinha||&7para o level 2, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to be unstealable
  349. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  350. command /confirmaruparvarinhalentidao3:
  351. trigger:
  352. play "ORB_PICKUP" to player at volume 0.5
  353. open chest with 3 row named "&8Magico - Confirmação" to player
  354. wait 2 tick
  355. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "uparvarinhadelentidaoparalevel3"]
  356. format slot 13 of player with iron hoe named "&eUpar varinha de Lentidão" with lore "&f||&7Você pode upar sua varinha||&7para o level 3, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to be unstealable
  357. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  358. on rightclick on a player:
  359. if tool of player is iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f1||&7":
  360. if {usoudano.%player%} is false:
  361. apply potion of slowness 3 to the clicked entity for 5 seconds
  362. set {usoudano.%player%} to true
  363. send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
  364. send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
  365. wait 30 seconds
  366. set {usoudano.%player%} to false
  367. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  368. else:
  369. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  370.  
  371. on rightclick on a player:
  372. if tool of player is iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f2||&7":
  373. if {usoudano.%player%} is false:
  374. apply potion of slowness 3 to the clicked entity for 10 seconds
  375. set {usoudano.%player%} to true
  376. send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
  377. send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
  378. wait 30 seconds
  379. set {usoudano.%player%} to false
  380. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  381. else:
  382. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  383.  
  384. on rightclick on a player:
  385. if tool of player is iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f3||&7":
  386. if {usoudano.%player%} is false:
  387. apply potion of slowness 3 to the clicked entity for 15 seconds
  388. set {usoudano.%player%} to true
  389. send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
  390. send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
  391. wait 30 seconds
  392. set {usoudano.%player%} to false
  393. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  394. else:
  395. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  396. command /uparvarinhadelentidaoparalevel2:
  397. trigger:
  398. if player's inventory has 1 iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f1||&7":
  399. if player's balance is more or equal to 10000:
  400. remove 1 iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f1||&7" from player
  401. remove 10000 from player's balance
  402. send action bar from "&e&lVarinha &fUpando varinha..." to player
  403. wait 2 seconds
  404. give 1 iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f2||&7" to player
  405. send action bar from "&e&lVarinha &fFoi upada para level 2." to player
  406. else:
  407. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  408. else:
  409. send action bar from "&e&lMagico &fÉ necessario a varinha level 1." to player
  410. command /uparvarinhadelentidaoparalevel3:
  411. trigger:
  412. if player's inventory has 1 iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f2||&7":
  413. if player's balance is more or equal to 10000:
  414. remove 1 iron hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f2||&7" from player
  415. remove 10000 from player's balance
  416. send action bar from "&e&lVarinha &fUpando varinha..." to player
  417. wait 2 seconds
  418. give 1 iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f3||&7" to player
  419. send action bar from "&e&lVarinha &fFoi upada para level 3." to player
  420. else:
  421. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  422. else:
  423. send action bar from "&e&lMagico &fÉ necessario a varinha level 2." to player
  424.  
  425.  
  426. #Cegueira
  427. command /confirmarvarinhacegueiraquerover:
  428. trigger:
  429. play "ORB_PICKUP" to player at volume 0.5
  430. open chest with 3 row named "&8Magico - Confirmação" to player
  431. wait 2 tick
  432. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "comprarvarinhacegueiraquerover"]
  433. format slot 13 of player with stone hoe named "&eVarinha de Cegueira" with lore "&f||&7Com essa varinha você poderá||&7infeitiçar seu adversario.||||&7Preço: &f12000 Moedas||&7Quantidade: &f1||&f" to be unstealable
  434. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  435. command /comprarvarinhacegueiraquerover:
  436. trigger:
  437. if player's balance is more or equal to 12000:
  438. remove 12000 from player's balance
  439. send action bar from "&e&lMagico &fAguarde..." to player
  440. wait 2 seconds
  441. send action bar from "&e&lMagico &fConcluido." to player
  442. wait 1 second
  443. send action bar from "&e&lMagico &fVarinha de cegueira comprada." to player
  444. give 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f1||&7" to player
  445. else:
  446. send action bar from "&e&lMagico &fAguarde..." to player
  447. wait 2 seconds
  448. send action bar from "&e&lMagico &fConcluido." to player
  449. wait 1 second
  450. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  451. command /confirmaruparvarinhacegueira:
  452. trigger:
  453. play "ORB_PICKUP" to player at volume 0.5
  454. open chest with 3 row named "&8Magico - Confirmação" to player
  455. wait 2 tick
  456. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "uparvarinhadecegueiraparalevel2"]
  457. format slot 13 of player with stone hoe named "&eUpar varinha do Cegueira" with lore "&f||&7Você pode upar sua varinha||&7para o level 2, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to be unstealable
  458. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  459. command /confirmaruparvarinhacegueira3:
  460. trigger:
  461. play "ORB_PICKUP" to player at volume 0.5
  462. open chest with 3 row named "&8Magico - Confirmação" to player
  463. wait 2 tick
  464. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "uparvarinhadecegueiraparalevel3"]
  465. format slot 13 of player with stone hoe named "&eUpar varinha do Dano" with lore "&f||&7Você pode upar sua varinha||&7para o level 3, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to be unstealable
  466. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  467. on rightclick on a player:
  468. if tool of player is stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f1||&7":
  469. if {usoudano.%player%} is false:
  470. apply potion of blindness 3 to the clicked entity for 5 seconds
  471. set {usoudano.%player%} to true
  472. send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
  473. send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
  474. wait 30 seconds
  475. set {usoudano.%player%} to false
  476. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  477. else:
  478. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  479.  
  480. on rightclick on a player:
  481. if tool of player is stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f2||&7":
  482. if {usoudano.%player%} is false:
  483. apply potion of blindness 3 to the clicked entity for 10 seconds
  484. set {usoudano.%player%} to true
  485. send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
  486. send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
  487. wait 30 seconds
  488. set {usoudano.%player%} to false
  489. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  490. else:
  491. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  492.  
  493. on rightclick on a player:
  494. if tool of player is stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f3||&7":
  495. if {usoudano.%player%} is false:
  496. apply potion of blindness 3 to the clicked entity for 15 seconds
  497. set {usoudano.%player%} to true
  498. send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
  499. send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
  500. wait 30 seconds
  501. set {usoudano.%player%} to false
  502. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  503. else:
  504. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  505. command /uparvarinhadecegueiraparalevel2:
  506. trigger:
  507. if player's inventory has 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f1||&7":
  508. if player's balance is more or equal to 10000:
  509. remove 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f1||&7" from player
  510. remove 10000 from player's balance
  511. send action bar from "&e&lVarinha &fUpando varinha..." to player
  512. wait 2 seconds
  513. give 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f2||&7" to player
  514. send action bar from "&e&lVarinha &fFoi upada para level 2." to player
  515. else:
  516. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  517. else:
  518. send action bar from "&e&lMagico &fÉ necessario a varinha level 1." to player
  519. command /uparvarinhadecegueiraparalevel3:
  520. trigger:
  521. if player's inventory has 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f2||&7":
  522. if player's balance is more or equal to 10000:
  523. remove 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f2||&7" from player
  524. remove 10000 from player's balance
  525. send action bar from "&e&lVarinha &fUpando varinha..." to player
  526. wait 2 seconds
  527. give 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f3||&7" to player
  528. send action bar from "&e&lVarinha &fFoi upada para level 3." to player
  529. else:
  530. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  531. else:
  532. send action bar from "&e&lMagico &fÉ necessario a varinha level 2." to player
  533.  
  534. #Dano
  535. command /confirmaruparvarinhadano:
  536. trigger:
  537. play "ORB_PICKUP" to player at volume 0.5
  538. open chest with 3 row named "&8Magico - Confirmação" to player
  539. wait 2 tick
  540. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "uparvarinhadedanoparalevel2"]
  541. format slot 13 of player with wooden hoe named "&eUpar varinha do Dano" with lore "&f||&7Você pode upar sua varinha||&7para o level 2, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to be unstealable
  542. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  543. command /confirmaruparvarinhadano3:
  544. trigger:
  545. play "ORB_PICKUP" to player at volume 0.5
  546. open chest with 3 row named "&8Magico - Confirmação" to player
  547. wait 2 tick
  548. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "uparvarinhadedanoparalevel3"]
  549. format slot 13 of player with wooden hoe named "&eUpar varinha do Dano" with lore "&f||&7Você pode upar sua varinha||&7para o level 3, isso deixara-lo||&7mais forte.||||&7Preço: &f10000 Moedas||&f" to be unstealable
  550. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  551. command /confirmarvarinhadanoquerover:
  552. trigger:
  553. play "ORB_PICKUP" to player at volume 0.5
  554. open chest with 3 row named "&8Magico - Confirmação" to player
  555. wait 2 tick
  556. format slot 11 of player with light green wool named "&aConfirmar" with lore "&f||&7Clique para confirma.||&f" to close then run [make player execute command "comprarvarinhadedanoquerover"]
  557. format slot 13 of player with wooden hoe named "&eVarinha do Dano" with lore "&f||&7Com essa varinha você poderá||&7infeitiçar seu adversario.||||&7Preço: &f14000 Moedas||&7Quantidade: &f1||&f" to be unstealable
  558. format slot 15 of player with red wool named "&cCancelar" with lore "&f||&7Clique para cancelar.||&f" to close then run [make player execute command "magico cancelar"]
  559. command /comprarvarinhadedanoquerover:
  560. trigger:
  561. if player's balance is more or equal to 14000:
  562. remove 14000 from player's balance
  563. send action bar from "&e&lMagico &fAguarde..." to player
  564. wait 2 seconds
  565. send action bar from "&e&lMagico &fConcluido." to player
  566. wait 1 second
  567. send action bar from "&e&lMagico &fVarinha de dano comprada." to player
  568. give 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f1||&7" to player
  569. else:
  570. send action bar from "&e&lMagico &fAguarde..." to player
  571. wait 2 seconds
  572. send action bar from "&e&lMagico &fConcluido." to player
  573. wait 1 second
  574. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  575. on rightclick on a player:
  576. if tool of player is wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f1||&7":
  577. if {usoudano.%player%} is false:
  578. apply potion of poison 3 to the clicked entity for 5 seconds
  579. set {usoudano.%player%} to true
  580. send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
  581. send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
  582. wait 30 seconds
  583. set {usoudano.%player%} to false
  584. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  585. else:
  586. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  587. on rightclick on a player:
  588. if tool of player is wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f2||&7":
  589. if {usoudano.%player%} is false:
  590. apply potion of poison 3 to the clicked entity for 10 seconds
  591. set {usoudano.%player%} to true
  592. send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
  593. send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
  594. wait 30 seconds
  595. set {usoudano.%player%} to false
  596. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  597. else:
  598. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  599. on rightclick on a player:
  600. if tool of player is wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f3||&7":
  601. if {usoudano.%player%} is false:
  602. apply potion of poison 3 to the clicked entity for 15 seconds
  603. set {usoudano.%player%} to true
  604. send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
  605. send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
  606. wait 30 seconds
  607. set {usoudano.%player%} to false
  608. send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
  609. else:
  610. send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
  611. command /uparvarinhadedanoparalevel2:
  612. trigger:
  613. if player's inventory has 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f1||&7":
  614. if player's balance is more or equal to 10000:
  615. remove 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f1||&7" from player
  616. remove 10000 from player's balance
  617. send action bar from "&e&lVarinha &fUpando varinha..." to player
  618. wait 2 seconds
  619. give 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f2||&7" to player
  620. send action bar from "&e&lVarinha &fFoi upada para level 2." to player
  621. else:
  622. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  623. else:
  624. send action bar from "&e&lMagico &fÉ necessario a varinha level 1." to player
  625. command /uparvarinhadedanoparalevel3:
  626. trigger:
  627. if player's inventory has 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f2||&7":
  628. if player's balance is more or equal to 10000:
  629. remove 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f2||&7" from player
  630. remove 10000 from player's balance
  631. send action bar from "&e&lVarinha &fUpando varinha..." to player
  632. wait 2 seconds
  633. give 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f3||&7" to player
  634. send action bar from "&e&lVarinha &fFoi upada para level 3." to player
  635. else:
  636. send action bar from "&e&lMagico &fSaldo insuficiente." to player
  637. else:
  638. send action bar from "&e&lMagico &fÉ necessario a varinha level 2." to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement