On kill item/command.

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

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

StabMePlease

Member
Jun 30, 2019
2
0
0
Hello, I am a server owner and I have recently moved to Skript, So far all of my code has worked.

Since I've had an issue finding a way to give a player a single golden apple when the player gets a kill on another player.

I'd appreciate someones help with this issue, Thanks a bunch! - Lachie
 
Last edited:
I don't normally write code for people, but since its three lines, here you go:
code_language.skript:
on death of a player:
    if attacker is a player:
        give attacker a golden apple
 
Status
Not open for further replies.