hi man why not work.
but not send error
but not send error
code_language.skript:
on death:
attacker is a player:
victim is a {@Mob}:
if {allow.mobkill.%attacker%.1} is true:
add 1 to {mobkill.%attacker%.1}
if {acnotif.%attacker%} is true:
message "{@Prefix} &aMob Kill %{mobkill.%attacker%.1}%&7/&a{@MobsKill1}" to attacker
if {mobkill.%attacker%.1} is greater than or equal to {@MobsKill1}:
message "{@Prefix} &aAchievement Mob Kill I Sukses!" to attacker
set {allow.mobkill.%attacker%.1} to false
set {allow.mobkill.%attacker%.2} to true
set {status.mobkill.%attacker%.1} to "Complete..."
set {status.mobkill.%attacker%.2} to "Running..."
wait 50 tick
# --- INPUT YOUR REWARD HERE
#play "FIREWORK_LAUNCH" only to attacker with pitch 1 and volume 1
#play "FIREWORK_LARGE_BLAST" only to attacker with pitch 1 and volume 1
#play "FIREWORK_TWINKLE" only to attacker with pitch 1 and volume 1
add 2 to attacker's health
#add {@MobsReward1} to attacker's balance
message "{@Prefix} &aMendapat ${@MobsReward1}!" to attacker
message "{@Prefix} &aAchievement Mob Kill II telah terbuka!" to attacker
stop