#I need with my death void script

1 messages · Page 1 of 1 (latest)

low frigate
#

of course it works without the void, that's what your code is doing

vital jungle
#

How do i do that to check or something? It's annoything

low frigate
#

just make the if statement a negative

#

if x isn't set

vital jungle
#

wdym that

low frigate
#

??

#

just use the code I sent

#

make your if statement into a negative

low frigate
#

??

#

you add ONE word.

#

Not whatever you did.

#

LITERALLY THIS

on damage of player:
  attacker is a player
  set {-lastattacker::%uuid of victim%} to uuid of attacker

on death:
    if {-lastattacker::%uuid of victim%} isn't set:
        set  {_attacker} to {-lastattacker::%uuid of victim%}
        add 7 to {coins.%{_attacker}%}
        add 1 to {kills.%{_attacker}%}
        set {_player} to {_attacker} parsed as player
        send "&f+$7 &a+1 kill" to {_player}
        send "&3%victim% &7was consumed by the void" to {_player}
        delete {-lastattacker::%uuid of victim%}
    else:
        send "&f+$14 &a+1 Kill" to attacker
        send "&3%victim% &7has been slained by %attacker%" to attacker
        send "&7You have been slained by &3%attacker%" to victim    
        add 14 to {money::%attacker's uuid%}
        add 1 to {Kills::%attacker's uuid%}
        add 1 to {killstreak::%attacker's uuid%}```
vital jungle
#

It didn't work with void It would be if {-lastattacker::%uuid of victim%} is set: It won't work with void ?

low frigate
#

wait a second

#

your code is so flawed

#

just check the death cause