Advertisement
kazuken0814

Untitled

Nov 6th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. on death of player:
  2. wait a tick
  3. broadcast "&7[&c%attacker%&7]&c>>>&7[&8%attacker's tool%&7]&c>>>&7[&a%victim%&7]"
  4. wait 2 tick
  5. execute console command "/particle crit %victim's location% 0.2 0.8 0.2 600"
  6. wait a tick
  7. teleport victim to attacker
  8. wait a tick
  9. set victim's gamemode to spectator
  10. wait 5 second
  11. teleport victim to world's spawn point
  12. wait a tick
  13. set victim's gamemode to adventure
  14. on death of player:
  15. attacker is player
  16. give attacker emerald named "&cKILL" with lore "kill報酬"
  17. command /status [<player>]:
  18. trigger:
  19. if arg 1 is not set:
  20. message "&cKILL :%{killstats::%player%}%"
  21. message "&aDeath :%{deathstats::%player%}%"
  22. if arg 1 is player:
  23. message "&cKILL: %{killstats::%arg 1%}%"
  24. message "&aDeath :%{deathstats::%arg 1%}%"
  25. on death of player:
  26. attacker is player
  27. add 1 to {killstats::%attacker%}
  28. victim is player
  29. add 1 to {deathstats::%victim%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement