Solved On Kill?

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

JackyBoy

Member
Feb 4, 2017
104
1
18
Hey there! I have been looking around on a few websites for this yet I am unable to find it, I was wondering if there was a way to send the player who killed a player a messages so if Bob kills Fred Bob would get a message saying that he had killed Fred?
 
code_language.skript:
on death:
    victim is a player
    damager is a player
    send "You've killed %victim%!"
 
Thanks! But when someone is killed there is no message being sent.
 
Oops,
send "You've killed %victim%" to damager

Forgot it :emoji_grinning:
 
It works! Thank you :emoji_slight_smile:
[doublepost=1486322072,1486321982][/doublepost]Do you know if there is any way to add it so that the killer also gets coins so it runs eco give?
 
add %amount% to damager's balance

Vault is required.
 
Status
Not open for further replies.