Advertisement
Guest User

zFF

a guest
Nov 28th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. command /ff [<player>]:
  2. permission: ff.use
  3. permission message: &cVoce nao tem permissao
  4. trigger:
  5. if arg 1 is set:
  6. set {ff.list.%arg 1%} to true
  7. send "&aAguarde"
  8. spawn 5 bat at arg 1
  9. set name of last spawned bats to "&cFF"
  10. wait 5 seconds
  11. send "&cHitou: &f%{ff.%arg 1%}% &cVezes"
  12. send "&cMatou: &f%{matou.%arg 1%}%/5 &cMorcegos"
  13. kill all bats
  14. set {ff.list.%arg 1%} to false
  15. clear {ff.%arg 1%}
  16. clear {matou.%arg 1%}
  17. else:
  18. send "&aDigite o nome do player!"
  19. on damage:
  20. if {ff.list.%attacker%} is true:
  21. if attacker is a player:
  22. if victim is a bat:
  23. add 1 to {ff.%attacker%}
  24.  
  25.  
  26. on death:
  27. if attacker is a player:
  28. if victim is a bat:
  29. if {ff.list.%attacker%} is true:
  30. add 1 to {matou.%attacker%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement