Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Skript Feito Por zTey4i20 #
- # Canal no youtube: zTeyvolzZ PvP #
- # Skype: anony.killer #
- # Bom uso :) #
- options:
- # Aviso 1 de inicio #
- Avs1: &d[CuboGigante] Iniciando agora o CuboGigante!
- # Aviso a baixo do aviso 1 #
- Avs2: &d[CuboGigante] Para entrar digite: &f/cubogigante entrar&d!
- # Aviso a baixo do aviso 2 #
- Avs3: &d[CuboGigante] &dEste evento é com risco de morte &2ON
- # Aviso a baixo do aviso 3 #
- Avs4: &d[CuboGigante] &dFechando teleporte para o evento em 2 minutos!
- # Aviso De 1 minuto #
- Avs5: &d[CuboGigante] &dFechando teleporte para o evento em 1 minuto!
- # Aviso De CuboGigante iniciado #
- Avs6: &d[CuboGigante] EVENTO INICIADO!
- # Nome da region que ativará pvp ! #
- region: cubo
- # Permissão para abrir o evento #
- Permission: cubogigante.iniciar
- # Permissão para setar entrada do evento #
- Permission2: cuboset.admin
- # Area para poder minerar #
- AreaBuild: cubobuild
- command /cubo [<text>]:
- trigger:
- if arg 1 is "setentrada":
- if player has permission "{@Permission2}":
- set {cubo.gigante} to location of player
- send "&aEntrada setada com sucesso."
- stop
- if arg 1 is "setsaida":
- if player has permission "{@Permission2}":
- set {cubo.saida} to location of player
- send "&aSaída setada com sucesso."
- stop
- if arg 1 is "iniciar":
- if player has permission "{@Permission2}":
- if {cubo.iniciado} is true:
- send "&cCubo Gigante já foi iniciado."
- stop
- else:
- set {cubo.iniciado} to true
- broadcast "{@Avs1}"
- broadcast "{@Avs2}"
- broadcast "{@Avs3}"
- broadcast "{@Avs4}"
- wait 60 seconds
- broadcast "{@Avs1}"
- broadcast "{@Avs2}"
- broadcast "{@Avs3}"
- broadcast "{@Avs5}"
- wait 60 seconds
- broadcast "{@Avs6}"
- broadcast "{@Avs6}"
- broadcast "{@Avs6}"
- make player execute command "/rg flag {@region} pvp allow"
- make player execute command "/rg flag {@AreaBuild} build allow"
- stop
- if arg 1 is "finalizar":
- if player has permission "{@Permission2}":
- if {cubo.iniciado} is true:
- set {cubo.iniciado} to false
- teleport {cubo.jaestou::*} to {cubo.saida}
- remove player from {cubo.jaestou::*}
- make console execute command "/mrl reset CuboGigante"
- broadcast "&d[CuboGigante] EVENTO FINALIZADO!"
- broadcast "&d[CuboGigante] Continue com um bom jogo :)"
- stop
- else:
- if {cubo.iniciado} is false:
- send "&cCubo Gigante não foi iniciado."
- stop
- command /cubogigante [<text>]:
- trigger:
- if arg 1 is "entrar":
- if {cubo.iniciado} is true:
- if {cubo.jaestou.%player%} is not set:
- add player to {cubo.jaestou.%player%}
- teleport player to {cubo.gigante}
- send "&aVocê entrou no Cubo Gigante."
- else:
- send "&cVocê já está no evento Cubo Gigante."
- stop
- else:
- send "&cCubo Gigante não foi iniciado."
- stop
- if arg 1 is "sair":
- if {cubo.iniciado} is true:
- if {cubo.jaestou.%player%} is set:
- remove player from {cubo.jaestou.%player%}
- teleport player to {cubo.saida}
- send "&aVocê saiu do Cubo Gigante."
- stop
- else:
- send "&cVocê não está no evento Cubo Gigante."
- stop
- else:
- send "&cCubo Gigante não foi iniciado."
- stop
- if arg 1 is "comandos":
- if player has permission "{@Permission2}":
- send "&b/cubo setentrada &7>> Setar arena do cubo."
- send "&b/cubo setsaida &7>> Setar saída da arena cubo."
- send "&b/cubo iniciar &7>> Iniciar o evento cubo."
- send "&b/cubo finalizar &7>> Finalizar evento cubo."
- send "&b/cubo entrar &7>> Entrar no cubo."
- send "&b/cubo sair &7>> Sair do cubo."
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement