Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click on entity:
- name of clicked entity contains "Rankup"
- cancel event
- set {usando.rankup.%player%} to player
- wait 1 tick
- open chest with 3 row named "&5&lRankup" to player
- 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"]
- 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"]
- format slot 15 of player with a Red Wool named "&4Cancelar" with lore "&7Clique para fechar." to run [make player execute command "asfasdg"]
- format slot 26 of player with a Book named "&6Ranks" with lore "&7Lista dos ranks." to run [make player execute command "ranks"]
- wait 30 seconds
- delete {usando.rankup.%player%}
- close player's inventory
- command /asfasdg:
- trigger:
- delete {usando.rankup.%player%}
- close player's inventory
- on command "/rankup":
- if {usando.rankup.%player%} is set:
- delete {usando.rankup.%player%}
- close player's inventory
- stop
- else:
- cancel event
- make console execute command "/warp rankup %player%"
- on command "/ranks":
- if {usando.rankup.%player%} is set:
- delete {usando.rankup.%player%}
- close player's inventory
- stop
- else:
- cancel event
- make console execute command "/warp rankup %player%"
Advertisement
Add Comment
Please, Sign In to add comment