grantygames

Untitled

Jul 26th, 2015
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Skript Feito Por zTey4i20 #
  2. # Canal no youtube: zTeyvolzZ PvP #
  3. # Skype: anony.killer #
  4. # Bom uso :) #
  5.  
  6. options:
  7. # Aviso 1 de inicio #
  8. Avs1: &d[CuboGigante] Iniciando agora o CuboGigante!
  9. # Aviso a baixo do aviso 1 #
  10. Avs2: &d[CuboGigante] Para entrar digite: &f/cubogigante entrar&d!
  11. # Aviso a baixo do aviso 2 #
  12. Avs3: &d[CuboGigante] &dEste evento é com risco de morte &2ON
  13. # Aviso a baixo do aviso 3 #
  14. Avs4: &d[CuboGigante] &dFechando teleporte para o evento em 2 minutos!
  15. # Aviso De 1 minuto #
  16. Avs5: &d[CuboGigante] &dFechando teleporte para o evento em 1 minuto!
  17. # Aviso De CuboGigante iniciado #
  18. Avs6: &d[CuboGigante] EVENTO INICIADO!
  19. # Nome da region que ativará pvp ! #
  20. region: cubo
  21. # Permissão para abrir o evento #
  22. Permission: cubogigante.iniciar
  23. # Permissão para setar entrada do evento #
  24. Permission2: cuboset.admin
  25. # Area para poder minerar #
  26. AreaBuild: cubobuild
  27.  
  28. command /cubo [<text>]:
  29. trigger:
  30. if arg 1 is "setentrada":
  31. if player has permission "{@Permission2}":
  32. set {cubo.gigante} to location of player
  33. send "&aEntrada setada com sucesso."
  34. stop
  35. if arg 1 is "setsaida":
  36. if player has permission "{@Permission2}":
  37. set {cubo.saida} to location of player
  38. send "&aSaída setada com sucesso."
  39. stop
  40. if arg 1 is "iniciar":
  41. if player has permission "{@Permission2}":
  42. if {cubo.iniciado} is true:
  43. send "&cCubo Gigante já foi iniciado."
  44. stop
  45. else:
  46. set {cubo.iniciado} to true
  47. broadcast "{@Avs1}"
  48. broadcast "{@Avs2}"
  49. broadcast "{@Avs3}"
  50. broadcast "{@Avs4}"
  51. wait 60 seconds
  52. broadcast "{@Avs1}"
  53. broadcast "{@Avs2}"
  54. broadcast "{@Avs3}"
  55. broadcast "{@Avs5}"
  56. wait 60 seconds
  57. broadcast "{@Avs6}"
  58. broadcast "{@Avs6}"
  59. broadcast "{@Avs6}"
  60. make player execute command "/rg flag {@region} pvp allow"
  61. make player execute command "/rg flag {@AreaBuild} build allow"
  62. set {cubo.iniciado} to false
  63. stop
  64. if arg 1 is "finalizar":
  65. if player has permission "{@Permission2}":
  66. if {cubo.iniciado} is true:
  67. set {cubo.iniciado} to false
  68. teleport {cubo.jaestou::*} to {cubo.saida}
  69. remove player from {cubo.jaestou::*}
  70. make console execute command "/mrl reset CuboGigante"
  71. make player execute command "/rg flag {@region} pvp deny"
  72. make player execute command "/rg flag {@AreaBuild} build deny"
  73. broadcast "&d[CuboGigante] EVENTO FINALIZADO!"
  74. broadcast "&d[CuboGigante] Continue com um bom jogo :)"
  75. stop
  76. else:
  77. if {cubo.iniciado} is false:
  78. send "&cCubo Gigante não foi iniciado."
  79. stop
  80.  
  81. command /cubogigante [<text>]:
  82. trigger:
  83. if arg 1 is "entrar":
  84. if {cubo.iniciado} is true:
  85. if {cubo.jaestou.%player%} is not set:
  86. add player to {cubo.jaestou.%player%}
  87. teleport player to {cubo.gigante}
  88. send "&aVocê entrou no Cubo Gigante."
  89. else:
  90. send "&cVocê já está no evento Cubo Gigante."
  91. stop
  92. else:
  93. send "&cCubo Gigante não foi iniciado."
  94. stop
  95. if arg 1 is "sair":
  96. if {cubo.iniciado} is true:
  97. if {cubo.jaestou.%player%} is set:
  98. remove player from {cubo.jaestou.%player%}
  99. teleport player to {cubo.saida}
  100. send "&aVocê saiu do Cubo Gigante."
  101. stop
  102. else:
  103. send "&cVocê não está no evento Cubo Gigante."
  104. stop
  105. else:
  106. send "&cCubo Gigante não foi iniciado."
  107. stop
  108. if arg 1 is "comandos":
  109. if player has permission "{@Permission2}":
  110. send "&b/cubo setentrada &7>> Setar arena do cubo."
  111. send "&b/cubo setsaida &7>> Setar saída da arena cubo."
  112. send "&b/cubo iniciar &7>> Iniciar o evento cubo."
  113. send "&b/cubo finalizar &7>> Finalizar evento cubo."
  114. send "&b/cubo entrar &7>> Entrar no cubo."
  115. send "&b/cubo sair &7>> Sair do cubo."
  116. stop
Advertisement
Add Comment
Please, Sign In to add comment