Display Holograms under Name Tag

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

TenToTu Sho

Member
Dec 30, 2019
20
2
3
23
I have Skript with SkRayFall (also SkQuery) and I have HolographicDisplays, but this effect cannot be recognized.
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!"
 
Status
Not open for further replies.