tsutitire2

Untitled

Jun 9th, 2020
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. Variables:
  2. {%player%.rank} = 0
  3. {%player%.killc} = 0
  4. {%player%.rkc} = 0
  5. {%player%.kns} = 0
  6. {%player%.kc} = 0
  7. {%player%.dc} = 0
  8. on death:
  9. send subtitle "&7&l%victim%を倒した" to the attacker
  10. message "&7&l%attacker%に倒された。" to the victim
  11. on damage:
  12. damage cause is fall
  13. cancel event
  14. send "You droped from high place!"
  15. on death:
  16. victim is a player:
  17. attacker is a player:
  18. give a dirt of flame 100 to attacker
  19. loop {%attacker%.rank} times:
  20. give a dirt of flame 100 to attacker
  21. set {%player%.killc} to 0
  22. set {%attacker%.rkc} to {%attacker%.rkc} + 1
  23. set {%victim%.rkc} to 0
  24. set death message to "&c%attacker% + %attacker's tool's name% &5=> &b%victim% &7(%distance between attacker and victim%m) Consecutive kills: %{%attacker%.rkc}%"
  25. set {%attacker%.kc} to {%attacker%.kc} + 1
  26. execute console command "/effect %victim% instant_health 1 2"
  27. set {%victim%.dc} to {%victim%.dc} + 1
  28. #VIP-1
  29. #SVIP-2
  30. #UVIP-3
  31. #GVIP-4
  32. #TVIP-5
  33. command /setrank <player> <int>:
  34. permission: skript.admin
  35. trigger:
  36. set {%arg 1%.rank} to arg 2
  37. message "set %{%arg 1%.rank}% to %arg 2%"
  38. command /myrank <player>:
  39. trigger:
  40. message "%arg 1%'s rank value is %{%arg 1%.rank}%"
  41. On death:
  42. if attacker is player:
  43. broadcast "%{%attacker%.rank}%"
  44. if victim is player:
  45. broadcast "%{%attacker%.rank}%"
  46. give a dirt of flame 100 to attacker
  47. loop {%attacker%.rank} times:
  48. broadcast "%{%attacker%.rank}%"
  49. give a dirt of flame 100 to attacker
  50. if {%attacker%.rkc} is more than 10:
  51. set {%attacker%.kns} to {%attacker%.rkc} / 3
  52. broadcast "%attacker% さんに懸賞金がかかりました!現在の懸賞額は %{%attacker%.kns}%"
  53. if {%victim%.rkc} is more than 10:
  54. loop {%victim%.kns} times:
  55. give a dirt of flame 100 to attacker
  56. command /kd <player>:
  57. trigger:
  58. set {_%player%.kd} to {%arg 1%.kc} / {%arg 1%.dc}
  59. message "%arg 1%'s killcoount/deathcount/K:D is %{%arg 1%.kc}% / %{%arg 1%.dc}% / %{_%player%.kd}%"
Add Comment
Please, Sign In to add comment