Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /machado:
- permission: machado.usar
- trigger:
- give 1 diamond axe named "&b&lMachado de Odin" to player
- send "&aVoce pegou um machado!"
- on rightclick with diamond axe on a entity:
- name of tool of player contains "&b&lMachado de Odin"
- cancel event
- set {_tempo} to difference between {machadoodin.%player%} and now
- if {_tempo} is less than 1.0 seconds:
- stop
- set {machadoodin.%player%} to now
- player has 1 arrow:
- shoot a arrow at speed 5
- remove 1 arrow from player
- ignite clicked entity
- stop
- else:
- message "&cVoce precisa de uma flecha"
- stop
Advertisement
Add Comment
Please, Sign In to add comment