Why are these death messages not working?

  • 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.

NeptunePlayz

Member
Apr 23, 2017
13
0
0
36
Code:
on death:
    victim is a player
    if damage was caused by void:
        if {Hitted::%victim%} is set:
            set the death message to "&c&lVOID &c%victim% &7got knocked into the void by &c%{Hitted::%attacker%}%"
            delete {Hitted::%victim%}
        else if {Hitted::%victim%} is not set:
            set the death message to "&c&lVOID &c%victim% &7fell into the void"

on damage:
    set {Hitted::%victim%} to true
    set {Hitted::%attacker%} to "%attacker%"
 
Status
Not open for further replies.