Solved set attacker on player death

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

GewoonQuint

Member
Oct 15, 2017
15
0
0
43
Hey,

I'm making a little duels server, with BuildUHC. If a player dies by fire, or by igniting the player with ignite <argument>, it doesn't count that the player placed the fire.

Sorry for bad English :6
 
here you go man i think this is what you want should work with default skript
code_language.skript:
On damage:
    if damage cause is lava or fire:
        cancel event
    else if damage cause is burning:
        cancel event
    else:
        stop
[doublepost=1508176085,1508175630][/doublepost]that leaves the burning if want no burning out side of the fire or lava add this i clears it after leaving
code_language.skript:
on combust:
    cancel event
    wait 1 second
    extinguish the player
 
here you go man i think this is what you want should work with default skript
code_language.skript:
On damage:
    if damage cause is lava or fire:
        cancel event
    else if damage cause is burning:
        cancel event
    else:
        stop
[doublepost=1508176085,1508175630][/doublepost]that leaves the burning if want no burning out side of the fire or lava add this i clears it after leaving
code_language.skript:
on combust:
    cancel event
    wait 1 second
    extinguish the player
you cant read
 
Status
Not open for further replies.