Help with death by fall

  • 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 community!

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

KAVKAZIE

Active Member
Feb 27, 2017
146
0
16
Hey, If i knock a player to death im not getting the event.
Example:
code_language.skript:
on death:
    weapon of attacker is a sword
    victim is player
    set lore of attacker's tool to "%lore of attacker's tool%||&e%attacker% &bkilled &e%name of victim%!"
Thanks for helping.
 
Hey, If i knock a player to death im not getting the event.
Example:
code_language.skript:
on death:
    victim is a player
    if {last.%victim%} is set:
        set the death message to "&c%victim% &was killed by &c%{last.%victim%}%!"
        set lore of attacker's tool to "%lore of attacker's tool%||&e%attacker% &bkilled &e%name of victim%!"
        delete {last.%victim%}
    else:
        set the death message to "&c%victim% &6died"
      
on damage:
    victim is a player
    set {last.%victim%} to attacker
    set {test.last.%victim%} to attacker
    wait 8 seconds
    {last.%victim%} is equal to {test.last.%victim%}
    delete {last.%victim%}
    delete {test.last.%victim%}
"
Thanks for helping.