Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ff [<player>]:
- permission: ff.use
- permission message: &cVoce nao tem permissao
- trigger:
- if arg 1 is set:
- set {ff.list.%arg 1%} to true
- send "&aAguarde"
- spawn 5 bat at arg 1
- set name of last spawned bats to "&cFF"
- wait 5 seconds
- send "&cHitou: &f%{ff.%arg 1%}% &cVezes"
- send "&cMatou: &f%{matou.%arg 1%}%/5 &cMorcegos"
- kill all bats
- set {ff.list.%arg 1%} to false
- clear {ff.%arg 1%}
- clear {matou.%arg 1%}
- else:
- send "&aDigite o nome do player!"
- on damage:
- if {ff.list.%attacker%} is true:
- if attacker is a player:
- if victim is a bat:
- add 1 to {ff.%attacker%}
- on death:
- if attacker is a player:
- if victim is a bat:
- if {ff.list.%attacker%} is true:
- add 1 to {matou.%attacker%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement