code_language.skript:
on damage:
attacker is a player
victim is a player
set {Hitted::%victim%} to attacker
set {Hitted::%attacker%} to victim
wait 15 seconds
delete {Hitted::%victim%}
delete {Hitted::%attacker%}
code_language.skript:
on death:
if damage was caused by void:
victim is a player
if {Hitted::%victim%} is set:
set death message to "&a%victim% &7fue tirado al vacio por &c%{Hitted::%victim%}%"
else:
set death message to "&a%victim% &7se ha tirado al &cvacio"
That supposedly is a hitdelay, with a coldown of 15 seconds, because when I throw someone into the void, the coldown sometimes says that he has thrown himself and others that he has thrown me, and always has the coldown activated, always I shot you before the 15 seconds pass, it must be some bug, it is not deleted or it is not attached correctly
Can anybody help me