grantygames

Untitled

May 24th, 2015
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. command /predador [<text>]:
  2. trigger:
  3. if arg 1 is "sentrada":
  4. if player is op:
  5. set {p.entrada} to player's location
  6. send "TU E GAY MLK"
  7. if arg 1 is "ssaida":
  8. if player is op:
  9. set {p.saida} to player's location
  10. send "TU E GAY MLK"
  11. if arg 1 is "swither":
  12. if player is op:
  13. set {p.wither} to player's location
  14. send "TU E GAY MLK"
  15. if arg 1 is "iniciar":
  16. if player is op:
  17. set {p.ev} to 1
  18. broadcast "&0&l[Predador]&a&lEvento rolando /pedrador entrar"
  19. wait 1 second
  20. broadcast "&0&l[Predador]&a&lEvento rolando /pedrador entrar"
  21. wait 1 second
  22. broadcast "&0&l[Predador]&a&lEvento rolando /pedrador entrar"
  23. wait 1 second
  24. broadcast "&0&l[Predador]&a&lEvento rolando /pedrador entrar"
  25. wait 1 second
  26. wait 10 second
  27. spawn 1 wither at {p.wither}
  28. teleport {p.p::*} to {p.entrada}
  29. broadcast "&0&l[Predador]&a&lMate o wither ganhe tag &0&l[Predador]"
  30. stop
  31. if arg 1 is "entrar":
  32. if {p.ev} is 1:
  33. add player to {p.p::*}
  34. send "&a&lVoce sera teleportado assim que o evento iniciar."
  35. 1 is arg 1 "sair":
  36. if {p.ev} is 1:
  37. remove player from {p.p::*}
  38. teleport player to {p.saida}
  39. send "&c&lSaiu"
  40.  
  41. on death of wither:
  42. if {p.ev} is 1:
  43. set tag of attacker replacer "predador" to "&0&l[Predador]&r"
  44. broadcast "&c&l%attacker%&a&l ganhou a tag &0&l[Predador]"
  45. set {p.ev} to 0
  46. teleport {p.p::*} to {p.saida}
  47. wait 2 tick
  48. clear {p.p::*}
Advertisement
Add Comment
Please, Sign In to add comment