Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setrankup:
- permission: *
- trigger:
- spawn 1 Witch at location of player
- set name of last spawned entity to "&5&lRankup"
- apply slowness 255 to last spawned entity for 999 days
- set {rankupnpc} to location of player
- command /matartankup:
- permission: op
- trigger:
- loop all entities:
- name of loop-entity contains "&5&lRankup"
- kill loop-entity
- every 5 minutes:
- loop all entities:
- name of loop-entity contains "&5&lRankup"
- teleport loop-entity to {rankupnpc}
- on damage:
- if name of victim contains "Rankup":
- cancel event
- else:
- stop
- on right click on entity:
- name of clicked entity contains "Rankup"
- cancel event
- make player execute command "/asfasfasgsdga"
- command /asfasfasgsdga:
- trigger:
- set {usando.rankup.%player%} to player
- wait 1 tick
- open chest with 1 row named "&5&lRankup" to player
- 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"]
- format slot 1 of player with a Red Wool named "&4Cancelar" with lore "&cClique aqui para &4CANCELAR" to run [make player execute command "asfasdg"]
- 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%"
Advertisement
Add Comment
Please, Sign In to add comment