Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ──────────────────────────────────────── #
- # ● zGEventos ● #
- # - Skript De Eventos Parkour e Corrida #
- # By » zGнσl™ #
- # Crédito: Ghost #
- # #
- # ──────────────────────────────────────── #
- command /setlobby:
- trigger:
- if player has permission "evento.admin":
- send "&6&lEvento &8&l>> &fVocê setou o local de espera do evento."
- set {Evento.lobby} to location of player
- stop
- command /setinicio:
- trigger:
- if player has permission "evento.admin":
- send "&6&lEvento &8&l>> &fVocê setou o local de inicio do evento"
- set {Evento.inicio} to location of player
- stop
- command /setsaida:
- trigger:
- if player has permission "evento.admin":
- set {Evento.saida} to location of player
- send "&6&lEvento &8&l>> &fVocê setou o local de saida do evento."
- stop
- command /parkour:
- trigger:
- if {EventoParkour.Iniciou} is true:
- if {Evento.lobby} is set:
- teleport player to {Evento.lobby}
- send "&6&lEvento &8&l>> &fVocê Entrou No Evento Parkour!"
- add player to {JogadoresParkour::*}
- set the player's gamemode to survival
- add 1 to {JogadoresM::*}
- stop
- else:
- send "&6&lEvento &8&l>> &fAs warps não estão setadas!"
- else:
- send "&6&lEvento &8&l>> &fO Evento parkour não está aberto!"
- command /corrida:
- trigger:
- if {EventoCorrida.Iniciou} is true:
- if {Evento.lobby} is set:
- teleport player to {Evento.lobby}
- send "&6&lEvento &8&l>> &fVocê Entrou No Evento Corrida!"
- add player to {JogadoresCorrida::*}
- set the player's gamemode to survival
- add 1 to {JogadoresM2::*}
- stop
- else:
- send "&6&lEvento &8&l>> &fAs warps não estão setadas!"
- else:
- send "&6&lEvento &8&l>> &fO Evento parkour não está aberto!"
- command /iniciar [<text>]:
- permission: evento.admin
- trigger:
- if arg 1 is not set:
- send "&6&lEvento &8&l>> &fUse /iniciar corrida/parkour."
- stop
- if arg 1 is "corrida":
- if {Evento.lobby} is set:
- if {Evento.inicio} is set:
- if {Evento.saida} is set:
- set {EventoCorrida.Iniciou} to true
- set {Placa.Evento} to true
- set {EventoCorrida.Tp} to true
- broadcast " "
- broadcast "&6&lEvento &8&l>> &fO Evento Corrida Foi Iniciado!"
- broadcast "&6&lEvento &8&l>> &fPara Participar use /corrida"
- broadcast " "
- wait 20 seconds
- broadcast " "
- broadcast "&6&lEvento &8&l>> &fO Evento Corrida Foi Fechado!"
- broadcast " "
- set {EventoCorrida.Iniciou} to false
- wait 10 seconds
- broadcast " "
- broadcast "&6&lEvento &8&l>> &fO Evento Corrida Vai Iniciar em 20 segundos!!"
- broadcast " "
- wait 20 seconds
- if {EventoCorrida.Tp} is true:
- if {JogadoresM2::*} = 5:
- loop {JogadoresCorrida::*}:
- teleport loop-value to {Evento.inicio}
- stop
- else:
- send "&6&lEvento &8&l>> &fAs warps não estão setadas!"
- stop
- else:
- send "&6&lEvento &8&l>> &fAs warps não estão setadas!"
- stop
- else:
- send "&6&lEvento &8&l>> &fAs warps não estão setadas!"
- stop
- if arg 1 is "parkour":
- if {Evento.lobby} is set:
- if {Evento.inicio} is set:
- if {Evento.saida} is set:
- set {EventoParkour.Iniciou} to true
- set {Placa.Evento} to true
- set {EventoParkour.Tp} to true
- broadcast " "
- broadcast "&6&lEvento &8&l>> &fO Evento Parkour Foi Iniciado!"
- broadcast "&6&lEvento &8&l>> &fPara Participar use /parkour"
- broadcast " "
- wait 20 seconds
- broadcast " "
- broadcast "&6&lEvento &8&l>> &fO Evento Parkour Foi Fechado!"
- broadcast " "
- set {EventoParkour.Iniciou} to false
- wait 10 seconds
- broadcast " "
- broadcast "&6&lEvento &8&l>> &fO Evento Parkour Vai Iniciar em 20 segundos!!"
- broadcast " "
- wait 20 seconds
- if {EventoParkour.Tp} is true:
- if {JogadoresM::*} = 5:
- loop {JogadoresParkour::*}:
- teleport loop-value to {Evento.inicio}
- else:
- send "&6&lEvento &8&l>> &fAs warps não estão setadas!"
- stop
- else:
- send "&6&lEvento &8&l>> &fAs warps não estão setadas!"
- stop
- else:
- send "&6&lEvento &8&l>> &fAs warps não estão setadas!"
- stop
- on right click on sign:
- if line 1 is "&6&lParkour":
- if line 2 is "&aVocê Ganhou!":
- if line 3 is "&aCLICKE AQUI!":
- if {Placa.Evento} is true:
- if {Evento.saida} is set:
- broadcast " "
- broadcast "&6&lEvento &8&l>> &fO Player &6%player% &fvenceu o evento Parkour!"
- broadscat " "
- set {Placa.Evento} to false
- stop
- else:
- send "&6&lEvento &8&l>> &fAs warps não estão setadas!"
- stop
- else:
- send "&6&lEvento &8&l>> &fJá tivemos um ganhador!"
- stop
- on right click on sign:
- if line 1 is "&6&lCorrida":
- if line 2 is "&aVocê Ganhou!":
- if line 3 is "&aCLICKE AQUI!":
- if {Placa.Evento} is true:
- if {Evento.saida} is set:
- broadcast " "
- broadcast "&6&lEvento &8&l>> &fO Player &6%player% &fvenceu o evento Corrida!"
- broadscat " "
- set {Placa.Evento} to false
- stop
- else:
- send "&6&lEvento &8&l>> &fAs warps não estão setadas!"
- stop
- else:
- send "&6&lEvento &8&l>> &fJá tivemos um ganhador!"
- stop
- on sign change:
- if line 1 is "Corrida":
- if player has permission "evento.admin":
- set the line 2 to "&aVocê Venceu!"
- set the line 3 to "&aCLICKE AQUI!"
- stop
- on sign change:
- if line 1 is "Parkour":
- if player has permission "evento.admin":
- set the line 2 to "&aVocê Venceu!"
- set the line 3 to "&aCLICKE AQUI!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement