Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ▒██████ ▒██████████ #
- # ▒██ ▒██ ▒████ ▒███████ ▒████ ▒███████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██████ ▒██ ▒██████ ▒████████ ▒████████ #
- # ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▀▀ #
- # ▒██ ▒██ ▒██ ▒██ ▒███████ ▒██ ▒██ ▒███████ ▒██ ▒██████████ ▒████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒████████ #
- # ▒██████ ▒████████ ▒██ ▒████████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██████ ▒██ ▒██████ ▒██ ▒██ #
- # ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ #
- # ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒███████ ▒███████ ▒██████████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒████████ #
- variables:
- {usoudano.%player%} = false
- function SpawnMagico(p: player):
- spawn a villager at location of {_p}
- set name of last spawned villager to "&e&lMAGICO"
- add "{NoAI:1}" to nbt of last spawned villager
- add "{Gravity:1}" to nbt of last spawned villager
- function RemoveMagico(p: player):
- loop all entities:
- if name of loop-entity is "&e&lMAGICO":
- clear loop-entity
- on damage:
- if name of victim is "&e&lMAGICO":
- if victim is villager:
- cancel event
- on rightclick on villager:
- if name of clicked entity is "&e&lMAGICO":
- cancel event
- make player execute command "/magicopainelcentral"
- command /magico [<text>]:
- trigger:
- if player has permission "magico.usar":
- if arg 1 is "cancelar":
- send action bar from "&e&lMagico &fCompra cancelada." to player
- if arg 1 is "spawnar":
- SpawnMagico(player)
- send action bar from "&e&lMagico &fVocê spawnou o magico." to player
- if arg 1 is "despawn":
- RemoveMagico(player)
- send action bar from "&e&lMagico &fVocê removeu o magico." to player
- if arg 1 is not "spawnar" or "despawn":
- send action bar from "&e&lMagico &fUse /magico (spawnar/despawn)" to player
- if arg 1 is not set:
- send action bar from "&e&lMagico &fUse /magico (spawnar/despawn)" to player
- else:
- send action bar from "&e&lMagico &fSem permissão para isso." to player
- command /magicopainelcentral:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Painel" to player
- wait a tick
- 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"]
- 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
- 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"]
- command /magicocomprarvarinhassegredo:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Shop" to player
- wait 2 tick
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- command /magicouparvarinhasegredo:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 4 row named "&8Magico - Upar" to player
- wait 2 tick
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- #Regem
- command /confirmarvarinharegenquerover:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- command /comprarvarinharegenquerover:
- trigger:
- if player's balance is more or equal to 13000:
- remove 13000 from player's balance
- send action bar from "&e&lMagico &fAguarde..." to player
- wait 2 seconds
- send action bar from "&e&lMagico &fConcluido." to player
- wait 1 second
- send action bar from "&e&lMagico &fVarinha de regeneração comprada." to player
- give 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f1||&7" to player
- else:
- send action bar from "&e&lMagico &fAguarde..." to player
- wait 2 seconds
- send action bar from "&e&lMagico &fConcluido." to player
- wait 1 second
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- command /confirmaruparvarinharegem:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- command /confirmaruparvarinharegem3:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- on rightclick:
- if tool of player is diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f1||&7":
- if {usoudano.%player%} is false:
- apply potion of regeneration 3 to the player for 3 seconds
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
- send action bar from "&e&lVarinha &fVocê enfeitiçou você." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- on rightclick:
- if tool of player is diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f2||&7":
- if {usoudano.%player%} is false:
- apply potion of regeneration 3 to the player for 6 seconds
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
- send action bar from "&e&lVarinha &fVocê enfeitiçou você." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- on rightclick:
- if tool of player is diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f3||&7":
- if {usoudano.%player%} is false:
- apply potion of regeneration 3 to the player for 9 seconds
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
- send action bar from "&e&lVarinha &fVocê enfeitiçou você." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- command /uparvarinhaderegemparalevel2:
- trigger:
- if player's inventory has 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f1||&7":
- if player's balance is more or equal to 10000:
- remove 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f1||&7" from player
- remove 10000 from player's balance
- send action bar from "&e&lVarinha &fUpando varinha..." to player
- wait 2 seconds
- give 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f2||&7" to player
- send action bar from "&e&lVarinha &fFoi upada para level 2." to player
- else:
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- else:
- send action bar from "&e&lMagico &fÉ necessario a varinha level 1." to player
- command /uparvarinhaderegemparalevel3:
- trigger:
- if player's inventory has 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f2||&7":
- if player's balance is more or equal to 10000:
- remove 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f2||&7" from player
- remove 10000 from player's balance
- send action bar from "&e&lVarinha &fUpando varinha..." to player
- wait 2 seconds
- give 1 diamond hoe named "&eVarinha de Regeneração" with lore "||&7Level: &f3||&7" to player
- send action bar from "&e&lVarinha &fFoi upada para level 3." to player
- else:
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- else:
- send action bar from "&e&lMagico &fÉ necessario a varinha level 2." to player
- #Raio
- command /confirmarvarinharaioquerover:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- command /comprarvarinharaioquerover:
- trigger:
- if player's balance is more or equal to 15000:
- remove 15000 from player's balance
- send action bar from "&e&lMagico &fAguarde..." to player
- wait 2 seconds
- send action bar from "&e&lMagico &fConcluido." to player
- wait 1 second
- send action bar from "&e&lMagico &fVarinha do raio comprada." to player
- give 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f1||&7" to player
- else:
- send action bar from "&e&lMagico &fAguarde..." to player
- wait 2 seconds
- send action bar from "&e&lMagico &fConcluido." to player
- wait 1 second
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- command /confirmaruparvarinharaio:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- command /confirmaruparvarinharaio3:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- on rightclick on a player:
- if tool of player is gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f1||&7":
- if {usoudano.%player%} is false:
- loop 10 times:
- wait 5 ticks
- strike lightning at clicked entity
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi raiado." to clicked entity
- send action bar from "&e&lVarinha &fVocê raiou o jogador." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- on rightclick on a player:
- if tool of player is gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f2||&7":
- if {usoudano.%player%} is false:
- loop 15 times:
- wait 5 ticks
- strike lightning at clicked entity
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi raiado." to clicked entity
- send action bar from "&e&lVarinha &fVocê raiou o jogador." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- on rightclick on a player:
- if tool of player is gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f3||&7":
- if {usoudano.%player%} is false:
- loop 20 times:
- wait 5 ticks
- strike lightning at clicked entity
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi raiado." to clicked entity
- send action bar from "&e&lVarinha &fVocê raiou o jogador." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- command /uparvarinhaderaioparalevel2:
- trigger:
- if player's inventory has 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f1||&7":
- if player's balance is more or equal to 10000:
- remove 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f1||&7" from player
- remove 10000 from player's balance
- send action bar from "&e&lVarinha &fUpando varinha..." to player
- wait 2 seconds
- give 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f2||&7" to player
- send action bar from "&e&lVarinha &fFoi upada para level 2." to player
- else:
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- else:
- send action bar from "&e&lMagico &fÉ necessario a varinha level 1." to player
- command /uparvarinhaderaioparalevel3:
- trigger:
- if player's inventory has 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f2||&7":
- if player's balance is more or equal to 10000:
- remove 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f2||&7" from player
- remove 10000 from player's balance
- send action bar from "&e&lVarinha &fUpando varinha..." to player
- wait 2 seconds
- give 1 gold hoe named "&eVarinha do Raio" with lore "||&7Level: &f3||&7" to player
- send action bar from "&e&lVarinha &fFoi upada para level 3." to player
- else:
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- else:
- send action bar from "&e&lMagico &fÉ necessario a varinha level 2." to player
- #Lentidão
- command /confirmarvarinhalentidaoquerover:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- command /comprarvarinhalentidaoquerover:
- trigger:
- if player's balance is more or equal to 10000:
- remove 10000 from player's balance
- send action bar from "&e&lMagico &fAguarde..." to player
- wait 2 seconds
- send action bar from "&e&lMagico &fConcluido." to player
- wait 1 second
- send action bar from "&e&lMagico &fVarinha de lentidao comprada." to player
- give 1 iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f1||&7" to player
- else:
- send action bar from "&e&lMagico &fAguarde..." to player
- wait 2 seconds
- send action bar from "&e&lMagico &fConcluido." to player
- wait 1 second
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- command /confirmaruparvarinhalentidao:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- command /confirmaruparvarinhalentidao3:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- on rightclick on a player:
- if tool of player is iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f1||&7":
- if {usoudano.%player%} is false:
- apply potion of slowness 3 to the clicked entity for 5 seconds
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
- send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- on rightclick on a player:
- if tool of player is iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f2||&7":
- if {usoudano.%player%} is false:
- apply potion of slowness 3 to the clicked entity for 10 seconds
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
- send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- on rightclick on a player:
- if tool of player is iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f3||&7":
- if {usoudano.%player%} is false:
- apply potion of slowness 3 to the clicked entity for 15 seconds
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
- send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- command /uparvarinhadelentidaoparalevel2:
- trigger:
- if player's inventory has 1 iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f1||&7":
- if player's balance is more or equal to 10000:
- remove 1 iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f1||&7" from player
- remove 10000 from player's balance
- send action bar from "&e&lVarinha &fUpando varinha..." to player
- wait 2 seconds
- give 1 iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f2||&7" to player
- send action bar from "&e&lVarinha &fFoi upada para level 2." to player
- else:
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- else:
- send action bar from "&e&lMagico &fÉ necessario a varinha level 1." to player
- command /uparvarinhadelentidaoparalevel3:
- trigger:
- if player's inventory has 1 iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f2||&7":
- if player's balance is more or equal to 10000:
- remove 1 iron hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f2||&7" from player
- remove 10000 from player's balance
- send action bar from "&e&lVarinha &fUpando varinha..." to player
- wait 2 seconds
- give 1 iron hoe named "&eVarinha de Lentidão" with lore "||&7Level: &f3||&7" to player
- send action bar from "&e&lVarinha &fFoi upada para level 3." to player
- else:
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- else:
- send action bar from "&e&lMagico &fÉ necessario a varinha level 2." to player
- #Cegueira
- command /confirmarvarinhacegueiraquerover:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- command /comprarvarinhacegueiraquerover:
- trigger:
- if player's balance is more or equal to 12000:
- remove 12000 from player's balance
- send action bar from "&e&lMagico &fAguarde..." to player
- wait 2 seconds
- send action bar from "&e&lMagico &fConcluido." to player
- wait 1 second
- send action bar from "&e&lMagico &fVarinha de cegueira comprada." to player
- give 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f1||&7" to player
- else:
- send action bar from "&e&lMagico &fAguarde..." to player
- wait 2 seconds
- send action bar from "&e&lMagico &fConcluido." to player
- wait 1 second
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- command /confirmaruparvarinhacegueira:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- command /confirmaruparvarinhacegueira3:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- on rightclick on a player:
- if tool of player is stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f1||&7":
- if {usoudano.%player%} is false:
- apply potion of blindness 3 to the clicked entity for 5 seconds
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
- send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- on rightclick on a player:
- if tool of player is stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f2||&7":
- if {usoudano.%player%} is false:
- apply potion of blindness 3 to the clicked entity for 10 seconds
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
- send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- on rightclick on a player:
- if tool of player is stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f3||&7":
- if {usoudano.%player%} is false:
- apply potion of blindness 3 to the clicked entity for 15 seconds
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
- send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- command /uparvarinhadecegueiraparalevel2:
- trigger:
- if player's inventory has 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f1||&7":
- if player's balance is more or equal to 10000:
- remove 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f1||&7" from player
- remove 10000 from player's balance
- send action bar from "&e&lVarinha &fUpando varinha..." to player
- wait 2 seconds
- give 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f2||&7" to player
- send action bar from "&e&lVarinha &fFoi upada para level 2." to player
- else:
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- else:
- send action bar from "&e&lMagico &fÉ necessario a varinha level 1." to player
- command /uparvarinhadecegueiraparalevel3:
- trigger:
- if player's inventory has 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f2||&7":
- if player's balance is more or equal to 10000:
- remove 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f2||&7" from player
- remove 10000 from player's balance
- send action bar from "&e&lVarinha &fUpando varinha..." to player
- wait 2 seconds
- give 1 stone hoe named "&eVarinha de Cegueira" with lore "||&7Level: &f3||&7" to player
- send action bar from "&e&lVarinha &fFoi upada para level 3." to player
- else:
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- else:
- send action bar from "&e&lMagico &fÉ necessario a varinha level 2." to player
- #Dano
- command /confirmaruparvarinhadano:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- command /confirmaruparvarinhadano3:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- command /confirmarvarinhadanoquerover:
- trigger:
- play "ORB_PICKUP" to player at volume 0.5
- open chest with 3 row named "&8Magico - Confirmação" to player
- wait 2 tick
- 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"]
- 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
- 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"]
- command /comprarvarinhadedanoquerover:
- trigger:
- if player's balance is more or equal to 14000:
- remove 14000 from player's balance
- send action bar from "&e&lMagico &fAguarde..." to player
- wait 2 seconds
- send action bar from "&e&lMagico &fConcluido." to player
- wait 1 second
- send action bar from "&e&lMagico &fVarinha de dano comprada." to player
- give 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f1||&7" to player
- else:
- send action bar from "&e&lMagico &fAguarde..." to player
- wait 2 seconds
- send action bar from "&e&lMagico &fConcluido." to player
- wait 1 second
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- on rightclick on a player:
- if tool of player is wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f1||&7":
- if {usoudano.%player%} is false:
- apply potion of poison 3 to the clicked entity for 5 seconds
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
- send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- on rightclick on a player:
- if tool of player is wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f2||&7":
- if {usoudano.%player%} is false:
- apply potion of poison 3 to the clicked entity for 10 seconds
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
- send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- on rightclick on a player:
- if tool of player is wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f3||&7":
- if {usoudano.%player%} is false:
- apply potion of poison 3 to the clicked entity for 15 seconds
- set {usoudano.%player%} to true
- send action bar from "&e&lVarinha &fVocê foi enfeitiçado." to clicked entity
- send action bar from "&e&lVarinha &fVocê enfeitiçou o jogador." to player
- wait 30 seconds
- set {usoudano.%player%} to false
- send action bar from "&e&lVarinha &fVocê já pode usar novamente." to player
- else:
- send action bar from "&e&lVarinha &fAguarde para usar novamente." to player
- command /uparvarinhadedanoparalevel2:
- trigger:
- if player's inventory has 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f1||&7":
- if player's balance is more or equal to 10000:
- remove 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f1||&7" from player
- remove 10000 from player's balance
- send action bar from "&e&lVarinha &fUpando varinha..." to player
- wait 2 seconds
- give 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f2||&7" to player
- send action bar from "&e&lVarinha &fFoi upada para level 2." to player
- else:
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- else:
- send action bar from "&e&lMagico &fÉ necessario a varinha level 1." to player
- command /uparvarinhadedanoparalevel3:
- trigger:
- if player's inventory has 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f2||&7":
- if player's balance is more or equal to 10000:
- remove 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f2||&7" from player
- remove 10000 from player's balance
- send action bar from "&e&lVarinha &fUpando varinha..." to player
- wait 2 seconds
- give 1 wooden hoe named "&eVarinha do Dano" with lore "||&7Level: &f3||&7" to player
- send action bar from "&e&lVarinha &fFoi upada para level 3." to player
- else:
- send action bar from "&e&lMagico &fSaldo insuficiente." to player
- else:
- send action bar from "&e&lMagico &fÉ necessario a varinha level 2." to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement