Multiple deathmessages

  • 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 community!

    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.

Tygo

Member
Jan 8, 2021
3
0
1
Hey,

how to make it like you have multiple deathmessages and everytime when someone dies it will pick one of the deathmessages.
I mean by multiple things like ‘Player1 got smashed by player2’ ‘Player2 sent Player1 back to the lobby’ ‘Player1 was killed by Player2’ etc.

regards,

tygo
 
Code:
on death of player:
    set {_dm} to random integer between 1 and 2
    {_dm} is 1:
        send message "%player% got smashed"
    {_dm} is 2:
        send message "%player% got K.O'D"
this should work.
havent tested it out tho
 
Status
Not open for further replies.