mundo_gameplay

CUUUUUUUUU

Mar 27th, 2017
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. command /setrankup:
  2. permission: *
  3. trigger:
  4. spawn 1 Witch at location of player
  5. set name of last spawned entity to "&5&lRankup"
  6. apply slowness 255 to last spawned entity for 999 days
  7. set {rankupnpc} to location of player
  8.  
  9.  
  10. command /matartankup:
  11. permission: op
  12. trigger:
  13. loop all entities:
  14. name of loop-entity contains "&5&lRankup"
  15. kill loop-entity
  16.  
  17.  
  18. every 5 minutes:
  19. loop all entities:
  20. name of loop-entity contains "&5&lRankup"
  21. teleport loop-entity to {rankupnpc}
  22.  
  23. on damage:
  24. if name of victim contains "Rankup":
  25. cancel event
  26. else:
  27. stop
  28.  
  29. on right click on entity:
  30. name of clicked entity contains "Rankup"
  31. cancel event
  32. make player execute command "/asfasfasgsdga"
  33.  
  34.  
  35. command /asfasfasgsdga:
  36. trigger:
  37. set {usando.rankup.%player%} to player
  38. wait 1 tick
  39. open chest with 1 row named "&5&lRankup" to player
  40. format slot 0 of player with a light green wool named "&aConfirmar" with lore "&aClique aqui para &2CONFIRMAR" to run [make player execute command "rankup"]
  41. format slot 1 of player with a Red Wool named "&4Cancelar" with lore "&cClique aqui para &4CANCELAR" to run [make player execute command "asfasdg"]
  42. wait 30 seconds
  43. delete {usando.rankup.%player%}
  44. close player's inventory
  45. command /asfasdg:
  46. trigger:
  47. delete {usando.rankup.%player%}
  48. close player's inventory
  49.  
  50. on command "/rankup":
  51. if {usando.rankup.%player%} is set:
  52. delete {usando.rankup.%player%}
  53. close player's inventory
  54. stop
  55. else:
  56. cancel event
  57. make console execute command "/warp rankup %player%"
Advertisement
Add Comment
Please, Sign In to add comment