laivytkill

Untitled

Apr 22nd, 2021 (edited)
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.40 KB | None | 0 0
  1. command /atributos [<number>]:
  2. aliases: poder, forca, força, pontos, ponto, atributo, stats
  3. trigger:
  4. set {_i} to "%{var::%player%::idioma}%"
  5. set {_p1} to "%{lingua::%{_i}%::Atual-Atributos}%"
  6. set {_p2} to "%{lingua::%{_i}%::Custo-Atributos}%"
  7. set {_p3} to "%{lingua::%{_i}%::Pontos-Atributos}%"
  8. set {_modo} to 1
  9. if arg-1 is set:
  10. arg-1 >= 1
  11. set {_modo} to arg-1
  12. broadcast "%{_modo}%"
  13. open chest with 6 rows named "&eAtributos" to player
  14. wait 1 tick
  15. while name of player's current inventory is "&eAtributos":
  16. set slot 10 of player's current inventory to campfire named {lingua::%{_i}%::LimiteDeChakra} with lore {lingua::%{_i}%::LimiteDeChakra-desc::*}, "", "%{_p1}% &f%{var::%player%::limite-chakra}%", "%{_p2}% &f%(({var::%player%::limite-chakra} + 1) * 3) * {_modo}% %{_p3}%", "&0limite-chakra"
  17. set slot 19 of player's current inventory to soul campfire named {lingua::%{_i}%::LimiteDeMana} with lore {lingua::%{_i}%::LimiteDeMana-desc::*}, "", "%{_p1}% &f%{var::%player%::limite-mana}%", "%{_p2}% &f%(({var::%player%::limite-mana} + 1) * 5) * {_modo}% %{_p3}%", "&0limite-mana"
  18. set slot 13 of player's current inventory to diamond sword named {lingua::%{_i}%::Taijutsu} with lore {lingua::%{_i}%::Taijutsu-desc::*}, "", "%{_p1}% &f%{var::%player%::taijutsu}%", "%{_p2}% &f%(({var::%player%::taijutsu} + 1) * 3.5) * {_modo}% %{_p3}%", "&0taijutsu"
  19. set slot 14 of player's current inventory to ender crystal named {lingua::%{_i}%::Espirito} with lore {lingua::%{_i}%::Espirito-desc::*}, "", "%{_p1}% &f%{var::%player%::espirito}%", "%{_p2}% &f%(({var::%player%::espirito} + 1) * 4) * {_modo}% %{_p3}%", "&0espirito"
  20. set slot 15 of player's current inventory to DanielSK.getCustomItem("whitenaruto:vida") named {lingua::%{_i}%::Vida} with lore {lingua::%{_i}%::Vida-desc::*}, "", "%{_p1}% &f%{var::%player%::vida}%", "%{_p2}% &f%(({var::%player%::vida} + 1) * 3.7) * {_modo}% %{_p3}%", "&0vida"
  21. set slot 16 of player's current inventory to diamond chestplate named {lingua::%{_i}%::Resistencia} with lore {lingua::%{_i}%::Resistencia-desc::*}, "", "%{_p1}% &f%{var::%player%::resistencia}%", "%{_p2}% &f%(({var::%player%::resistencia} + 1) * 8) * {_modo}% %{_p3}%", "&0resistencia"
  22. set slot 22 of player's current inventory to rabbit foot named {lingua::%{_i}%::Velocidade} with lore {lingua::%{_i}%::Velocidade-desc::*}, "", "%{_p1}% &f%{var::%player%::velocidade}%", "%{_p2}% &f%(({var::%player%::velocidade} + 1) * 7.5) * {_modo}% %{_p3}%", "&0velocidade"
  23. set slot 23 of player's current inventory to dragon breath named {lingua::%{_i}%::Folego} with lore {lingua::%{_i}%::Folego-desc::*}, "", "%{_p1}% &f%{var::%player%::folego}%", "%{_p2}% &f%(({var::%player%::folego} + 1) * 7.5) * {_modo}% %{_p3}%", "&0folego"
  24. set slot 24 of player's current inventory to DanielSK.getCustomItem("whitenaruto:manual") named {lingua::%{_i}%::SelosManuais} with lore {lingua::%{_i}%::SelosManuais-desc::*}, "", "%{_p1}% &f%{var::%player%::selosmanuais}%", "%{_p2}% &f%(({var::%player%::selosmanuais} + 1) * 10) * {_modo}% %{_p3}%", "&0selosmanuais"
  25. set slot 25 of player's current inventory to clock named {lingua::%{_i}%::Concentracao} with lore {lingua::%{_i}%::Concentracao-desc::*}, "", "%{_p1}% &f%{var::%player%::concentracao}%", "%{_p2}% &f%(({var::%player%::concentracao} + 1) * 25) * {_modo}% %{_p3}%", "&0concentracao"
  26. set slot 40 of player's current inventory to bow named {lingua::%{_i}%::Mira} with lore {lingua::%{_i}%::Mira-desc::*}, "", "%{_p1}% &f%{var::%player%::mira}%", "%{_p2}% &f%(({var::%player%::mira} + 1) * 5.6) * {_modo}% %{_p3}%", "&0mira"
  27. set slot 41 of player's current inventory to brewing stand named {lingua::%{_i}%::AlquimiaMagica} with lore {lingua::%{_i}%::AlquimiaMagica-desc::*}, "", "%{_p1}% &f%{var::%player%::alquimiamagica}%", "%{_p2}% &f%(({var::%player%::alquimiamagica} + 1) * 5) * {_modo}% %{_p3}%", "&0alquimiamagica"
  28. set slot 42 of player's current inventory to magma cream named {lingua::%{_i}%::Elementos} with lore {lingua::%{_i}%::Elementos-desc::*}
  29.  
  30. set slot 43 of player's current inventory to DanielSK.getCustomItem("whitenaruto:sharingan") named "&eDoujutsus" with lore {lingua::%{_i}%::Doujutsus-desc::*}
  31.  
  32. set slot 37 of player's current inventory to DanielSK.getCustomItem("whitenaruto:interrogacao") named {lingua::%{_i}%::QualMelhor} with lore {lingua::%{_i}%::QualMelhor-desc::*}
  33.  
  34. set slot 53 of player's current inventory to {_modo} of DanielSK.getCustomItem("whitenaruto:pontos") named "%{lingua::%{_i}%::Multiplicador}% &e(x%{_modo}%)" with lore {lingua::%{_i}%::Multiplicador-desc::*} with enchants flag hidden
  35. enchant slot 53 of player's current inventory with sharpness 1
  36.  
  37. if {var::%player%::magiaon} is not set:
  38. set slot 19 of player's current inventory to DanielSK.getCustomItem("mcicons:icon_lock") named "&6Limite de Mana" with lore "", "&7A &6Magia &7não está liberada", "&7para você! faça mais missões", "&7para conseguir desbloquear!"
  39. set slot 40 of player's current inventory to DanielSK.getCustomItem("mcicons:icon_lock") named "&6Mira Mágica" with lore "", "&7A &6Magia &7não está liberada", "&7para você! faça mais missões", "&7para conseguir desbloquear!"
  40. set slot 41 of player's current inventory to DanielSK.getCustomItem("mcicons:icon_lock") named "&6Alquimia Mágica" with lore "", "&7A &6Magia &7não está liberada", "&7para você! faça mais missões", "&7para conseguir desbloquear!"
  41.  
  42. wait 1 seconds
  43.  
Add Comment
Please, Sign In to add comment