tsutitire2

Untitled

May 8th, 2020
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 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. while {%player%.killc} is less than {%player%.rank} + 1:
  19. give a dirt of flame 100 to attacker
  20. set {%player%.killc} to {%player%.killc} + 1
  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. set {%victim%.dc} to {%victim%.dc} + 1
  27. #VIP-1
  28. #SVIP-2
  29. #UVIP-3
  30. #GVIP-4
  31. #TVIP-5
  32. command /setrank <player> <int>:
  33. permission: skript.admin
  34. trigger:
  35. set {%arg 1%.rank} to arg 2
  36. message "set %{%arg 1%.rank}% to %arg 2%"
  37. command /myrank <player>:
  38. trigger:
  39. message "%arg 1%'s rank value is %{%arg 1%.rank}%"
  40. On death:
  41. if attacker is player:
  42. if victim is player:
  43. give a dirt of flame 100 to attacker
  44. loop {%attacker%.rank} times:
  45. give a dirt of flame 100 to attacker
  46. if {%attacker%.rkc} is more than 10:
  47. set {%attacker%.kns} to {%attacker%.rkc} / 3
  48. broadcast "%attacker% さんに懸賞金がかかりました!現在の懸賞額は %{%attacker%.kns}%"
  49. if {%victim%.rkc} is more than 10:
  50. loop {%victim%.kns} times:
  51. give a dirt of flame 100 to attacker
  52. command /kd <player>:
  53. trigger:
  54. set {_%player%.kd} to {%arg 1%.kc} / {%arg 1%.dc}
  55. 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