1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved set attacker on player death

Discussion in 'Skript' started by GewoonQuint, Oct 16, 2017.

Thread Status:
Not open for further replies.
  1. GewoonQuint

    GewoonQuint Member

    Joined:
    Oct 15, 2017
    Messages:
    15
    Likes Received:
    0
    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
     
  2. Best Answer:
    Post #2 by joshycoolbro, Oct 16, 2017
  3. joshycoolbro

    joshycoolbro Member

    Joined:
    May 22, 2017
    Messages:
    2
    Likes Received:
    0
    here you go man i think this is what you want should work with default skript
    Code (Skript):
    1.  
    2. On damage:
    3.     if damage cause is lava or fire:
    4.         cancel event
    5.     else if damage cause is burning:
    6.         cancel event
    7.     else:
    8.         stop
    9.  
    10.  
    --- Double Post Merged, Oct 16, 2017, Original Post Date: Oct 16, 2017 ---
    that leaves the burning if want no burning out side of the fire or lava add this i clears it after leaving
    Code (Skript):
    1. on combust:
    2.     cancel event
    3.     wait 1 second
    4.     extinguish the player
    5.  
     
  4. Epicskymi

    Epicskymi Well-Known Member

    Joined:
    Feb 14, 2017
    Messages:
    72
    Likes Received:
    10
    you cant read
     
  5. Vanityra

    Vanityra Member

    Joined:
    Oct 17, 2017
    Messages:
    4
    Likes Received:
    2
    Try explaining to him instead?

    GewoonQuint wants to track the killer when a player is killed by a fire. (killer as in, the one who placed the fire)
     
Thread Status:
Not open for further replies.
Loading...