Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Skript : DCSkills
- # Versão : 1.5
- # Autor : Epiic/Junior
- # Forum Gamers Board (:
- # #! ==========================================================================!# #
- # #! # # # # # # _-_-_-==CONFIGURE DE ACORDO COM SEU GOSTO==-_-_-_ # # # # # # !# #
- # #! ==========================================================================!# #
- # #! === [ TRUE = SIM //// FALSE = NÃO ] === !# #
- options:
- # AVISAR QUANDO O INV ESTIVER CHEIO ? #Skill Mineração
- InvCheio: true
- InvMensagem: &7[&b@&7] &b&l%player% &cnão ha espaço no seu inventario.
- # VISAO NOTURNA EM QUANTO MINERA ? # Skill Mineração
- VisaoNoturna: true
- VisaoNoturna%: 3
- # MINERIOS RAROS /// SKILL MINERAÇAO /// #
- # Precionando com o botão direito vende o
- # minerio raro automaticamente
- Item: Nether star
- ItemExtraNome: &7&m-[&r&6&lMinerio Raro&7&m]-&r
- ItemExtraLore: &7Clique direito para vende-lo
- %ItemExtra: 2
- ItemExtraPreço: 1000
- ItemExtraMsgVenda: &7[&b@&7] &6&l%player% &avocê vendeu seu minerio raro.
- # /// SKILLS //// #
- SkillDelayMineraçao: 120 #Delay pra usar Novamente em Segundos // 120 = 2minutos //
- SkillDelayEspada: 180 #Delay pra usar Novamente em Segundos // 192 = 3minutos //
- SkillDelayMachado: 180 #Delay pra usar Novamente em Segundos // 192 = 3minutos //
- SkillTempo: 30 #Tempo em que a skill fica ativa -- \\USA NA SKILL ESPADA E SKILL MACHADO TBM// --
- MsgSkillDelay: &7[&b@&7] &6&l%player% &cAguarde para usar a skill novamente
- MsgSkillUsoMINERAÇAO: &7[&b@&7] &aVocê usou a skill de mineração.
- MsgSkillUsoESPADA: &7[&b@&7] &aVocê usou a skill da espada.
- MsgSkillUsoMACHADO: &7[&b@&7] &aVocê usou a skill do machado.
- # Abre o menu com as skills e informações.
- command /skills [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- replace all "11" with "MAX" in {SkillMineracaoNivel::%player%}
- replace all "11" with "MAX" in {SkillEspadaNivel::%player%}
- replace all "11" with "MAX" in {SkillMachadoNivel::%player%}
- open chest with 1 rows named "&2&lDCSkillsGUI" to player
- format slot 0 of player with Black Stained Glass Pane named "&7" to close then run "&7"
- format slot 1 of player with head named "&6&lP E R F I L" with lore "&7Suas informações" to close then run [make player execute command "/skills perfil"]
- format slot 2 of player with redstone named "&6&lD A N O" with lore "&b&lTOTAL: &7&l%{SkillMachado/EspadaDANO::%player%}%" to close then run "&f&l"
- format slot 3 of player with diamond pickaxe of efficiency 5 named "&6&lM I N E R A Ç A O" with lore "&b&lNV: &7&l%{SkillMineracaoNivel::%player%}% &a&l/ &b&lXP: &7&l%{SkillMineracaoXP::%player%}%" to close then run [make player execute command "/skills mineraçao"]
- format slot 4 of player with diamond axe of sharpness 5 named "&6&lM A C H A D O" with lore "&b&lNV: &7&l%{SkillMachadoNivel::%player%}% &a&l/ &b&lXP: &7&l%{SkillMachadoXP::%player%}%" to close then run [make player execute command "/skills machado"]
- format slot 5 of player with diamond sword of sharpness 5 named "&6&lE S P A D A" with lore "&b&lNV: &7&l%{SkillEspadaNivel::%player%}% &a&l/ &b&lXP: &7&l%{SkillEspadaXP::%player%}%" to close then run [make player execute command "/skills espada"]
- format slot 6 of player with bedrock named "&6&lM I N E R I O S" with lore "&7&l%{SkillMineracaoBlocos.%player%}% &b&lMinerados" to close then run "&f&l"
- format slot 7 of player with cobblestone named "&6&lB L O C O S" with lore "&7&l%{SkillMineracaoBlocosConstruidos.%player%}% &b&lConstruidos" to close then run "&f&l"
- format slot 8 of player with Black Stained Glass Pane named "&7" to close then run "&7"
- if arg 1 is "perfil":
- if arg 2 is not set:
- replace all "11" with "MAX" in {SkillMineracaoNivel::%player%}
- replace all "11" with "MAX" in {SkillEspadaNivel::%player%}
- replace all "11" with "MAX" in {SkillMachadoNivel::%player%}
- send "&2&l===================================="
- send "&7[&b@&7] &6&lMINERAÇAO&7» &b&lNV: &f&l%{SkillMineracaoNivel::%player%}% &a&l/ &b&lXP: &f&l%{SkillMineracaoXP::%player%}%"
- send "&7[&b@&7] &6&lESPADA&7» &b&lNV: &f&l%{SkillEspadaNivel::%player%}% &a&l/ &b&lXP: &f&l%{SkillEspadaXP::%player%}%"
- send "&7[&b@&7] &6&lMACHADO&7» &b&lNV: &f&l%{SkillMachadoNivel::%player%}% &a&l/ &b&lXP: &f&l%{SkillMachadoXP::%player%}%"
- send "&7[&b@&7] &6&lConstruidos&7» &f&l%{SkillMineracaoBlocosConstruidos.%player%}% &b&lBlocos"
- send "&7[&b@&7] &6&lMinerados&7» &f&l%{SkillMineracaoBlocos.%player%}% &b&lMinerados"
- send "&7[&b@&7] &6&lCausou&7» &f&l%{SkillMachado/EspadaDANO::%player%}% &b&lDano"
- send "&2&l===================================="
- else:
- replace all "11" with "MAX" in {SkillMineracaoNivel::%arg 2%}
- replace all "11" with "MAX" in {SkillEspadaNivel::%arg 2%}
- replace all "11" with "MAX" in {SkillMachadoNivel::%arg 2%}
- send "&2&l============ &3&lINFO DO %arg 2%&2&l ============"
- send "&7[&b@&7] &6&lMINERAÇAO&7» &b&lNV: &f&l%{SkillMineracaoNivel::%arg 2%}% &a&l/ &b&lXP: &f&l%{SkillMineracaoXP::%arg 2%}%"
- send "&7[&b@&7] &6&lESPADA&7» &b&lNV: &f&l%{SkillEspadaNivel::%arg 2%}% &a&l/ &b&lXP: &f&l%{SkillEspadaXP::%arg 2%}%"
- send "&7[&b@&7] &6&lMACHADO&7» &b&lNV: &f&l%{SkillMachadoNivel::%arg 2%}% &a&l/ &b&lXP: &f&l%{SkillMachadoXP::%arg 2%}%"
- send "&7[&b@&7] &6&lConstruidos&7» &f&l%{SkillMineracaoBlocosConstruidos.%arg 2%}% &b&lBlocos"
- send "&7[&b@&7] &6&lMinerados&7» &f&l%{SkillMineracaoBlocos.%arg 2%}% &b&lMinerados"
- send "&7[&b@&7] &6&lCausou&7» &f&l%{SkillMachado/EspadaDANO::%arg 2%}% &b&lDano"
- send "&2&l===================================="
- if arg 1 is "mineraçao":
- if arg 2 is not set:
- replace all "11" with "MAX" in {SkillMineracaoNivel::%player%}
- send "&2&m---------------------------------"
- send "&7[&b@&7] &6&lMINERAÇAO&7» &b&lNV: &f&l%{SkillMineracaoNivel::%player%}% &a&l/ &b&lXP: &f&l%{SkillMineracaoXP::%player%}%"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv1 = &f1000&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv2 = &f3000&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv3 = &f5000&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv4 = &f7000&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv5 = &f9000&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv6 = &f11000&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv7 = &f15000&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv8 = &f20000&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv9 = &f35000&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv10 = &f50000&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNvMax = &f100000&8XP"
- send "&2&m---------------------------------"
- else:
- send "&7[&b@&7] &cComando invalido, use: &7/skills mineraçao"
- if arg 1 is "espada":
- if arg 2 is not set:
- replace all "11" with "MAX" in {SkillEspadaNivel::%player%}
- send "&2&m---------------------------------"
- send "&7[&b@&7] &6&lESPADA&7» &b&lNV: &f&l%{SkillEspadaNivel::%player%}% &a&l/ &b&lXP: &f&l%{SkillEspadaXP::%player%}%"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv1 = &f25&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv2 = &f470&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv3 = &f890&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv4 = &f1600&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv5 = &f2300&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv6 = &f2900&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv7 = &f3500&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv8 = &f3900&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv9 = &f4700&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv10 = &f6700&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNvMax = &f8500&8XP"
- send "&2&m---------------------------------"
- else:
- send "&7[&b@&7] &cComando invalido, use: &7/skills espada"
- if arg 1 is "machado":
- if arg 2 is not set:
- replace all "11" with "MAX" in {SkillMachadoNivel::%player%}
- send "&2&m---------------------------------"
- send "&7[&b@&7] &6&lMACHADO&7» &b&lNV: &f&l%{SkillMachadoNivel::%player%}% &a&l/ &b&lXP: &f&l%{SkillMachadoXP::%player%}%"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv1 = &f35&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv2 = &f730&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv3 = &f1300&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv4 = &f1950&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv5 = &f2600&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv6 = &f3100&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv7 = &f3900&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv8 = &f4600&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv9 = &f5600&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNv10 = &f7900&8XP"
- send "&7[&b@&7] &7&lPARA UPAR: &b&lNvMax = &f11000&8XP"
- send "&2&m---------------------------------"
- else:
- send "&7[&b@&7] &cComando invalido, use: &7/skills machado"
- if arg 1 is "limpar":
- if arg 2 is not set:
- set {SkillMachado/EspadaDANO::%player%} to 0
- set {SkillMineracaoBlocosConstruidos.%player%} to 0
- set {SkillMineracaoBlocos.%player%} to 0
- set {SkillMineracaoXP::%player%} to 0
- set {SkillEspadaXP::%player%} to 0
- set {SkillMachadoXP::%player%} to 0
- set {SkillMineracaoNivel::%player%} to 0
- set {SkillEspadaNivel::%player%} to 0
- set {SkillMachadoNivel::%player%} to 0
- send "&7[&b@&7] &cValores do %player% limpos."
- else:
- if player has permission "dcskills.clear":
- set {SkillMachado/EspadaDANO::%arg 2%} to 0
- set {SkillMineracaoBlocosConstruidos.%arg 2%} to 0
- set {SkillMineracaoBlocos.%arg 2%} to 0
- set {SkillMineracaoXP::%arg 2%} to 0
- set {SkillEspadaXP::%arg 2%} to 0
- set {SkillMachadoXP::%arg 2%} to 0
- set {SkillMineracaoNivel::%arg 2%} to 0
- set {SkillEspadaNivel::%arg 2%} to 0
- set {SkillMachadoNivel::%arg 2%} to 0
- send "&7[&b@&7] &cValores do %arg 2% limpos."
- # #! =======================================================!# #
- # #! # # # # # # _-_-_-==SKILL PICARETA==-_-_-_ # # # # # # !# #
- # #! =======================================================!# #
- on rightclick with {@Item}:
- if name of tool of player contains "&7&m-[&r&6&lMinerio Raro&7&m]-&r":
- remove 1 of tool from tool
- send "{@ItemExtraMsgVenda}"
- wait 1 tick
- add {@ItemExtraPreço} to player's balance
- add 1 to {SkillMineracaoXP::%player%}
- on rightclick with pickaxe:
- if player is holding a pickaxe:
- if player 's gamemode is creative:
- stop
- set {_espera} to difference between {SkillMineraçãoDelayUso::%player%} and now
- if {_espera} is less than {@SkillDelayMineraçao} seconds:
- send "{@MsgSkillDelay}."
- stop
- set {SkillMineraçãoDelayUso::%player%} to now
- set {UseiSkillMineração::%player%} to true
- wait 1 tick
- apply potion of fast digging 10 to the player for {@SkillTempo} seconds
- apply potion of night vision 5 to the player for {@SkillTempo} seconds
- apply potion of speed 5 to the player for {@SkillTempo} seconds
- send ""
- send "{@MsgSkillUsoMINERAÇAO}"
- send ""
- if player is offline:
- set {PlayerOfiline::%player%} to true
- wait {@SkillTempo} seconds
- remove fast digging from the player
- remove night vision from the player
- remove speed from the player
- set {UseiSkillMineração::%player%} to false
- on mine:
- if player is holding a pickaxe:
- add 1 to {SkillMineracaoBlocos.%player%}
- add 1 to {SkillMineracaoXP::%player%}
- if {SkillMineracaoXP::%player%} is 1000:
- if {SkillMineracaoNivel::%player%} is 0:
- set {SkillMineracaoNivel::%player%} to 1
- broadcast "&7[&b@&7] &6&l%player% &aupou sua skill de mineração para o Nv1"
- deploy star firework colored orange at player with duration 0
- deploy star firework colored blue at player with duration 0
- deploy star firework colored red at player with duration 0
- if {SkillMineracaoXP::%player%} is 3000:
- if {SkillMineracaoNivel::%player%} is 1:
- set {SkillMineracaoNivel::%player%} to 2
- broadcast "&7[&b@&7] &6&l%player% &aupou sua skill de mineração para o Nv2"
- deploy star firework colored orange at player with duration 0
- deploy star firework colored blue at player with duration 0
- deploy star firework colored red at player with duration 0
- if {SkillMineracaoXP::%player%} is 5000:
- if {SkillMineracaoNivel::%player%} is 2:
- set {SkillMineracaoNivel::%player%} to 3
- broadcast "&7[&b@&7] &6&l%player% &aupou sua skill de mineração para o Nv3"
- deploy star firework colored orange at player with duration 0
- deploy star firework colored blue at player with duration 0
- deploy star firework colored red at player with duration 0
- if {SkillMineracaoXP::%player%} is 7000:
- if {SkillMineracaoNivel::%player%} is 3:
- set {SkillMineracaoNivel::%player%} to 4
- broadcast "&7[&b@&7] &6&l%player% &aupou sua skill de mineração para o Nv4"
- deploy star firework colored orange at player with duration 0
- deploy star firework colored blue at player with duration 0
- deploy star firework colored red at player with duration 0
- if {SkillMineracaoXP::%player%} is 9000:
- if {SkillMineracaoNivel::%player%} is 4:
- set {SkillMineracaoNivel::%player%} to 5
- broadcast "&7[&b@&7] &6&l%player% &aupou sua skill de mineração para o Nv5"
- deploy star firework colored orange at player with duration 0
- deploy star firework colored blue at player with duration 0
- deploy star firework colored red at player with duration 0
- if {SkillMineracaoXP::%player%} is 11000:
- if {SkillMineracaoNivel::%player%} is 5:
- set {SkillMineracaoNivel::%player%} to 6
- broadcast "&7[&b@&7] &6&l%player% &aupou sua skill de mineração para o Nv6"
- deploy star firework colored orange at player with duration 0
- deploy star firework colored blue at player with duration 0
- deploy star firework colored red at player with duration 0
- if {SkillMineracaoXP::%player%} is 15000:
- if {SkillMineracaoNivel::%player%} is 6:
- set {SkillMineracaoNivel::%player%} to 7
- broadcast "&7[&b@&7] &6&l%player% &aupou sua skill de mineração para o Nv7"
- deploy star firework colored orange at player with duration 0
- deploy star firework colored blue at player with duration 0
- deploy star firework colored red at player with duration 0
- if {SkillMineracaoXP::%player%} is 20000:
- if {SkillMineracaoNivel::%player%} is 7:
- set {SkillMineracaoNivel::%player%} to 8
- broadcast "&7[&b@&7] &6&l%player% &aupou sua skill de mineração para o Nv8"
- deploy star firework colored orange at player with duration 0
- deploy star firework colored blue at player with duration 0
- deploy star firework colored red at player with duration 0
- if {SkillMineracaoXP::%player%} is 35000:
- if {SkillMineracaoNivel::%player%} is 8:
- set {SkillMineracaoNivel::%player%} to 9
- broadcast "&7[&b@&7] &6&l%player% &aupou sua skill de mineração para o Nv9"
- deploy star firework colored orange at player with duration 0
- deploy star firework colored blue at player with duration 0
- deploy star firework colored red at player with duration 0
- if {SkillMineracaoXP::%player%} is 50000:
- if {SkillMineracaoNivel::%player%} is 9:
- set {SkillMineracaoNivel::%player%} to 10
- broadcast "&7[&b@&7] &6&l%player% &aupou sua skill de mineração para o Nv10"
- deploy star firework colored orange at player with duration 0
- deploy star firework colored blue at player with duration 0
- deploy star firework colored red at player with duration 0
- if {SkillMineracaoXP::%player%} is 100000:
- if {SkillMineracaoNivel::%player%} is 10:
- set {SkillMineracaoNivel::%player%} to 11
- broadcast "&7[&b@&7] &6&l%player% &aupou sua skill de mineração para o NvMAX"
- deploy star firework colored orange at player with duration 0
- deploy star firework colored blue at player with duration 0
- deploy star firework colored red at player with duration 0
- wait 2 seconds
- deploy star firework colored black at player with duration 0
- deploy star firework colored pink at player with duration 0
- deploy star firework colored gray at player with duration 0
- wait 2 seconds
- deploy star firework colored orange at player with duration 0
- deploy star firework colored blue at player with duration 0
- deploy star firework colored red at player with duration 0
- if {UseiSkillMineração::%player%} is true:
- set {_Particola} to location of block
- spawn 10 of particle lava offset by 0, 0, 0 at {_Particola}
- if {@VisaoNoturna} is true:
- chance of {@VisaoNoturna%}%:
- apply potion of night vision 10 to the player for 5 seconds
- if {ItemExtra} is true:
- if {SkillMineracaoNivel::%player%} is 0:
- chance of {@%ItemExtra}%:
- drop 1 {@Item} of unbreaking 10 named "{@ItemExtraNome}" with lore "{@ItemExtraLore}"
- if {SkillMineracaoNivel::%player%} is 1 or 2:
- chance of 2.7%:
- drop 1 {@Item} of unbreaking 10 named "{@ItemExtraNome}" with lore "{@ItemExtraLore}"
- if {SkillMineracaoNivel::%player%} is 3 or 4:
- chance of 3.3%:
- drop 1 {@Item} of unbreaking 10 named "{@ItemExtraNome}" with lore "{@ItemExtraLore}"
- if {SkillMineracaoNivel::%player%} is 5 or 6:
- chance of 3.8%:
- drop 1 {@Item} of unbreaking 10 named "{@ItemExtraNome}" with lore "{@ItemExtraLore}"
- if {SkillMineracaoNivel::%player%} is 7 or 8:
- chance of 4.8%:
- drop 1 {@Item} of unbreaking 10 named "{@ItemExtraNome}" with lore "{@ItemExtraLore}"
- if {SkillMineracaoNivel::%player%} is 9 or 10:
- chance of 6.3%:
- drop 1 {@Item} of unbreaking 10 named "{@ItemExtraNome}" with lore "{@ItemExtraLore}"
- if {SkillMineracaoNivel::%player%} is 11:
- chance of 8.5%:
- drop 1 {@Item} of unbreaking 10 named "{@ItemExtraNome}" with lore "{@ItemExtraLore}"
- if {UseiSkillMineração::%player%} is true:
- chance of 10%:
- drop 1 {@Item} of unbreaking 10 named "{@ItemExtraNome}" with lore "{@ItemExtraLore}"
- if player can't hold a dirt with name "&4&lNAO ME CABE AE":
- if {@InvCheio} is true:
- message "{@InvMensagem}"
- # #! ======================================================!# #
- # #! # # # # # # _-_-_-==SKILL MACHADO==-_-_-_ # # # # # # !# #
- # #! ======================================================!# #
- on rightclick with axe:
- if player is holding a axe:
- if player 's gamemode is creative:
- stop
- set {_espera} to difference between {SkillMachadoDelayUso::%player%} and now
- if {_espera} is less than {@SkillDelayMachado} seconds:
- send "{@MsgSkillDelay}."
- stop
- set {SkillMachadoDelayUso::%player%} to now
- set {UseiSkillMachado::%player%} to true
- wait 1 tick
- if {SkillMachadoNivel::%player%} is 0:
- apply potion of speed 1 to the player for {@SkillTempo} seconds
- apply potion of regeneration 1 to the player for {@SkillTempo} seconds
- if {SkillMachadoNivel::%player%} is 1 or 2 or 3:
- apply potion of regeneration 1 to the player for {@SkillTempo} seconds
- apply potion of strength 1 to the player for {@SkillTempo} seconds
- apply potion of fire resistance 1 to the player for {@SkillTempo} seconds
- apply potion of speed 1 to the player for {@SkillTempo} seconds
- if {SkillMachadoNivel::%player%} is 4 or 5 or 6:
- apply potion of regeneration 2 to the player for {@SkillTempo} seconds
- apply potion of strength 1 to the player for {@SkillTempo} seconds
- apply potion of fire resistance 2 to the player for {@SkillTempo} seconds
- apply potion of speed 2 to the player for {@SkillTempo} seconds
- if {SkillMachadoNivel::%player%} is 7 or 8 or 9:
- apply potion of regeneration 2 to the player for {@SkillTempo} seconds
- apply potion of strength 2 to the player for {@SkillTempo} seconds
- apply potion of fire resistance 2 to the player for {@SkillTempo} seconds
- apply potion of speed 2 to the player for {@SkillTempo} seconds
- if {SkillMachadoNivel::%player%} is 10 or 11:
- apply potion of regeneration 3 to the player for {@SkillTempo} seconds
- apply potion of strength 2 to the player for {@SkillTempo} seconds
- apply potion of fire resistance 3 to the player for {@SkillTempo} seconds
- apply potion of speed 2 to the player for {@SkillTempo} seconds
- send ""
- send "{@MsgSkillUsoMACHADO}"
- send ""
- if player is offline:
- set {PlayerOfiline::%player%} to true
- wait {@SkillTempo} seconds
- remove regeneration from the player
- remove strength from the player
- remove fire resistance from the player
- remove speed from the player
- set {UseiSkillMachado::%player%} to false
- on damage:
- attacker is a player
- victim is a player
- attacker is holding an axe:
- if player is attacker:
- if gamemode is survival:
- add 1 to {SkillMachadoXP::%attacker%}
- if {SkillMachadoXP::%attacker%} is 35:
- set {SkillMachadoNivel::%attacker%} to 1
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill do machado para o Nv1"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillMachadoXP::%attacker%} is 730:
- if {SkillMachadoNivel::%attacker%} is 1:
- set {SkillMachadoNivel::%attacker%} to 2
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill do machado para o Nv2"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillMachadoXP::%attacker%} is 1300:
- if {SkillMachadoNivel::%attacker%} is 2:
- set {SkillMachadoNivel::%attacker%} to 3
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill do machado para o Nv3"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillMachadoXP::%attacker%} is 1950:
- if {SkillMachadoNivel::%attacker%} is 3:
- set {SkillMachadoNivel::%attacker%} to 4
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill do machado para o Nv4"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillMachadoXP::%attacker%} is 2600:
- if {SkillMachadoNivel::%attacker%} is 4:
- set {SkillMachadoNivel::%attacker%} to 5
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill do machado para o Nv5"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillMachadoXP::%attacker%} is 3100:
- if {SkillMachadoNivel::%attacker%} is 5:
- set {SkillMachadoNivel::%attacker%} to 6
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill do machado para o Nv6"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillMachadoXP::%attacker%} is 3900:
- if {SkillMachadoNivel::%attacker%} is 6:
- set {SkillMachadoNivel::%attacker%} to 7
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill do machado para o Nv7"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillMachadoXP::%attacker%} is 4600:
- if {SkillMachadoNivel::%attacker%} is 7:
- set {SkillMachadoNivel::%attacker%} to 8
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill do machado para o Nv8"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillMachadoXP::%attacker%} is 5600:
- if {SkillMachadoNivel::%attacker%} is 8:
- set {SkillMachadoNivel::%attacker%} to 9
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill do machado para o Nv9"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillMachadoXP::%attacker%} is 7900:
- if {SkillMachadoNivel::%attacker%} is 9:
- set {SkillMachadoNivel::%attacker%} to 10
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill do machado para o Nv10"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillMachadoXP::%attacker%} is 11000:
- if {SkillMachadoNivel::%attacker%} is 10:
- set {SkillMachadoNivel::%attacker%} to 11
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill do machado para o NvMAX"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- wait 2 seconds
- deploy star firework colored black at attacker with duration 0
- deploy star firework colored pink at attacker with duration 0
- deploy star firework colored gray at attacker with duration 0
- wait 2 seconds
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- # #! =====================================================!# #
- # #! # # # # # # _-_-_-==SKILL ESPADA==-_-_-_ # # # # # # !# #
- # #! =====================================================!# #
- on rightclick with sword:
- if player is holding a sword:
- if player 's gamemode is creative:
- stop
- set {_espera} to difference between {SkillEspadaDelayUso::%player%} and now
- if {_espera} is less than {@SkillDelayEspada} seconds:
- send "{@MsgSkillDelay}."
- stop
- set {SkillEspadaDelayUso::%player%} to now
- set {UseiSkillEspada::%player%} to true
- wait 1 tick
- if {SkillEspadaNivel::%player%} is 0:
- apply potion of speed 1 to the player for {@SkillTempo} seconds
- apply potion of regeneration 1 to the player for {@SkillTempo} seconds
- if {SkillEspadaNivel::%player%} is 1 or 2 or 3:
- apply potion of regeneration 1 to the player for {@SkillTempo} seconds
- apply potion of strength 1 to the player for {@SkillTempo} seconds
- apply potion of fire resistance 1 to the player for {@SkillTempo} seconds
- apply potion of speed 1 to the player for {@SkillTempo} seconds
- if {SkillEspadaNivel::%player%} is 4 or 5 or 6:
- apply potion of regeneration 2 to the player for {@SkillTempo} seconds
- apply potion of strength 1 to the player for {@SkillTempo} seconds
- apply potion of fire resistance 2 to the player for {@SkillTempo} seconds
- apply potion of speed 2 to the player for {@SkillTempo} seconds
- if {SkillEspadaNivel::%player%} is 7 or 8 or 9:
- apply potion of regeneration 2 to the player for {@SkillTempo} seconds
- apply potion of strength 2 to the player for {@SkillTempo} seconds
- apply potion of fire resistance 2 to the player for {@SkillTempo} seconds
- apply potion of speed 2 to the player for {@SkillTempo} seconds
- if {SkillEspadaNivel::%player%} is 10 or 11:
- apply potion of regeneration 3 to the player for {@SkillTempo} seconds
- apply potion of strength 2 to the player for {@SkillTempo} seconds
- apply potion of fire resistance 3 to the player for {@SkillTempo} seconds
- apply potion of speed 2 to the player for {@SkillTempo} seconds
- send ""
- send "{@MsgSkillUsoESPADA}"
- send ""
- if player is offline:
- set {PlayerOfiline::%player%} to true
- wait {@SkillTempo} seconds
- remove regeneration from the player
- remove strength from the player
- remove fire resistance from the player
- remove speed from the player
- set {UseiSkillEspada::%player%} to false
- on damage:
- attacker is a player
- victim is a player
- attacker is holding an sword:
- if player is attacker:
- if gamemode is survival:
- add 1 to {SkillEspadaXP::%attacker%}
- if {SkillEspadaXP::%attacker%} is 25:
- set {SkillEspadaNivel::%attacker%} to 1
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill de espada para o Nv1"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillEspadaXP::%attacker%} is 470:
- if {SkillEspadaNivel::%attacker%} is 1:
- set {SkillEspadaNivel::%attacker%} to 2
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill de espada para o Nv2"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillEspadaXP::%attacker%} is 890:
- if {SkillEspadaNivel::%attacker%} is 2:
- set {SkillEspadaNivel::%attacker%} to 3
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill de espada para o Nv3"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillEspadaXP::%attacker%} is 1600:
- if {SkillEspadaNivel::%attacker%} is 3:
- set {SkillEspadaNivel::%attacker%} to 4
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill de espada para o Nv4"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillEspadaXP::%attacker%} is 2300:
- if {SkillEspadaNivel::%attacker%} is 4:
- set {SkillEspadaNivel::%attacker%} to 5
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill de espada para o Nv5"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillEspadaXP::%attacker%} is 2900:
- if {SkillEspadaNivel::%attacker%} is 5:
- set {SkillEspadaNivel::%attacker%} to 6
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill de espada para o Nv6"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillEspadaXP::%attacker%} is 3500:
- if {SkillEspadaNivel::%attacker%} is 6:
- set {SkillEspadaNivel::%attacker%} to 7
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill de espada para o Nv7"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillEspadaXP::%attacker%} is 3900:
- if {SkillEspadaNivel::%attacker%} is 7:
- set {SkillEspadaNivel::%attacker%} to 8
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill de espada para o Nv8"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillEspadaXP::%attacker%} is 4700:
- if {SkillEspadaNivel::%attacker%} is 8:
- set {SkillEspadaNivel::%attacker%} to 9
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill de espada para o Nv9"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillEspadaXP::%attacker%} is 6700:
- if {SkillEspadaNivel::%attacker%} is 9:
- set {SkillEspadaNivel::%attacker%} to 10
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill de espada para o Nv10"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- if {SkillEspadaXP::%attacker%} is 8500:
- if {SkillEspadaNivel::%attacker%} is 10:
- set {SkillEspadaNivel::%attacker%} to 11
- broadcast "&7[&b@&7] &6&l%attacker% &aupou sua skill de espada para o NvMAX"
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- wait 2 seconds
- deploy star firework colored black at attacker with duration 0
- deploy star firework colored pink at attacker with duration 0
- deploy star firework colored gray at attacker with duration 0
- wait 2 seconds
- deploy star firework colored orange at attacker with duration 0
- deploy star firework colored blue at attacker with duration 0
- deploy star firework colored red at attacker with duration 0
- # EXTRAS #
- on damage:
- add 1 to {SkillMachado/EspadaDANO::%attacker%}
- on place:
- add 1 to {SkillMineracaoBlocosConstruidos.%player%}
- on join:
- if {SkillMineracaoBlocos.%player%} is not set:
- set {SkillMineracaoBlocos.%player%} to 0
- if {SkillMineracaoBlocosConstruidos.%player%} is not set:
- set {SkillMineracaoBlocosConstruidos.%player%} to 0
- if {SkillMachado/EspadaDANO::%player%} is not set:
- set {SkillMachado/EspadaDANO::%player%} to 0
- if {SkillMineracaoXP::%player%} is not set:
- set {SkillMineracaoXP::%player%} to 0
- if {SkillEspadaXP::%player%} is not set:
- set {SkillEspadaXP::%player%} to 0
- if {SkillMachadoXP::%player%} is not set:
- set {SkillMachadoXP::%player%} to 0
- if {SkillMineracaoNivel::%player%} is not set:
- set {SkillMineracaoNivel::%player%} to 0
- if {SkillEspadaNivel::%player%} is not set:
- set {SkillEspadaNivel::%player%} to 0
- if {SkillMachadoNivel::%player%} is not set:
- set {SkillMachadoNivel::%player%} to 0
- if {UseiSkillMineração::%player%} is true:
- remove haste from the player
- remove night vision from the player
- remove speed from the player
- wait 1 tick
- set {UseiSkillMineração::%player%} to false
- set {PlayerOfiline::%player%} to false
- set {SkillEspadaDelayUso::%player%} to now
- wait 4 seconds
- send "&7[&c@&7] &b&l%player% &csua habilidade foi desativada." to player
- if {UseiSkillEspada::%player%} is true:
- remove regeneration from the player
- remove strength from the player
- remove fire resistance from the player
- remove speed from the player
- wait 1 tick
- set {UseiSkillEspada::%player%} to false
- set {PlayerOfiline::%player%} to false
- set {SkillEspadaDelayUso::%player%} to now
- wait 4 seconds
- send "&7[&c@&7] &b&l%player% &csua habilidade foi desativada." to player
- if {UseiSkillMachado::%player%} is true:
- remove regeneration from the player
- remove strength from the player
- remove fire resistance from the player
- remove speed from the player
- wait 1 tick
- set {UseiSkillMachado::%player%} to false
- set {PlayerOfiline::%player%} to false
- set {SkillEspadaDelayUso::%player%} to now
- wait 4 seconds
- send "&7[&c@&7] &b&l%player% &csua habilidade foi desativada." to player
- if {PlayerOfiline::%player%} is true:
- remove haste from the player
- remove night vision from the player
- remove speed from the player
- remove regeneration from the player
- remove strength from the player
- remove fire resistance from the player
- remove speed from the player
- wait 1 tick
- set {PlayerOfiline::%player%} to false
- set {UseiSkillMineração::%player%} to false
- set {UseiSkillEspada::%player%} to false
- set {UseiSkillMachado::%player%} to false
- set {SkillEspadaDelayUso::%player%} to now
- wait 4 seconds
- send "&7[&c@&7] &b&l%player% &csua habilidade foi desativada." to player
- variables:
- {SkillMachado/EspadaDANO::%player%} = 0
- {SkillMineracaoBlocosConstruidos.%player%} = 0
- {SkillMineracaoBlocos.%player%} = 0
- {UseiSkillMachado::%player%} = false
- {UseiSkillEspada::%player%} = false
- {UseiSkillMineração::%player%} = false
- {PlayerOfiline::%player%} = false
- {ItemExtra} = true
- {SkillMineracaoXP::%player%} = 0
- {SkillEspadaXP::%player%} = 0
- {SkillMachadoXP::%player%} = 0
- {SkillMineracaoNivel::%player%} = 0
- {SkillEspadaNivel::%player%} = 0
- {SkillMachadoNivel::%player%} = 0
- # #! CREDITOS >.< DEICHA PQ VOCÊ É UM BOM MENINO !# #
- on script load:
- send "&f=========================" to console
- send " &bDynamic &eSkripts " to console
- send " &5&lSkills " to console
- send " &e&lversao 1.5 " to console
- send "&f=========================" to console
- command /DCSkills:
- trigger:
- send "&2» &bDynamic &eSkripts&f//&5Skills&f//&eversão 1.5&f//&dAutor: Epiic/Junior"
Advertisement
Add Comment
Please, Sign In to add comment