Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ------------------------------------------------------------------------ #
- # #
- # ESTE SCRIPT FOI TOTALMENTE DESENVOLVIDO POR: yMarcosMC e CeCelo #
- # #
- # ------------------------------------------------------------------------ #
- # Alguma coisa que você editar errada pode gerar erros, então qualquer erro que acontecer me contacte #
- # Skype: live:marcosvinicius01234_1
- # Comandos:
- # /darespeciais <jogador> <nome no item>
- # /iespeciais <jogador> <nome no item>
- # Permissões:
- # itens.admin [Para poder pegar o item]
- # Addons necessarios:
- # SkRayFall
- # SkQuery
- # Skript (É claro!)
- on script load:
- send "&5[ItensEspecias] &dScript by yMarcosMC e CeCelo &a[ATIVADO]" to console
- send "&5[ItensEspecias] &dVersao 1.0" to console
- on script unload:
- send "&5[ItensEspecias] &dScript by yMarcosMC e CeCelo &c[DESATIVADO]" to console
- send "&5[ItensEspecias] &dVersao 1.0" to console
- variables:
- escudo = 0
- rapidinho = 0
- command /darespeciais [<player>] [<text>]:
- aliases: iespeciais
- trigger:
- if player has permission "itens.admin":
- if arg 1 is player:
- if arg 1 is online:
- if arg 1 is set:
- if arg 2 is "lancador":
- give firework rocket named "&eLancador" with lore "&eUsando este item ele irá levar para cima!" to arg 1
- set action bar of arg 1 to "&e * Voce recebeu 1 &6Lancador(es)&e."
- stop
- if arg 2 is "rapidinho":
- give 1 bottle o' enchanting named "&2Rapidinho" with lore "&e * Use este item para poder escavar mais rapido!" to arg 1
- set action bar of arg 1 to "&e * Voce recebeu 1 &6Rapidinho(s)&e."
- stop
- if arg 2 is "jetpack":
- give 1 leather chestplate named "&bJetpack" with lore "&e * Use para ir para as alturas!" to arg 1
- set action bar of arg 1 to "&e * Voce recebeu 1 &6Jetpack(s)&e."
- stop
- if arg 2 is "fogo":
- give 1 fire charge named "&cBola de Fogo" with lore "&e * Cause uma grande explosão!" to player
- set action bar of arg 1 to "&e * Voce recebeu 1 &6Bola(s) de fogo&e."
- stop
- if arg 2 is "escudo":
- give 1 paper named "&6Escudo" with lore "&7 * Use este item para Se Proteger" to arg 1
- set action bar of arg 1 to "&e * Voce recebeu 1 &6Escudo&e."
- stop
- else:
- send "" to player
- send " &6* Itens desponiveis no momento." to player
- send " &6* [Fogo - Escudo - Rapidinho - Jatpack]" to player
- send "" to player
- stop
- else:
- send "" to player
- send " &6* Escolha um dos itens especias abaixo." to player
- send " &6* /ItensEspecias <player> <Fogo - Escudo - Rapidinho - Jatpack> " to arg 1
- send "" to player
- stop
- else:
- send "" to player
- send " &6* Jogador off-line, tente novamente." to player
- send " &6* /ItensEspecias <player> <Fogo - Escudo - Rapidinho - Jatpack> " to player
- send "" to player
- stop
- else:
- send "" to player
- send " &6* Escolha um dos itens especias abaixo." to player
- send " &6* /ItensEspecias <player> <Fogo - Escudo - Rapidinho - Jatpack> " to player
- send "" to player
- stop
- else:
- send "&cVocê não tem permissão para executar esse comando." to player
- stop
- on leftclick:
- player is wearing leather chestplate named "&bJetpack"
- thrust player upwards at speed 0.4
- thrust player forwards at speed 0.4
- show mob spawner flames at location of the player
- damage player's chestplate by 1 heart
- on click:
- if player is holding fire charge named "&cBola de Fogo":
- shoot a fireball from the player at speed 1
- remove 1 fire charge named "&cBola de Fogo" from the player
- set action bar of player to "&a * Você usou sua bola de fogo."
- else:
- stop
- on rightclick holding paper:
- tool = paper named "&6Escudo" with lore "&7 * Use este item para Se Proteger":
- if {escudo} is 0:
- set {escudo} to false
- if {escudo} is false:
- set {escudo} to true
- apply health boost 5 to the player for 3 minutes
- remove 1 paper named "&6Escudo" with lore "&7 * Use este item para Se Proteger" from the player
- set action bar of player to "&a * Você ativou seu escudo."
- wait 1 minutes
- set action bar of player to "&a * Você tem mais 2 minuto de escudo."
- wait 1 minutes
- set action bar of player to "&a * Você tem mais 1 minuto de escudo."
- wait 1 minutes
- set {escudo} to false
- set action bar of player to "&a * O seu escudo acabou."
- stop
- if {escudo} is true:
- set {escudo} to false
- set action bar of player to "&aVocê ja esta com o escudo ativo."
- stop
- on rightclick holding bottle o' enchanting:
- tool = bottle o' enchanting named "&2Rapidinho" with lore "&e * Use este item para poder escavar mais rapido!":
- if {rapidinho} is 0:
- set {rapidinho} to false
- if {rapidinho} is false:
- set {rapidinho} to true
- apply haste 4 to the player for 3 minutes
- remove 1 bottle o' enchanting named "&2Rapidinho" with lore "&e * Use este item para poder escavar mais rapido!" from the player
- set action bar of player to "&a * Você usou seu rapidinho."
- wait 1 minutes
- set action bar of player to "&a * Você tem mais 2 minuto de rapidinho."
- wait 1 minutes
- set action bar of player to "&a * Você tem mais 1 minuto de rapidinho."
- wait 1 minutes
- set {rapidinho} to false
- set action bar of player to "&a * O seu rapidinho acabou."
- stop
- if {rapidinho} is true:
- set {rapidinho} to false
- set action bar of player to "&aVocê ja esta com o rapidinho ativo."
- stop
- on damage:
- if {escudo} is true:
- if victim is a player:
- if attacker is a player:
- cancel event
- on right click:
- if tool of player is firework rocket named "&eLancador" with lore "&eUsando este item ele irá levar para cima!":
- cancel event
- remove 1 firework rocket named "&eLancador" with lore "&eUsando este item ele irá levar para cima!" from the player
- push player upward at force 4
- set action bar of player to "&a * Você usou seu lancador."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement