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 out 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 on death of custom named entity

Discussion in 'Skript' started by Flajakay, Nov 1, 2018.

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

    Flajakay Active Member

    Joined:
    Jul 29, 2018
    Messages:
    55
    Likes Received:
    1
    Code (Skript):
    1. on death:
    2.     if name of victim is "&cГоловорез":
    3.         broadcast "1"
    But it does not work. What is wrong?
     
  2. XanderWander

    XanderWander Member

    Joined:
    Jan 27, 2017
    Messages:
    71
    Likes Received:
    5
    Can you please show to code of spawning the entity or tell how the entity was spawned?
     
  3. Flajakay

    Flajakay Active Member

    Joined:
    Jul 29, 2018
    Messages:
    55
    Likes Received:
    1
    With the help of MythicMobs.
     
  4. XanderWander

    XanderWander Member

    Joined:
    Jan 27, 2017
    Messages:
    71
    Likes Received:
    5
    Code (Skript):
    1.  
    2. on death:
    3.     if name of victim is "§cГоловорез":
    4.         broadcast "1"
    5.  
    Try this if it doesn't work try this:

    Code (Skript):
    1.  
    2. on death:
    3.     if name of victim contains "Головорез":
    4.         broadcast "1"
    5.  
     
    • Like Like x 1
  5. Flajakay

    Flajakay Active Member

    Joined:
    Jul 29, 2018
    Messages:
    55
    Likes Received:
    1
    Lol. It work. Thanks.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...