Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Variables:
- {%player%.rank} = 0
- {%player%.killc} = 0
- {%player%.rkc} = 0
- {%player%.kns} = 0
- {%player%.kc} = 0
- {%player%.dc} = 0
- on death:
- send subtitle "&7&l%victim%を倒した" to the attacker
- message "&7&l%attacker%に倒された。" to the victim
- on damage:
- damage cause is fall
- cancel event
- send "You droped from high place!"
- on death:
- victim is a player:
- attacker is a player:
- give a dirt of flame 100 to attacker
- loop {%attacker%.rank} times:
- give a dirt of flame 100 to attacker
- set {%player%.killc} to 0
- set {%attacker%.rkc} to {%attacker%.rkc} + 1
- set {%victim%.rkc} to 0
- 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}%"
- set {%attacker%.kc} to {%attacker%.kc} + 1
- execute console command "/effect %victim% instant_health 1 2"
- set {%victim%.dc} to {%victim%.dc} + 1
- #VIP-1
- #SVIP-2
- #UVIP-3
- #GVIP-4
- #TVIP-5
- command /setrank <player> <int>:
- permission: skript.admin
- trigger:
- set {%arg 1%.rank} to arg 2
- message "set %{%arg 1%.rank}% to %arg 2%"
- command /myrank <player>:
- trigger:
- message "%arg 1%'s rank value is %{%arg 1%.rank}%"
- On death:
- if attacker is player:
- broadcast "%{%attacker%.rank}%"
- if victim is player:
- broadcast "%{%attacker%.rank}%"
- give a dirt of flame 100 to attacker
- loop {%attacker%.rank} times:
- broadcast "%{%attacker%.rank}%"
- give a dirt of flame 100 to attacker
- if {%attacker%.rkc} is more than 10:
- set {%attacker%.kns} to {%attacker%.rkc} / 3
- broadcast "%attacker% さんに懸賞金がかかりました!現在の懸賞額は %{%attacker%.kns}%"
- if {%victim%.rkc} is more than 10:
- loop {%victim%.kns} times:
- give a dirt of flame 100 to attacker
- command /kd <player>:
- trigger:
- set {_%player%.kd} to {%arg 1%.kc} / {%arg 1%.dc}
- 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