mundo_gameplay

Untitled

Mar 28th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. on right click on entity:
  2. name of clicked entity contains "Rankup"
  3. cancel event
  4. set {usando.rankup.%player%} to player
  5. wait 1 tick
  6. open chest with 3 row named "&5&lRankup" to player
  7. format slot 11 of player with a light green wool named "&aConfirmar" with lore "&7Clique aqui para evoluir" to run [make player execute command "rankup"]
  8. format slot 13 of player with a Paper named "&aInformações" with lore "&2Money: &f%balance of the player%" to run [make player execute command "asfasdg"]
  9. format slot 15 of player with a Red Wool named "&4Cancelar" with lore "&7Clique para fechar." to run [make player execute command "asfasdg"]
  10. format slot 26 of player with a Book named "&6Ranks" with lore "&7Lista dos ranks." to run [make player execute command "ranks"]
  11. wait 30 seconds
  12. delete {usando.rankup.%player%}
  13. close player's inventory
  14.  
  15.  
  16. command /asfasdg:
  17. trigger:
  18. delete {usando.rankup.%player%}
  19. close player's inventory
  20.  
  21. on command "/rankup":
  22. if {usando.rankup.%player%} is set:
  23. delete {usando.rankup.%player%}
  24. close player's inventory
  25. stop
  26. else:
  27. cancel event
  28. make console execute command "/warp rankup %player%"
  29. on command "/ranks":
  30. if {usando.rankup.%player%} is set:
  31. delete {usando.rankup.%player%}
  32. close player's inventory
  33. stop
  34. else:
  35. cancel event
  36. make console execute command "/warp rankup %player%"
Advertisement
Add Comment
Please, Sign In to add comment