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.

Message of fell from the world

Discussion in 'Skript' started by christianmv84, Dec 26, 2017.

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

    christianmv84 Active Member

    Joined:
    Jul 20, 2017
    Messages:
    50
    Likes Received:
    0
    How can I edit the Message of fell out of the world
     
  2. Selvati

    Selvati Active Member

    Joined:
    Jun 26, 2017
    Messages:
    190
    Likes Received:
    9
    Code (Skript):
    1. on death of player:
    2.     broadcast "%damage cause%"
    You can use this to find out the damage cause name for making more death messages.
    You want this.

    Code (Skript):
    1. on death of player:
    2.     set the death message to ""
    3.     if damage cause is void:
    4.         broadcast "&e%player% &cfell in the void"
     
  3. PotatoGoesMoo

    PotatoGoesMoo Member

    Joined:
    Sep 1, 2017
    Messages:
    20
    Likes Received:
    0
    This:
    Code (Skript):
    1. on death:
    2.     if damage was caused by void:
    3.         set the death message to "Your message here"
     
  4. Selvati

    Selvati Active Member

    Joined:
    Jun 26, 2017
    Messages:
    190
    Likes Received:
    9
    Whoops I mixed up my last two lines, just swap them.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...