I have Skript with SkRayFall (also SkQuery) and I have HolographicDisplays, but this effect cannot be recognized.
Full code:
Code:
bind hologram "&f&lImmune" to player for 2 second offset by 0.5, 0.5, 0.5
Full code:
Code:
on death:
if attacker is a player:
apply instant health 20 to attacker for 1 second
set {killheal.immunity.%player%} to "true"
bind hologram "&f&lImmune" to player for 2 second offset by 0.5, 0.5, 0.5
wait 2 seconds
set {killheal.immunity.%player%} to "false"
on damage of a player:
if {killheal.immunity.%victim%} is "true":
send "&f%victim% is immune!"