Kod:
variables:
{killCooldown::%player%} = 0
{killCount::%player%} = 0
on death:
attacker is a player
victim is a player
if {killCooldown::%attacker%} is greater than now:
send "&cBir sonraki öldürmen için beklemen gerekiyor!" to attacker
cancel event
else:
add 1 to {killCount::%attacker%}
if {killCount::%attacker%} >= 2:
set {killCooldown::%attacker%} to now + 1 minute
set {killCount::%attacker%} to 0
send "&aÖldürme sınırına ulaştın, 1 dakika beklemen gerekiyor!" to attacker
else:
send "&aÖldürdün! Toplam öldürme sayın: %{killCount::%attacker%}%." to attacker
every 1 second:
loop all players:
if {killCooldown::%loop-player%} is less than now:
delete {killCooldown::%loop-player%}