Guest User

zCrime - O Script de uma noite de crime

a guest
Nov 21st, 2016
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.53 KB | None | 0 0
  1. command /crime [<text>]:
  2. trigger:
  3. if arg 1 is not set:
  4. if player has permission "crime.admin":
  5. open chest with 3 row named "&b ► Evento Crime (Menu Admin)" to player
  6. wait 5 tick
  7. format slot 0 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  8. format slot 1 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  9. format slot 2 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  10. format slot 3 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  11. format slot 4 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  12. format slot 5 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  13. format slot 6 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  14. format slot 7 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  15. format slot 8 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  16. format slot 9 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  17. format slot 10 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  18. format slot 11 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  19. format slot 12 of player with Wooden Sword named "&b&lItens" with lore "&b&lPegue os itens do evento" to close then run [make player execute command "/crime items"]
  20. format slot 13 of player with Emerald Block named "&a&lIniciar o evento" with lore "&b&lClique e inicie o evento Crime" to close then run [make player execute command "/crime iniciar"]
  21. format slot 14 of player with Redstone Block named "&c&lCancelar o evento" with lore "&b&lClique e cancele o evento Crime" to close then run [make player execute command "/crime cancelar"]
  22. format slot 15 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  23. format slot 16 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  24. format slot 17 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  25. format slot 18 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  26. format slot 19 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  27. format slot 20 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  28. format slot 21 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  29. format slot 22 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  30. format slot 23 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  31. format slot 24 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  32. format slot 25 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  33. format slot 26 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  34. else:
  35. open chest with 3 row named "&b ► Evento Crime" to player
  36. wait 5 tick
  37. format slot 0 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  38. format slot 1 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  39. format slot 2 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  40. format slot 3 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  41. format slot 4 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  42. format slot 5 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  43. format slot 6 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  44. format slot 7 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  45. format slot 8 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  46. format slot 9 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  47. format slot 10 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  48. format slot 11 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  49. format slot 12 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  50. format slot 13 of player with Wooden Sword named "&b&lItens" with lore "&b&lPegue os itens do evento" to close then run [make player execute command "/crime items"]
  51. format slot 14 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  52. format slot 15 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  53. format slot 16 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  54. format slot 17 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  55. format slot 18 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  56. format slot 19 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  57. format slot 20 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  58. format slot 21 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  59. format slot 22 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  60. format slot 23 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  61. format slot 24 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  62. format slot 25 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  63. format slot 26 of player with blue glass pane named "&b&l -" with lore "&b&l -" to be unstealable
  64.  
  65. if arg 1 is "iniciar":
  66. if player has permission "crime.admin":
  67. if {evento.on} is "true":
  68. send "&dEvento ja começou"
  69. else:
  70. set {evento.on} to "true"
  71. broadcast "&0[&fServer&0] &fIsto é uma transmissão official do servidor,a noite de crime começou, qualquer crime é permitido no servidor durante 1 hora (in-game)"
  72. broadcast "&fCrimes como Xingar player, xingar servidor também é permitido"
  73. broadcast "&0[&fServer&0] Ao mata um player você ganhará 10 diamantes"
  74. execute console command "time set 18000"
  75. wait 1 hours
  76. broadcast "&0[&fServer&0]&fA noite de crime acabou, nenhum crime é permitido agora"
  77. set {evento.on} to "false"
  78. if arg 1 is "cancelar":
  79. if player has permission "crime.admin":
  80. set {evento.on} to "false"
  81. broadcast "&c&l ► &cEvento noite de crime cancelado"
  82. if arg 1 is "items":
  83. if {evento.on} is "true":
  84. give 1 Chainmail Helmet named "&c ► Evento CRIME" to player
  85. give 1 Diamond Chestplate named "&c ► Evento CRIME" to player
  86. give 1 Chainmail Leggings named "&c ► Evento CRIME" to player
  87. give 1 Chainmail Boots named "&c ► Evento CRIME" to player
  88. give 1 Diamond Sword named "&c ► Evento CRIME" to player
  89. else:
  90. send "&c&l ►&c O Evento não esta acontecendo (não é possivel pegar os itens)"
  91. stop
  92.  
  93.  
  94.  
  95. on death:
  96. if {evento.on} is "true":
  97. victim is a player
  98. attacker is a player
  99. give 10 diamond to attacker
  100. else:
  101. if {evento.on} is "false":
  102. stop
Advertisement
Add Comment
Please, Sign In to add comment