I'm trying to make a script that will make it so if i knock a player into the void, they'll die, and it will say in chat knocked the player into the void. But it doesn't work.
What am I doing wrong?
What am I doing wrong?
code_language.skript:
on damage:
if attacker is a player:
set {deadFall.%victim%} to true
wait 3 seconds
delete {deadFall.%victim%}
on death of player:
if damage was caused by void:
if {deadFall.%victim%} is true:
set the death message to "%victim% was knocked into the void by %attacker%"
else:
set the death message to "%victim% died in the void"
Last edited: